1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874
|
# coding: utf-8
"""
CLOUD API
IONOS Enterprise-grade Infrastructure as a Service (IaaS) solutions can be managed through the Cloud API, in addition or as an alternative to the \"Data Center Designer\" (DCD) browser-based tool. Both methods employ consistent concepts and features, deliver similar power and flexibility, and can be used to perform a multitude of management tasks, including adding servers, volumes, configuring networks, and so on. # noqa: E501
The version of the OpenAPI document: 6.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from ionoscloud.configuration import Configuration
class GroupProperties(object):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""
openapi_types = {
'name': 'str',
'create_data_center': 'bool',
'create_snapshot': 'bool',
'reserve_ip': 'bool',
'access_activity_log': 'bool',
'create_pcc': 'bool',
's3_privilege': 'bool',
'create_backup_unit': 'bool',
'create_internet_access': 'bool',
'create_k8s_cluster': 'bool',
'create_flow_log': 'bool',
'access_and_manage_monitoring': 'bool',
'access_and_manage_certificates': 'bool',
'manage_dbaas': 'bool',
'access_and_manage_dns': 'bool',
'manage_registry': 'bool',
'manage_dataplatform': 'bool',
'access_and_manage_logging': 'bool',
'access_and_manage_cdn': 'bool',
'access_and_manage_vpn': 'bool',
'access_and_manage_api_gateway': 'bool',
'access_and_manage_kaas': 'bool',
'access_and_manage_network_file_storage': 'bool',
'access_and_manage_ai_model_hub': 'bool',
'access_and_manage_iam_resources': 'bool',
'create_network_security_groups': 'bool',
}
attribute_map = {
'name': 'name',
'create_data_center': 'createDataCenter',
'create_snapshot': 'createSnapshot',
'reserve_ip': 'reserveIp',
'access_activity_log': 'accessActivityLog',
'create_pcc': 'createPcc',
's3_privilege': 's3Privilege',
'create_backup_unit': 'createBackupUnit',
'create_internet_access': 'createInternetAccess',
'create_k8s_cluster': 'createK8sCluster',
'create_flow_log': 'createFlowLog',
'access_and_manage_monitoring': 'accessAndManageMonitoring',
'access_and_manage_certificates': 'accessAndManageCertificates',
'manage_dbaas': 'manageDBaaS',
'access_and_manage_dns': 'accessAndManageDns',
'manage_registry': 'manageRegistry',
'manage_dataplatform': 'manageDataplatform',
'access_and_manage_logging': 'accessAndManageLogging',
'access_and_manage_cdn': 'accessAndManageCdn',
'access_and_manage_vpn': 'accessAndManageVpn',
'access_and_manage_api_gateway': 'accessAndManageApiGateway',
'access_and_manage_kaas': 'accessAndManageKaas',
'access_and_manage_network_file_storage': 'accessAndManageNetworkFileStorage',
'access_and_manage_ai_model_hub': 'accessAndManageAiModelHub',
'access_and_manage_iam_resources': 'accessAndManageIamResources',
'create_network_security_groups': 'createNetworkSecurityGroups',
}
def __init__(self, name=None, create_data_center=None, create_snapshot=None, reserve_ip=None, access_activity_log=None, create_pcc=None, s3_privilege=None, create_backup_unit=None, create_internet_access=None, create_k8s_cluster=None, create_flow_log=None, access_and_manage_monitoring=None, access_and_manage_certificates=None, manage_dbaas=None, access_and_manage_dns=None, manage_registry=None, manage_dataplatform=None, access_and_manage_logging=None, access_and_manage_cdn=None, access_and_manage_vpn=None, access_and_manage_api_gateway=None, access_and_manage_kaas=None, access_and_manage_network_file_storage=None, access_and_manage_ai_model_hub=None, access_and_manage_iam_resources=None, create_network_security_groups=None, local_vars_configuration=None): # noqa: E501
"""GroupProperties - a model defined in OpenAPI""" # noqa: E501
if local_vars_configuration is None:
local_vars_configuration = Configuration()
self.local_vars_configuration = local_vars_configuration
self._name = None
self._create_data_center = None
self._create_snapshot = None
self._reserve_ip = None
self._access_activity_log = None
self._create_pcc = None
self._s3_privilege = None
self._create_backup_unit = None
self._create_internet_access = None
self._create_k8s_cluster = None
self._create_flow_log = None
self._access_and_manage_monitoring = None
self._access_and_manage_certificates = None
self._manage_dbaas = None
self._access_and_manage_dns = None
self._manage_registry = None
self._manage_dataplatform = None
self._access_and_manage_logging = None
self._access_and_manage_cdn = None
self._access_and_manage_vpn = None
self._access_and_manage_api_gateway = None
self._access_and_manage_kaas = None
self._access_and_manage_network_file_storage = None
self._access_and_manage_ai_model_hub = None
self._access_and_manage_iam_resources = None
self._create_network_security_groups = None
self.discriminator = None
if name is not None:
self.name = name
if create_data_center is not None:
self.create_data_center = create_data_center
if create_snapshot is not None:
self.create_snapshot = create_snapshot
if reserve_ip is not None:
self.reserve_ip = reserve_ip
if access_activity_log is not None:
self.access_activity_log = access_activity_log
if create_pcc is not None:
self.create_pcc = create_pcc
if s3_privilege is not None:
self.s3_privilege = s3_privilege
if create_backup_unit is not None:
self.create_backup_unit = create_backup_unit
if create_internet_access is not None:
self.create_internet_access = create_internet_access
if create_k8s_cluster is not None:
self.create_k8s_cluster = create_k8s_cluster
if create_flow_log is not None:
self.create_flow_log = create_flow_log
if access_and_manage_monitoring is not None:
self.access_and_manage_monitoring = access_and_manage_monitoring
if access_and_manage_certificates is not None:
self.access_and_manage_certificates = access_and_manage_certificates
if manage_dbaas is not None:
self.manage_dbaas = manage_dbaas
if access_and_manage_dns is not None:
self.access_and_manage_dns = access_and_manage_dns
if manage_registry is not None:
self.manage_registry = manage_registry
if manage_dataplatform is not None:
self.manage_dataplatform = manage_dataplatform
if access_and_manage_logging is not None:
self.access_and_manage_logging = access_and_manage_logging
if access_and_manage_cdn is not None:
self.access_and_manage_cdn = access_and_manage_cdn
if access_and_manage_vpn is not None:
self.access_and_manage_vpn = access_and_manage_vpn
if access_and_manage_api_gateway is not None:
self.access_and_manage_api_gateway = access_and_manage_api_gateway
if access_and_manage_kaas is not None:
self.access_and_manage_kaas = access_and_manage_kaas
if access_and_manage_network_file_storage is not None:
self.access_and_manage_network_file_storage = access_and_manage_network_file_storage
if access_and_manage_ai_model_hub is not None:
self.access_and_manage_ai_model_hub = access_and_manage_ai_model_hub
if access_and_manage_iam_resources is not None:
self.access_and_manage_iam_resources = access_and_manage_iam_resources
if create_network_security_groups is not None:
self.create_network_security_groups = create_network_security_groups
@property
def name(self):
"""Gets the name of this GroupProperties. # noqa: E501
The name of the resource. # noqa: E501
:return: The name of this GroupProperties. # noqa: E501
:rtype: str
"""
return self._name
@name.setter
def name(self, name):
"""Sets the name of this GroupProperties.
The name of the resource. # noqa: E501
:param name: The name of this GroupProperties. # noqa: E501
:type name: str
"""
self._name = name
@property
def create_data_center(self):
"""Gets the create_data_center of this GroupProperties. # noqa: E501
Create data center privilege. # noqa: E501
:return: The create_data_center of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._create_data_center
@create_data_center.setter
def create_data_center(self, create_data_center):
"""Sets the create_data_center of this GroupProperties.
Create data center privilege. # noqa: E501
:param create_data_center: The create_data_center of this GroupProperties. # noqa: E501
:type create_data_center: bool
"""
self._create_data_center = create_data_center
@property
def create_snapshot(self):
"""Gets the create_snapshot of this GroupProperties. # noqa: E501
Create snapshot privilege. # noqa: E501
:return: The create_snapshot of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._create_snapshot
@create_snapshot.setter
def create_snapshot(self, create_snapshot):
"""Sets the create_snapshot of this GroupProperties.
Create snapshot privilege. # noqa: E501
:param create_snapshot: The create_snapshot of this GroupProperties. # noqa: E501
:type create_snapshot: bool
"""
self._create_snapshot = create_snapshot
@property
def reserve_ip(self):
"""Gets the reserve_ip of this GroupProperties. # noqa: E501
Reserve IP block privilege. # noqa: E501
:return: The reserve_ip of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._reserve_ip
@reserve_ip.setter
def reserve_ip(self, reserve_ip):
"""Sets the reserve_ip of this GroupProperties.
Reserve IP block privilege. # noqa: E501
:param reserve_ip: The reserve_ip of this GroupProperties. # noqa: E501
:type reserve_ip: bool
"""
self._reserve_ip = reserve_ip
@property
def access_activity_log(self):
"""Gets the access_activity_log of this GroupProperties. # noqa: E501
Activity log access privilege. # noqa: E501
:return: The access_activity_log of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._access_activity_log
@access_activity_log.setter
def access_activity_log(self, access_activity_log):
"""Sets the access_activity_log of this GroupProperties.
Activity log access privilege. # noqa: E501
:param access_activity_log: The access_activity_log of this GroupProperties. # noqa: E501
:type access_activity_log: bool
"""
self._access_activity_log = access_activity_log
@property
def create_pcc(self):
"""Gets the create_pcc of this GroupProperties. # noqa: E501
User privilege to create a cross connect. # noqa: E501
:return: The create_pcc of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._create_pcc
@create_pcc.setter
def create_pcc(self, create_pcc):
"""Sets the create_pcc of this GroupProperties.
User privilege to create a cross connect. # noqa: E501
:param create_pcc: The create_pcc of this GroupProperties. # noqa: E501
:type create_pcc: bool
"""
self._create_pcc = create_pcc
@property
def s3_privilege(self):
"""Gets the s3_privilege of this GroupProperties. # noqa: E501
S3 privilege. # noqa: E501
:return: The s3_privilege of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._s3_privilege
@s3_privilege.setter
def s3_privilege(self, s3_privilege):
"""Sets the s3_privilege of this GroupProperties.
S3 privilege. # noqa: E501
:param s3_privilege: The s3_privilege of this GroupProperties. # noqa: E501
:type s3_privilege: bool
"""
self._s3_privilege = s3_privilege
@property
def create_backup_unit(self):
"""Gets the create_backup_unit of this GroupProperties. # noqa: E501
Create backup unit privilege. # noqa: E501
:return: The create_backup_unit of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._create_backup_unit
@create_backup_unit.setter
def create_backup_unit(self, create_backup_unit):
"""Sets the create_backup_unit of this GroupProperties.
Create backup unit privilege. # noqa: E501
:param create_backup_unit: The create_backup_unit of this GroupProperties. # noqa: E501
:type create_backup_unit: bool
"""
self._create_backup_unit = create_backup_unit
@property
def create_internet_access(self):
"""Gets the create_internet_access of this GroupProperties. # noqa: E501
Create internet access privilege. # noqa: E501
:return: The create_internet_access of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._create_internet_access
@create_internet_access.setter
def create_internet_access(self, create_internet_access):
"""Sets the create_internet_access of this GroupProperties.
Create internet access privilege. # noqa: E501
:param create_internet_access: The create_internet_access of this GroupProperties. # noqa: E501
:type create_internet_access: bool
"""
self._create_internet_access = create_internet_access
@property
def create_k8s_cluster(self):
"""Gets the create_k8s_cluster of this GroupProperties. # noqa: E501
Create Kubernetes cluster privilege. # noqa: E501
:return: The create_k8s_cluster of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._create_k8s_cluster
@create_k8s_cluster.setter
def create_k8s_cluster(self, create_k8s_cluster):
"""Sets the create_k8s_cluster of this GroupProperties.
Create Kubernetes cluster privilege. # noqa: E501
:param create_k8s_cluster: The create_k8s_cluster of this GroupProperties. # noqa: E501
:type create_k8s_cluster: bool
"""
self._create_k8s_cluster = create_k8s_cluster
@property
def create_flow_log(self):
"""Gets the create_flow_log of this GroupProperties. # noqa: E501
Create Flow Logs privilege. # noqa: E501
:return: The create_flow_log of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._create_flow_log
@create_flow_log.setter
def create_flow_log(self, create_flow_log):
"""Sets the create_flow_log of this GroupProperties.
Create Flow Logs privilege. # noqa: E501
:param create_flow_log: The create_flow_log of this GroupProperties. # noqa: E501
:type create_flow_log: bool
"""
self._create_flow_log = create_flow_log
@property
def access_and_manage_monitoring(self):
"""Gets the access_and_manage_monitoring of this GroupProperties. # noqa: E501
Privilege for a group to access and manage monitoring related functionality (access metrics, CRUD on alarms, alarm-actions etc) using Monotoring-as-a-Service (MaaS). # noqa: E501
:return: The access_and_manage_monitoring of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._access_and_manage_monitoring
@access_and_manage_monitoring.setter
def access_and_manage_monitoring(self, access_and_manage_monitoring):
"""Sets the access_and_manage_monitoring of this GroupProperties.
Privilege for a group to access and manage monitoring related functionality (access metrics, CRUD on alarms, alarm-actions etc) using Monotoring-as-a-Service (MaaS). # noqa: E501
:param access_and_manage_monitoring: The access_and_manage_monitoring of this GroupProperties. # noqa: E501
:type access_and_manage_monitoring: bool
"""
self._access_and_manage_monitoring = access_and_manage_monitoring
@property
def access_and_manage_certificates(self):
"""Gets the access_and_manage_certificates of this GroupProperties. # noqa: E501
Privilege for a group to access and manage certificates. # noqa: E501
:return: The access_and_manage_certificates of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._access_and_manage_certificates
@access_and_manage_certificates.setter
def access_and_manage_certificates(self, access_and_manage_certificates):
"""Sets the access_and_manage_certificates of this GroupProperties.
Privilege for a group to access and manage certificates. # noqa: E501
:param access_and_manage_certificates: The access_and_manage_certificates of this GroupProperties. # noqa: E501
:type access_and_manage_certificates: bool
"""
self._access_and_manage_certificates = access_and_manage_certificates
@property
def manage_dbaas(self):
"""Gets the manage_dbaas of this GroupProperties. # noqa: E501
Privilege for a group to manage DBaaS related functionality. # noqa: E501
:return: The manage_dbaas of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._manage_dbaas
@manage_dbaas.setter
def manage_dbaas(self, manage_dbaas):
"""Sets the manage_dbaas of this GroupProperties.
Privilege for a group to manage DBaaS related functionality. # noqa: E501
:param manage_dbaas: The manage_dbaas of this GroupProperties. # noqa: E501
:type manage_dbaas: bool
"""
self._manage_dbaas = manage_dbaas
@property
def access_and_manage_dns(self):
"""Gets the access_and_manage_dns of this GroupProperties. # noqa: E501
Privilege for a group to access and manage dns records. # noqa: E501
:return: The access_and_manage_dns of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._access_and_manage_dns
@access_and_manage_dns.setter
def access_and_manage_dns(self, access_and_manage_dns):
"""Sets the access_and_manage_dns of this GroupProperties.
Privilege for a group to access and manage dns records. # noqa: E501
:param access_and_manage_dns: The access_and_manage_dns of this GroupProperties. # noqa: E501
:type access_and_manage_dns: bool
"""
self._access_and_manage_dns = access_and_manage_dns
@property
def manage_registry(self):
"""Gets the manage_registry of this GroupProperties. # noqa: E501
Privilege for group accessing container registry related functionality. # noqa: E501
:return: The manage_registry of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._manage_registry
@manage_registry.setter
def manage_registry(self, manage_registry):
"""Sets the manage_registry of this GroupProperties.
Privilege for group accessing container registry related functionality. # noqa: E501
:param manage_registry: The manage_registry of this GroupProperties. # noqa: E501
:type manage_registry: bool
"""
self._manage_registry = manage_registry
@property
def manage_dataplatform(self):
"""Gets the manage_dataplatform of this GroupProperties. # noqa: E501
Privilege for a group to access and manage the Data Platform. # noqa: E501
:return: The manage_dataplatform of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._manage_dataplatform
@manage_dataplatform.setter
def manage_dataplatform(self, manage_dataplatform):
"""Sets the manage_dataplatform of this GroupProperties.
Privilege for a group to access and manage the Data Platform. # noqa: E501
:param manage_dataplatform: The manage_dataplatform of this GroupProperties. # noqa: E501
:type manage_dataplatform: bool
"""
self._manage_dataplatform = manage_dataplatform
@property
def access_and_manage_logging(self):
"""Gets the access_and_manage_logging of this GroupProperties. # noqa: E501
Privilege for a group to access and manage Logs. # noqa: E501
:return: The access_and_manage_logging of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._access_and_manage_logging
@access_and_manage_logging.setter
def access_and_manage_logging(self, access_and_manage_logging):
"""Sets the access_and_manage_logging of this GroupProperties.
Privilege for a group to access and manage Logs. # noqa: E501
:param access_and_manage_logging: The access_and_manage_logging of this GroupProperties. # noqa: E501
:type access_and_manage_logging: bool
"""
self._access_and_manage_logging = access_and_manage_logging
@property
def access_and_manage_cdn(self):
"""Gets the access_and_manage_cdn of this GroupProperties. # noqa: E501
Privilege for a group to access and manage CDN. # noqa: E501
:return: The access_and_manage_cdn of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._access_and_manage_cdn
@access_and_manage_cdn.setter
def access_and_manage_cdn(self, access_and_manage_cdn):
"""Sets the access_and_manage_cdn of this GroupProperties.
Privilege for a group to access and manage CDN. # noqa: E501
:param access_and_manage_cdn: The access_and_manage_cdn of this GroupProperties. # noqa: E501
:type access_and_manage_cdn: bool
"""
self._access_and_manage_cdn = access_and_manage_cdn
@property
def access_and_manage_vpn(self):
"""Gets the access_and_manage_vpn of this GroupProperties. # noqa: E501
Privilege for a group to access and manage VPN. # noqa: E501
:return: The access_and_manage_vpn of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._access_and_manage_vpn
@access_and_manage_vpn.setter
def access_and_manage_vpn(self, access_and_manage_vpn):
"""Sets the access_and_manage_vpn of this GroupProperties.
Privilege for a group to access and manage VPN. # noqa: E501
:param access_and_manage_vpn: The access_and_manage_vpn of this GroupProperties. # noqa: E501
:type access_and_manage_vpn: bool
"""
self._access_and_manage_vpn = access_and_manage_vpn
@property
def access_and_manage_api_gateway(self):
"""Gets the access_and_manage_api_gateway of this GroupProperties. # noqa: E501
Privilege for a group to access and manage API Gateway. # noqa: E501
:return: The access_and_manage_api_gateway of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._access_and_manage_api_gateway
@access_and_manage_api_gateway.setter
def access_and_manage_api_gateway(self, access_and_manage_api_gateway):
"""Sets the access_and_manage_api_gateway of this GroupProperties.
Privilege for a group to access and manage API Gateway. # noqa: E501
:param access_and_manage_api_gateway: The access_and_manage_api_gateway of this GroupProperties. # noqa: E501
:type access_and_manage_api_gateway: bool
"""
self._access_and_manage_api_gateway = access_and_manage_api_gateway
@property
def access_and_manage_kaas(self):
"""Gets the access_and_manage_kaas of this GroupProperties. # noqa: E501
Privilege for a group to access and manage KaaS. # noqa: E501
:return: The access_and_manage_kaas of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._access_and_manage_kaas
@access_and_manage_kaas.setter
def access_and_manage_kaas(self, access_and_manage_kaas):
"""Sets the access_and_manage_kaas of this GroupProperties.
Privilege for a group to access and manage KaaS. # noqa: E501
:param access_and_manage_kaas: The access_and_manage_kaas of this GroupProperties. # noqa: E501
:type access_and_manage_kaas: bool
"""
self._access_and_manage_kaas = access_and_manage_kaas
@property
def access_and_manage_network_file_storage(self):
"""Gets the access_and_manage_network_file_storage of this GroupProperties. # noqa: E501
Privilege for a group to access and manage Network File Storage. # noqa: E501
:return: The access_and_manage_network_file_storage of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._access_and_manage_network_file_storage
@access_and_manage_network_file_storage.setter
def access_and_manage_network_file_storage(self, access_and_manage_network_file_storage):
"""Sets the access_and_manage_network_file_storage of this GroupProperties.
Privilege for a group to access and manage Network File Storage. # noqa: E501
:param access_and_manage_network_file_storage: The access_and_manage_network_file_storage of this GroupProperties. # noqa: E501
:type access_and_manage_network_file_storage: bool
"""
self._access_and_manage_network_file_storage = access_and_manage_network_file_storage
@property
def access_and_manage_ai_model_hub(self):
"""Gets the access_and_manage_ai_model_hub of this GroupProperties. # noqa: E501
Privilege for a group to access and manage AI Model Hub. # noqa: E501
:return: The access_and_manage_ai_model_hub of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._access_and_manage_ai_model_hub
@access_and_manage_ai_model_hub.setter
def access_and_manage_ai_model_hub(self, access_and_manage_ai_model_hub):
"""Sets the access_and_manage_ai_model_hub of this GroupProperties.
Privilege for a group to access and manage AI Model Hub. # noqa: E501
:param access_and_manage_ai_model_hub: The access_and_manage_ai_model_hub of this GroupProperties. # noqa: E501
:type access_and_manage_ai_model_hub: bool
"""
self._access_and_manage_ai_model_hub = access_and_manage_ai_model_hub
@property
def access_and_manage_iam_resources(self):
"""Gets the access_and_manage_iam_resources of this GroupProperties. # noqa: E501
Privilege for a group to access and manage Password Policies. # noqa: E501
:return: The access_and_manage_iam_resources of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._access_and_manage_iam_resources
@access_and_manage_iam_resources.setter
def access_and_manage_iam_resources(self, access_and_manage_iam_resources):
"""Sets the access_and_manage_iam_resources of this GroupProperties.
Privilege for a group to access and manage Password Policies. # noqa: E501
:param access_and_manage_iam_resources: The access_and_manage_iam_resources of this GroupProperties. # noqa: E501
:type access_and_manage_iam_resources: bool
"""
self._access_and_manage_iam_resources = access_and_manage_iam_resources
@property
def create_network_security_groups(self):
"""Gets the create_network_security_groups of this GroupProperties. # noqa: E501
Privilege for a group to access and manage Network Security Groups. # noqa: E501
:return: The create_network_security_groups of this GroupProperties. # noqa: E501
:rtype: bool
"""
return self._create_network_security_groups
@create_network_security_groups.setter
def create_network_security_groups(self, create_network_security_groups):
"""Sets the create_network_security_groups of this GroupProperties.
Privilege for a group to access and manage Network Security Groups. # noqa: E501
:param create_network_security_groups: The create_network_security_groups of this GroupProperties. # noqa: E501
:type create_network_security_groups: bool
"""
self._create_network_security_groups = create_network_security_groups
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.openapi_types):
value = getattr(self, attr)
if isinstance(value, list):
result[attr] = list(map(
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
value
))
elif hasattr(value, "to_dict"):
result[attr] = value.to_dict()
elif isinstance(value, dict):
result[attr] = dict(map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict") else item,
value.items()
))
else:
result[attr] = value
return result
def to_str(self):
"""Returns the string representation of the model"""
return pprint.pformat(self.to_dict())
def __repr__(self):
"""For `print` and `pprint`"""
return self.to_str()
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GroupProperties):
return False
return self.to_dict() == other.to_dict()
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, GroupProperties):
return True
return self.to_dict() != other.to_dict()
|