a fv>@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZddZeddZejddZeddZejd dZed d Z e jd d Z ed dZ e jddZ eddZ e jddZ eddZ e jddZ eddZ e jddZ eddZejddZeddZejddZedd Zejd!d Zed"d#Zejd$d#Zed%d&Zejd'd&Zed(d)Zejd*d)Zed+d,Zejd-d,Zd.d/Zd0d1Zd2d3Zd4S)5 BackupSummaryz+ Summary information for a backup. cKsddddddddddddddd|_ddd d d d d dddddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_dS)a Initializes a new BackupSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this BackupSummary. :type id: str :param display_name: The value to assign to the display_name property of this BackupSummary. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this BackupSummary. :type compartment_id: str :param time_created: The value to assign to the time_created property of this BackupSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this BackupSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this BackupSummary. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this BackupSummary. :type lifecycle_details: str :param source_type: The value to assign to the source_type property of this BackupSummary. :type source_type: str :param backup_size: The value to assign to the backup_size property of this BackupSummary. :type backup_size: int :param db_system_id: The value to assign to the db_system_id property of this BackupSummary. :type db_system_id: str :param retention_period: The value to assign to the retention_period property of this BackupSummary. :type retention_period: int :param freeform_tags: The value to assign to the freeform_tags property of this BackupSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this BackupSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this BackupSummary. :type system_tags: dict(str, dict(str, object)) strZdatetimeintzdict(str, str)zdict(str, dict(str, object)))id display_namecompartment_id time_created time_updatedlifecycle_statelifecycle_details source_type backup_size db_system_idretention_period freeform_tags defined_tags system_tagsr Z displayNameZ compartmentIdZ timeCreatedZ timeUpdatedZlifecycleStateZlifecycleDetailsZ sourceTypeZ backupSizeZ dbSystemIdZretentionPeriodZ freeformTagsZ definedTagsZ systemTagsN)Z swagger_typesZ attribute_map_id _display_name_compartment_id _time_created _time_updated_lifecycle_state_lifecycle_details _source_type _backup_size _db_system_id_retention_period_freeform_tags _defined_tags _system_tags)selfkwargsr'B/usr/lib/python3.9/site-packages/oci/psql/models/backup_summary.py__init__sX?zBackupSummary.__init__cCs|jS)z **[Required]** Gets the id of this BackupSummary. A unique identifier for the backup. Immutable on creation. :return: The id of this BackupSummary. :rtype: str rr%r'r'r(r s zBackupSummary.idcCs ||_dS)z Sets the id of this BackupSummary. A unique identifier for the backup. Immutable on creation. :param id: The id of this BackupSummary. :type: str Nr*)r%r r'r'r(r s cCs|jS)z **[Required]** Gets the display_name of this BackupSummary. A user-friendly display name for the backup. Avoid entering confidential information. :return: The display_name of this BackupSummary. :rtype: str rr+r'r'r(r s zBackupSummary.display_namecCs ||_dS)z Sets the display_name of this BackupSummary. A user-friendly display name for the backup. Avoid entering confidential information. :param display_name: The display_name of this BackupSummary. :type: str Nr,)r%r r'r'r(r s cCs|jS)a5 **[Required]** Gets the compartment_id of this BackupSummary. The `OCID`__ of the compartment that contains the backup. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this BackupSummary. :rtype: str rr+r'r'r(r s zBackupSummary.compartment_idcCs ||_dS)a3 Sets the compartment_id of this BackupSummary. The `OCID`__ of the compartment that contains the backup. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this BackupSummary. :type: str Nr-)r%r r'r'r(r s cCs|jS)ac **[Required]** Gets the time_created of this BackupSummary. The date and time the backup was created, expressed in `RFC 3339`__ timestamp format. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/rfc/rfc3339 :return: The time_created of this BackupSummary. :rtype: datetime rr+r'r'r(r szBackupSummary.time_createdcCs ||_dS)a_ Sets the time_created of this BackupSummary. The date and time the backup was created, expressed in `RFC 3339`__ timestamp format. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/rfc/rfc3339 :param time_created: The time_created of this BackupSummary. :type: datetime Nr.)r%r r'r'r(r scCs|jS)aT Gets the time_updated of this BackupSummary. The date and time the backup was updated, expressed in `RFC 3339`__ timestamp format. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/rfc/rfc3339 :return: The time_updated of this BackupSummary. :rtype: datetime rr+r'r'r(r szBackupSummary.time_updatedcCs ||_dS)a_ Sets the time_updated of this BackupSummary. The date and time the backup was updated, expressed in `RFC 3339`__ timestamp format. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/rfc/rfc3339 :param time_updated: The time_updated of this BackupSummary. :type: datetime Nr/)r%r r'r'r(r scCs|jS)z **[Required]** Gets the lifecycle_state of this BackupSummary. The current state of the backup. :return: The lifecycle_state of this BackupSummary. :rtype: str rr+r'r'r(rs zBackupSummary.lifecycle_statecCs ||_dS)z Sets the lifecycle_state of this BackupSummary. The current state of the backup. :param lifecycle_state: The lifecycle_state of this BackupSummary. :type: str Nr0)r%rr'r'r(rs cCs|jS)a1 Gets the lifecycle_details of this BackupSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :return: The lifecycle_details of this BackupSummary. :rtype: str rr+r'r'r(r)s zBackupSummary.lifecycle_detailscCs ||_dS)aA Sets the lifecycle_details of this BackupSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :param lifecycle_details: The lifecycle_details of this BackupSummary. :type: str Nr1)r%rr'r'r(r5s cCs|jS)a Gets the source_type of this BackupSummary. Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location. :return: The source_type of this BackupSummary. :rtype: str rr+r'r'r(rAs zBackupSummary.source_typecCs ||_dS)a& Sets the source_type of this BackupSummary. Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location. :param source_type: The source_type of this BackupSummary. :type: str Nr2)r%rr'r'r(rMs cCs|jS)z Gets the backup_size of this BackupSummary. The size of the backup, in gigabytes. :return: The backup_size of this BackupSummary. :rtype: int rr+r'r'r(rYs zBackupSummary.backup_sizecCs ||_dS)z Sets the backup_size of this BackupSummary. The size of the backup, in gigabytes. :param backup_size: The backup_size of this BackupSummary. :type: int Nr3)r%rr'r'r(res cCs|jS)a Gets the db_system_id of this BackupSummary. The backup's source database system's `OCID`__. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The db_system_id of this BackupSummary. :rtype: str r r+r'r'r(rqs zBackupSummary.db_system_idcCs ||_dS)a# Sets the db_system_id of this BackupSummary. The backup's source database system's `OCID`__. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param db_system_id: The db_system_id of this BackupSummary. :type: str Nr4)r%rr'r'r(rs cCs|jS)z Gets the retention_period of this BackupSummary. Backup retention period in days. :return: The retention_period of this BackupSummary. :rtype: int r!r+r'r'r(rs zBackupSummary.retention_periodcCs ||_dS)z Sets the retention_period of this BackupSummary. Backup retention period in days. :param retention_period: The retention_period of this BackupSummary. :type: int Nr5)r%rr'r'r(rs cCs|jS)aP **[Required]** Gets the freeform_tags of this BackupSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :return: The freeform_tags of this BackupSummary. :rtype: dict(str, str) r"r+r'r'r(rs zBackupSummary.freeform_tagscCs ||_dS)aM Sets the freeform_tags of this BackupSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param freeform_tags: The freeform_tags of this BackupSummary. :type: dict(str, str) Nr6)r%rr'r'r(rs cCs|jS)aJ **[Required]** Gets the defined_tags of this BackupSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :return: The defined_tags of this BackupSummary. :rtype: dict(str, dict(str, object)) r#r+r'r'r(rs zBackupSummary.defined_tagscCs ||_dS)aF Sets the defined_tags of this BackupSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :param defined_tags: The defined_tags of this BackupSummary. :type: dict(str, dict(str, object)) Nr7)r%rr'r'r(rs cCs|jS)a? Gets the system_tags of this BackupSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :return: The system_tags of this BackupSummary. :rtype: dict(str, dict(str, object)) r$r+r'r'r(rs zBackupSummary.system_tagscCs ||_dS)aI Sets the system_tags of this BackupSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :param system_tags: The system_tags of this BackupSummary. :type: dict(str, dict(str, object)) Nr8)r%rr'r'r(rs cCst|SN)rr+r'r'r(__repr__szBackupSummary.__repr__cCs|dur dS|j|jkS)NF)__dict__r%otherr'r'r(__eq__szBackupSummary.__eq__cCs ||k Sr9r'r<r'r'r(__ne__szBackupSummary.__ne__N)__name__ __module__ __qualname____doc__r)propertyr setterr r r r rrrrrrrrrr:r>r?r'r'r'r(r szo                            rN)Zoci.utilrrrZoci.decoratorsrobjectrr'r'r'r(s