1# coding: utf-8 2# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. 3# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. 4 5 6from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 7from oci.decorators import init_model_state_from_kwargs 8 9 10@init_model_state_from_kwargs 11class DeploymentUpgradeSummary(object): 12 """ 13 Summary of the Deployment Upgrade. 14 """ 15 16 #: A constant which can be used with the deployment_upgrade_type property of a DeploymentUpgradeSummary. 17 #: This constant has a value of "MANUAL" 18 DEPLOYMENT_UPGRADE_TYPE_MANUAL = "MANUAL" 19 20 #: A constant which can be used with the deployment_upgrade_type property of a DeploymentUpgradeSummary. 21 #: This constant has a value of "AUTOMATIC" 22 DEPLOYMENT_UPGRADE_TYPE_AUTOMATIC = "AUTOMATIC" 23 24 #: A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. 25 #: This constant has a value of "CREATING" 26 LIFECYCLE_STATE_CREATING = "CREATING" 27 28 #: A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. 29 #: This constant has a value of "UPDATING" 30 LIFECYCLE_STATE_UPDATING = "UPDATING" 31 32 #: A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. 33 #: This constant has a value of "ACTIVE" 34 LIFECYCLE_STATE_ACTIVE = "ACTIVE" 35 36 #: A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. 37 #: This constant has a value of "INACTIVE" 38 LIFECYCLE_STATE_INACTIVE = "INACTIVE" 39 40 #: A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. 41 #: This constant has a value of "DELETING" 42 LIFECYCLE_STATE_DELETING = "DELETING" 43 44 #: A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. 45 #: This constant has a value of "DELETED" 46 LIFECYCLE_STATE_DELETED = "DELETED" 47 48 #: A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. 49 #: This constant has a value of "FAILED" 50 LIFECYCLE_STATE_FAILED = "FAILED" 51 52 #: A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. 53 #: This constant has a value of "NEEDS_ATTENTION" 54 LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION" 55 56 #: A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. 57 #: This constant has a value of "IN_PROGRESS" 58 LIFECYCLE_STATE_IN_PROGRESS = "IN_PROGRESS" 59 60 #: A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. 61 #: This constant has a value of "CANCELING" 62 LIFECYCLE_STATE_CANCELING = "CANCELING" 63 64 #: A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. 65 #: This constant has a value of "CANCELED" 66 LIFECYCLE_STATE_CANCELED = "CANCELED" 67 68 #: A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. 69 #: This constant has a value of "SUCCEEDED" 70 LIFECYCLE_STATE_SUCCEEDED = "SUCCEEDED" 71 72 #: A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. 73 #: This constant has a value of "RECOVERING" 74 LIFECYCLE_SUB_STATE_RECOVERING = "RECOVERING" 75 76 #: A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. 77 #: This constant has a value of "STARTING" 78 LIFECYCLE_SUB_STATE_STARTING = "STARTING" 79 80 #: A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. 81 #: This constant has a value of "STOPPING" 82 LIFECYCLE_SUB_STATE_STOPPING = "STOPPING" 83 84 #: A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. 85 #: This constant has a value of "MOVING" 86 LIFECYCLE_SUB_STATE_MOVING = "MOVING" 87 88 #: A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. 89 #: This constant has a value of "UPGRADING" 90 LIFECYCLE_SUB_STATE_UPGRADING = "UPGRADING" 91 92 #: A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. 93 #: This constant has a value of "RESTORING" 94 LIFECYCLE_SUB_STATE_RESTORING = "RESTORING" 95 96 #: A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. 97 #: This constant has a value of "BACKUP_IN_PROGRESS" 98 LIFECYCLE_SUB_STATE_BACKUP_IN_PROGRESS = "BACKUP_IN_PROGRESS" 99 100 def __init__(self, **kwargs): 101 """ 102 Initializes a new DeploymentUpgradeSummary object with values from keyword arguments. 103 The following keyword arguments are supported (corresponding to the getters/setters of this class): 104 105 :param id: 106 The value to assign to the id property of this DeploymentUpgradeSummary. 107 :type id: str 108 109 :param display_name: 110 The value to assign to the display_name property of this DeploymentUpgradeSummary. 111 :type display_name: str 112 113 :param description: 114 The value to assign to the description property of this DeploymentUpgradeSummary. 115 :type description: str 116 117 :param compartment_id: 118 The value to assign to the compartment_id property of this DeploymentUpgradeSummary. 119 :type compartment_id: str 120 121 :param deployment_id: 122 The value to assign to the deployment_id property of this DeploymentUpgradeSummary. 123 :type deployment_id: str 124 125 :param deployment_upgrade_type: 126 The value to assign to the deployment_upgrade_type property of this DeploymentUpgradeSummary. 127 Allowed values for this property are: "MANUAL", "AUTOMATIC", 'UNKNOWN_ENUM_VALUE'. 128 Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. 129 :type deployment_upgrade_type: str 130 131 :param time_started: 132 The value to assign to the time_started property of this DeploymentUpgradeSummary. 133 :type time_started: datetime 134 135 :param time_finished: 136 The value to assign to the time_finished property of this DeploymentUpgradeSummary. 137 :type time_finished: datetime 138 139 :param ogg_version: 140 The value to assign to the ogg_version property of this DeploymentUpgradeSummary. 141 :type ogg_version: str 142 143 :param time_created: 144 The value to assign to the time_created property of this DeploymentUpgradeSummary. 145 :type time_created: datetime 146 147 :param time_updated: 148 The value to assign to the time_updated property of this DeploymentUpgradeSummary. 149 :type time_updated: datetime 150 151 :param lifecycle_state: 152 The value to assign to the lifecycle_state property of this DeploymentUpgradeSummary. 153 Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", "IN_PROGRESS", "CANCELING", "CANCELED", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'. 154 Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. 155 :type lifecycle_state: str 156 157 :param lifecycle_sub_state: 158 The value to assign to the lifecycle_sub_state property of this DeploymentUpgradeSummary. 159 Allowed values for this property are: "RECOVERING", "STARTING", "STOPPING", "MOVING", "UPGRADING", "RESTORING", "BACKUP_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'. 160 Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. 161 :type lifecycle_sub_state: str 162 163 :param lifecycle_details: 164 The value to assign to the lifecycle_details property of this DeploymentUpgradeSummary. 165 :type lifecycle_details: str 166 167 :param freeform_tags: 168 The value to assign to the freeform_tags property of this DeploymentUpgradeSummary. 169 :type freeform_tags: dict(str, str) 170 171 :param defined_tags: 172 The value to assign to the defined_tags property of this DeploymentUpgradeSummary. 173 :type defined_tags: dict(str, dict(str, object)) 174 175 :param system_tags: 176 The value to assign to the system_tags property of this DeploymentUpgradeSummary. 177 :type system_tags: dict(str, dict(str, object)) 178 179 """ 180 self.swagger_types = { 181 'id': 'str', 182 'display_name': 'str', 183 'description': 'str', 184 'compartment_id': 'str', 185 'deployment_id': 'str', 186 'deployment_upgrade_type': 'str', 187 'time_started': 'datetime', 188 'time_finished': 'datetime', 189 'ogg_version': 'str', 190 'time_created': 'datetime', 191 'time_updated': 'datetime', 192 'lifecycle_state': 'str', 193 'lifecycle_sub_state': 'str', 194 'lifecycle_details': 'str', 195 'freeform_tags': 'dict(str, str)', 196 'defined_tags': 'dict(str, dict(str, object))', 197 'system_tags': 'dict(str, dict(str, object))' 198 } 199 200 self.attribute_map = { 201 'id': 'id', 202 'display_name': 'displayName', 203 'description': 'description', 204 'compartment_id': 'compartmentId', 205 'deployment_id': 'deploymentId', 206 'deployment_upgrade_type': 'deploymentUpgradeType', 207 'time_started': 'timeStarted', 208 'time_finished': 'timeFinished', 209 'ogg_version': 'oggVersion', 210 'time_created': 'timeCreated', 211 'time_updated': 'timeUpdated', 212 'lifecycle_state': 'lifecycleState', 213 'lifecycle_sub_state': 'lifecycleSubState', 214 'lifecycle_details': 'lifecycleDetails', 215 'freeform_tags': 'freeformTags', 216 'defined_tags': 'definedTags', 217 'system_tags': 'systemTags' 218 } 219 220 self._id = None 221 self._display_name = None 222 self._description = None 223 self._compartment_id = None 224 self._deployment_id = None 225 self._deployment_upgrade_type = None 226 self._time_started = None 227 self._time_finished = None 228 self._ogg_version = None 229 self._time_created = None 230 self._time_updated = None 231 self._lifecycle_state = None 232 self._lifecycle_sub_state = None 233 self._lifecycle_details = None 234 self._freeform_tags = None 235 self._defined_tags = None 236 self._system_tags = None 237 238 @property 239 def id(self): 240 """ 241 **[Required]** Gets the id of this DeploymentUpgradeSummary. 242 The `OCID`__ of the deployment being referenced. 243 244 __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm 245 246 247 :return: The id of this DeploymentUpgradeSummary. 248 :rtype: str 249 """ 250 return self._id 251 252 @id.setter 253 def id(self, id): 254 """ 255 Sets the id of this DeploymentUpgradeSummary. 256 The `OCID`__ of the deployment being referenced. 257 258 __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm 259 260 261 :param id: The id of this DeploymentUpgradeSummary. 262 :type: str 263 """ 264 self._id = id 265 266 @property 267 def display_name(self): 268 """ 269 Gets the display_name of this DeploymentUpgradeSummary. 270 An object's Display Name. 271 272 273 :return: The display_name of this DeploymentUpgradeSummary. 274 :rtype: str 275 """ 276 return self._display_name 277 278 @display_name.setter 279 def display_name(self, display_name): 280 """ 281 Sets the display_name of this DeploymentUpgradeSummary. 282 An object's Display Name. 283 284 285 :param display_name: The display_name of this DeploymentUpgradeSummary. 286 :type: str 287 """ 288 self._display_name = display_name 289 290 @property 291 def description(self): 292 """ 293 Gets the description of this DeploymentUpgradeSummary. 294 Metadata about this specific object. 295 296 297 :return: The description of this DeploymentUpgradeSummary. 298 :rtype: str 299 """ 300 return self._description 301 302 @description.setter 303 def description(self, description): 304 """ 305 Sets the description of this DeploymentUpgradeSummary. 306 Metadata about this specific object. 307 308 309 :param description: The description of this DeploymentUpgradeSummary. 310 :type: str 311 """ 312 self._description = description 313 314 @property 315 def compartment_id(self): 316 """ 317 **[Required]** Gets the compartment_id of this DeploymentUpgradeSummary. 318 The `OCID`__ of the compartment being referenced. 319 320 __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm 321 322 323 :return: The compartment_id of this DeploymentUpgradeSummary. 324 :rtype: str 325 """ 326 return self._compartment_id 327 328 @compartment_id.setter 329 def compartment_id(self, compartment_id): 330 """ 331 Sets the compartment_id of this DeploymentUpgradeSummary. 332 The `OCID`__ of the compartment being referenced. 333 334 __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm 335 336 337 :param compartment_id: The compartment_id of this DeploymentUpgradeSummary. 338 :type: str 339 """ 340 self._compartment_id = compartment_id 341 342 @property 343 def deployment_id(self): 344 """ 345 **[Required]** Gets the deployment_id of this DeploymentUpgradeSummary. 346 The `OCID`__ of the deployment being referenced. 347 348 __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm 349 350 351 :return: The deployment_id of this DeploymentUpgradeSummary. 352 :rtype: str 353 """ 354 return self._deployment_id 355 356 @deployment_id.setter 357 def deployment_id(self, deployment_id): 358 """ 359 Sets the deployment_id of this DeploymentUpgradeSummary. 360 The `OCID`__ of the deployment being referenced. 361 362 __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm 363 364 365 :param deployment_id: The deployment_id of this DeploymentUpgradeSummary. 366 :type: str 367 """ 368 self._deployment_id = deployment_id 369 370 @property 371 def deployment_upgrade_type(self): 372 """ 373 **[Required]** Gets the deployment_upgrade_type of this DeploymentUpgradeSummary. 374 The type of the deployment upgrade: MANUAL or AUTOMATIC 375 376 Allowed values for this property are: "MANUAL", "AUTOMATIC", 'UNKNOWN_ENUM_VALUE'. 377 Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. 378 379 380 :return: The deployment_upgrade_type of this DeploymentUpgradeSummary. 381 :rtype: str 382 """ 383 return self._deployment_upgrade_type 384 385 @deployment_upgrade_type.setter 386 def deployment_upgrade_type(self, deployment_upgrade_type): 387 """ 388 Sets the deployment_upgrade_type of this DeploymentUpgradeSummary. 389 The type of the deployment upgrade: MANUAL or AUTOMATIC 390 391 392 :param deployment_upgrade_type: The deployment_upgrade_type of this DeploymentUpgradeSummary. 393 :type: str 394 """ 395 allowed_values = ["MANUAL", "AUTOMATIC"] 396 if not value_allowed_none_or_none_sentinel(deployment_upgrade_type, allowed_values): 397 deployment_upgrade_type = 'UNKNOWN_ENUM_VALUE' 398 self._deployment_upgrade_type = deployment_upgrade_type 399 400 @property 401 def time_started(self): 402 """ 403 Gets the time_started of this DeploymentUpgradeSummary. 404 The date and time the request was started. The format is defined by `RFC3339`__, such as `2016-08-25T21:10:29.600Z`. 405 406 __ https://tools.ietf.org/html/rfc3339 407 408 409 :return: The time_started of this DeploymentUpgradeSummary. 410 :rtype: datetime 411 """ 412 return self._time_started 413 414 @time_started.setter 415 def time_started(self, time_started): 416 """ 417 Sets the time_started of this DeploymentUpgradeSummary. 418 The date and time the request was started. The format is defined by `RFC3339`__, such as `2016-08-25T21:10:29.600Z`. 419 420 __ https://tools.ietf.org/html/rfc3339 421 422 423 :param time_started: The time_started of this DeploymentUpgradeSummary. 424 :type: datetime 425 """ 426 self._time_started = time_started 427 428 @property 429 def time_finished(self): 430 """ 431 Gets the time_finished of this DeploymentUpgradeSummary. 432 The date and time the request was finished. The format is defined by `RFC3339`__, such as `2016-08-25T21:10:29.600Z`. 433 434 __ https://tools.ietf.org/html/rfc3339 435 436 437 :return: The time_finished of this DeploymentUpgradeSummary. 438 :rtype: datetime 439 """ 440 return self._time_finished 441 442 @time_finished.setter 443 def time_finished(self, time_finished): 444 """ 445 Sets the time_finished of this DeploymentUpgradeSummary. 446 The date and time the request was finished. The format is defined by `RFC3339`__, such as `2016-08-25T21:10:29.600Z`. 447 448 __ https://tools.ietf.org/html/rfc3339 449 450 451 :param time_finished: The time_finished of this DeploymentUpgradeSummary. 452 :type: datetime 453 """ 454 self._time_finished = time_finished 455 456 @property 457 def ogg_version(self): 458 """ 459 Gets the ogg_version of this DeploymentUpgradeSummary. 460 Version of OGG 461 462 463 :return: The ogg_version of this DeploymentUpgradeSummary. 464 :rtype: str 465 """ 466 return self._ogg_version 467 468 @ogg_version.setter 469 def ogg_version(self, ogg_version): 470 """ 471 Sets the ogg_version of this DeploymentUpgradeSummary. 472 Version of OGG 473 474 475 :param ogg_version: The ogg_version of this DeploymentUpgradeSummary. 476 :type: str 477 """ 478 self._ogg_version = ogg_version 479 480 @property 481 def time_created(self): 482 """ 483 Gets the time_created of this DeploymentUpgradeSummary. 484 The time the resource was created. The format is defined by `RFC3339`__, such as `2016-08-25T21:10:29.600Z`. 485 486 __ https://tools.ietf.org/html/rfc3339 487 488 489 :return: The time_created of this DeploymentUpgradeSummary. 490 :rtype: datetime 491 """ 492 return self._time_created 493 494 @time_created.setter 495 def time_created(self, time_created): 496 """ 497 Sets the time_created of this DeploymentUpgradeSummary. 498 The time the resource was created. The format is defined by `RFC3339`__, such as `2016-08-25T21:10:29.600Z`. 499 500 __ https://tools.ietf.org/html/rfc3339 501 502 503 :param time_created: The time_created of this DeploymentUpgradeSummary. 504 :type: datetime 505 """ 506 self._time_created = time_created 507 508 @property 509 def time_updated(self): 510 """ 511 Gets the time_updated of this DeploymentUpgradeSummary. 512 The time the resource was last updated. The format is defined by `RFC3339`__, such as `2016-08-25T21:10:29.600Z`. 513 514 __ https://tools.ietf.org/html/rfc3339 515 516 517 :return: The time_updated of this DeploymentUpgradeSummary. 518 :rtype: datetime 519 """ 520 return self._time_updated 521 522 @time_updated.setter 523 def time_updated(self, time_updated): 524 """ 525 Sets the time_updated of this DeploymentUpgradeSummary. 526 The time the resource was last updated. The format is defined by `RFC3339`__, such as `2016-08-25T21:10:29.600Z`. 527 528 __ https://tools.ietf.org/html/rfc3339 529 530 531 :param time_updated: The time_updated of this DeploymentUpgradeSummary. 532 :type: datetime 533 """ 534 self._time_updated = time_updated 535 536 @property 537 def lifecycle_state(self): 538 """ 539 Gets the lifecycle_state of this DeploymentUpgradeSummary. 540 Possible lifecycle states. 541 542 Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", "IN_PROGRESS", "CANCELING", "CANCELED", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'. 543 Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. 544 545 546 :return: The lifecycle_state of this DeploymentUpgradeSummary. 547 :rtype: str 548 """ 549 return self._lifecycle_state 550 551 @lifecycle_state.setter 552 def lifecycle_state(self, lifecycle_state): 553 """ 554 Sets the lifecycle_state of this DeploymentUpgradeSummary. 555 Possible lifecycle states. 556 557 558 :param lifecycle_state: The lifecycle_state of this DeploymentUpgradeSummary. 559 :type: str 560 """ 561 allowed_values = ["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", "IN_PROGRESS", "CANCELING", "CANCELED", "SUCCEEDED"] 562 if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): 563 lifecycle_state = 'UNKNOWN_ENUM_VALUE' 564 self._lifecycle_state = lifecycle_state 565 566 @property 567 def lifecycle_sub_state(self): 568 """ 569 Gets the lifecycle_sub_state of this DeploymentUpgradeSummary. 570 Possible GGS lifecycle sub-states. 571 572 Allowed values for this property are: "RECOVERING", "STARTING", "STOPPING", "MOVING", "UPGRADING", "RESTORING", "BACKUP_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'. 573 Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. 574 575 576 :return: The lifecycle_sub_state of this DeploymentUpgradeSummary. 577 :rtype: str 578 """ 579 return self._lifecycle_sub_state 580 581 @lifecycle_sub_state.setter 582 def lifecycle_sub_state(self, lifecycle_sub_state): 583 """ 584 Sets the lifecycle_sub_state of this DeploymentUpgradeSummary. 585 Possible GGS lifecycle sub-states. 586 587 588 :param lifecycle_sub_state: The lifecycle_sub_state of this DeploymentUpgradeSummary. 589 :type: str 590 """ 591 allowed_values = ["RECOVERING", "STARTING", "STOPPING", "MOVING", "UPGRADING", "RESTORING", "BACKUP_IN_PROGRESS"] 592 if not value_allowed_none_or_none_sentinel(lifecycle_sub_state, allowed_values): 593 lifecycle_sub_state = 'UNKNOWN_ENUM_VALUE' 594 self._lifecycle_sub_state = lifecycle_sub_state 595 596 @property 597 def lifecycle_details(self): 598 """ 599 Gets the lifecycle_details of this DeploymentUpgradeSummary. 600 Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. 601 602 603 :return: The lifecycle_details of this DeploymentUpgradeSummary. 604 :rtype: str 605 """ 606 return self._lifecycle_details 607 608 @lifecycle_details.setter 609 def lifecycle_details(self, lifecycle_details): 610 """ 611 Sets the lifecycle_details of this DeploymentUpgradeSummary. 612 Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. 613 614 615 :param lifecycle_details: The lifecycle_details of this DeploymentUpgradeSummary. 616 :type: str 617 """ 618 self._lifecycle_details = lifecycle_details 619 620 @property 621 def freeform_tags(self): 622 """ 623 Gets the freeform_tags of this DeploymentUpgradeSummary. 624 A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. 625 Example: `{\"bar-key\": \"value\"}` 626 627 628 :return: The freeform_tags of this DeploymentUpgradeSummary. 629 :rtype: dict(str, str) 630 """ 631 return self._freeform_tags 632 633 @freeform_tags.setter 634 def freeform_tags(self, freeform_tags): 635 """ 636 Sets the freeform_tags of this DeploymentUpgradeSummary. 637 A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. 638 Example: `{\"bar-key\": \"value\"}` 639 640 641 :param freeform_tags: The freeform_tags of this DeploymentUpgradeSummary. 642 :type: dict(str, str) 643 """ 644 self._freeform_tags = freeform_tags 645 646 @property 647 def defined_tags(self): 648 """ 649 Gets the defined_tags of this DeploymentUpgradeSummary. 650 Tags defined for this resource. Each key is predefined and scoped to a namespace. 651 Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` 652 653 654 :return: The defined_tags of this DeploymentUpgradeSummary. 655 :rtype: dict(str, dict(str, object)) 656 """ 657 return self._defined_tags 658 659 @defined_tags.setter 660 def defined_tags(self, defined_tags): 661 """ 662 Sets the defined_tags of this DeploymentUpgradeSummary. 663 Tags defined for this resource. Each key is predefined and scoped to a namespace. 664 Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` 665 666 667 :param defined_tags: The defined_tags of this DeploymentUpgradeSummary. 668 :type: dict(str, dict(str, object)) 669 """ 670 self._defined_tags = defined_tags 671 672 @property 673 def system_tags(self): 674 """ 675 Gets the system_tags of this DeploymentUpgradeSummary. 676 The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see `Resource Tags`__. 677 Example: `{orcl-cloud: {free-tier-retain: true}}` 678 679 __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm 680 681 682 :return: The system_tags of this DeploymentUpgradeSummary. 683 :rtype: dict(str, dict(str, object)) 684 """ 685 return self._system_tags 686 687 @system_tags.setter 688 def system_tags(self, system_tags): 689 """ 690 Sets the system_tags of this DeploymentUpgradeSummary. 691 The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see `Resource Tags`__. 692 Example: `{orcl-cloud: {free-tier-retain: true}}` 693 694 __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm 695 696 697 :param system_tags: The system_tags of this DeploymentUpgradeSummary. 698 :type: dict(str, dict(str, object)) 699 """ 700 self._system_tags = system_tags 701 702 def __repr__(self): 703 return formatted_flat_dict(self) 704 705 def __eq__(self, other): 706 if other is None: 707 return False 708 709 return self.__dict__ == other.__dict__ 710 711 def __ne__(self, other): 712 return not self == other 713