a f@@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)5ConfigurationSummaryz' Summary of the configuration. cKsddddddddddddddd|_dd d d d d ddddddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_dS)a Initializes a new ConfigurationSummary 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 ConfigurationSummary. :type id: str :param display_name: The value to assign to the display_name property of this ConfigurationSummary. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this ConfigurationSummary. :type compartment_id: str :param time_created: The value to assign to the time_created property of this ConfigurationSummary. :type time_created: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this ConfigurationSummary. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this ConfigurationSummary. :type lifecycle_details: str :param db_version: The value to assign to the db_version property of this ConfigurationSummary. :type db_version: str :param shape: The value to assign to the shape property of this ConfigurationSummary. :type shape: str :param is_flexible: The value to assign to the is_flexible property of this ConfigurationSummary. :type is_flexible: bool :param instance_ocpu_count: The value to assign to the instance_ocpu_count property of this ConfigurationSummary. :type instance_ocpu_count: int :param instance_memory_size_in_gbs: The value to assign to the instance_memory_size_in_gbs property of this ConfigurationSummary. :type instance_memory_size_in_gbs: int :param freeform_tags: The value to assign to the freeform_tags property of this ConfigurationSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ConfigurationSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this ConfigurationSummary. :type system_tags: dict(str, dict(str, object)) strZdatetimeboolintzdict(str, str)zdict(str, dict(str, object)))id display_namecompartment_id time_createdlifecycle_statelifecycle_details db_versionshape is_flexibleinstance_ocpu_countinstance_memory_size_in_gbs freeform_tags defined_tags system_tagsr Z displayNameZ compartmentIdZ timeCreatedZlifecycleStateZlifecycleDetailsZ dbVersionrZ isFlexibleZinstanceOcpuCountZinstanceMemorySizeInGBsZ freeformTagsZ definedTagsZ systemTagsN)Z swagger_typesZ attribute_map_id _display_name_compartment_id _time_created_lifecycle_state_lifecycle_details _db_version_shape _is_flexible_instance_ocpu_count_instance_memory_size_in_gbs_freeform_tags _defined_tags _system_tags)selfkwargsr(I/usr/lib/python3.9/site-packages/oci/psql/models/configuration_summary.py__init__sX?zConfigurationSummary.__init__cCs|jS)a+ **[Required]** Gets the id of this ConfigurationSummary. The `OCID`__ of the configuration. Immutable on creation. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this ConfigurationSummary. :rtype: str rr&r(r(r)r s zConfigurationSummary.idcCs ||_dS)a Sets the id of this ConfigurationSummary. The `OCID`__ of the configuration. Immutable on creation. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this ConfigurationSummary. :type: str Nr+)r&r r(r(r)r s cCs|jS)a **[Required]** Gets the display_name of this ConfigurationSummary. A user-friendly display name for the configuration. Avoid entering confidential information. :return: The display_name of this ConfigurationSummary. :rtype: str rr,r(r(r)r s z!ConfigurationSummary.display_namecCs ||_dS)a  Sets the display_name of this ConfigurationSummary. A user-friendly display name for the configuration. Avoid entering confidential information. :param display_name: The display_name of this ConfigurationSummary. :type: str Nr-)r&r r(r(r)r s cCs|jS)aJ **[Required]** Gets the compartment_id of this ConfigurationSummary. The `OCID`__ of the compartment that contains the configuration. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this ConfigurationSummary. :rtype: str rr,r(r(r)r s z#ConfigurationSummary.compartment_idcCs ||_dS)aH Sets the compartment_id of this ConfigurationSummary. The `OCID`__ of the compartment that contains the configuration. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this ConfigurationSummary. :type: str Nr.)r&r r(r(r)r s cCs|jS)ax **[Required]** Gets the time_created of this ConfigurationSummary. The date and time the configuration 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 ConfigurationSummary. :rtype: datetime rr,r(r(r)r sz!ConfigurationSummary.time_createdcCs ||_dS)at Sets the time_created of this ConfigurationSummary. The date and time the configuration 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 ConfigurationSummary. :type: datetime Nr/)r&r r(r(r)r scCs|jS)z **[Required]** Gets the lifecycle_state of this ConfigurationSummary. The current state of the configuration. :return: The lifecycle_state of this ConfigurationSummary. :rtype: str rr,r(r(r)rs z$ConfigurationSummary.lifecycle_statecCs ||_dS)z Sets the lifecycle_state of this ConfigurationSummary. The current state of the configuration. :param lifecycle_state: The lifecycle_state of this ConfigurationSummary. :type: str Nr0)r&rr(r(r)rs cCs|jS)a? Gets the lifecycle_details of this ConfigurationSummary. 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 ConfigurationSummary. :rtype: str rr,r(r(r)r s z&ConfigurationSummary.lifecycle_detailscCs ||_dS)aO Sets the lifecycle_details of this ConfigurationSummary. 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 ConfigurationSummary. :type: str Nr1)r&rr(r(r)rs cCs|jS)z **[Required]** Gets the db_version of this ConfigurationSummary. Version of the PostgreSQL database. :return: The db_version of this ConfigurationSummary. :rtype: str rr,r(r(r)r#s zConfigurationSummary.db_versioncCs ||_dS)z Sets the db_version of this ConfigurationSummary. Version of the PostgreSQL database. :param db_version: The db_version of this ConfigurationSummary. :type: str Nr2)r&rr(r(r)r/s cCs|jS)z **[Required]** Gets the shape of this ConfigurationSummary. The name of the shape for the configuration. Example: `VM.Standard.E4.Flex` :return: The shape of this ConfigurationSummary. :rtype: str rr,r(r(r)r;s zConfigurationSummary.shapecCs ||_dS)z Sets the shape of this ConfigurationSummary. The name of the shape for the configuration. Example: `VM.Standard.E4.Flex` :param shape: The shape of this ConfigurationSummary. :type: str Nr3)r&rr(r(r)rHs cCs|jS)z Gets the is_flexible of this ConfigurationSummary. Whether the configuration supports flexible shapes. :return: The is_flexible of this ConfigurationSummary. :rtype: bool r r,r(r(r)rUs z ConfigurationSummary.is_flexiblecCs ||_dS)z Sets the is_flexible of this ConfigurationSummary. Whether the configuration supports flexible shapes. :param is_flexible: The is_flexible of this ConfigurationSummary. :type: bool Nr4)r&rr(r(r)ras cCs|jS)a **[Required]** Gets the instance_ocpu_count of this ConfigurationSummary. CPU core count. It's value is set to 0 if configuration is for a flexible shape. :return: The instance_ocpu_count of this ConfigurationSummary. :rtype: int r!r,r(r(r)rms z(ConfigurationSummary.instance_ocpu_countcCs ||_dS)a Sets the instance_ocpu_count of this ConfigurationSummary. CPU core count. It's value is set to 0 if configuration is for a flexible shape. :param instance_ocpu_count: The instance_ocpu_count of this ConfigurationSummary. :type: int Nr5)r&rr(r(r)r{s cCs|jS)aG **[Required]** Gets the instance_memory_size_in_gbs of this ConfigurationSummary. Memory size in gigabytes with 1GB increment. It's value is set to 0 if configuration is for a flexible shape. :return: The instance_memory_size_in_gbs of this ConfigurationSummary. :rtype: int r"r,r(r(r)rs z0ConfigurationSummary.instance_memory_size_in_gbscCs ||_dS)aR Sets the instance_memory_size_in_gbs of this ConfigurationSummary. Memory size in gigabytes with 1GB increment. It's value is set to 0 if configuration is for a flexible shape. :param instance_memory_size_in_gbs: The instance_memory_size_in_gbs of this ConfigurationSummary. :type: int Nr6)r&rr(r(r)rs cCs|jS)aO Gets the freeform_tags of this ConfigurationSummary. 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 ConfigurationSummary. :rtype: dict(str, str) r#r,r(r(r)rs z"ConfigurationSummary.freeform_tagscCs ||_dS)a[ Sets the freeform_tags of this ConfigurationSummary. 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 ConfigurationSummary. :type: dict(str, str) Nr7)r&rr(r(r)rs cCs|jS)aI Gets the defined_tags of this ConfigurationSummary. 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 ConfigurationSummary. :rtype: dict(str, dict(str, object)) r$r,r(r(r)rs z!ConfigurationSummary.defined_tagscCs ||_dS)aT Sets the defined_tags of this ConfigurationSummary. 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 ConfigurationSummary. :type: dict(str, dict(str, object)) Nr8)r&rr(r(r)rs cCs|jS)aM Gets the system_tags of this ConfigurationSummary. 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 ConfigurationSummary. :rtype: dict(str, dict(str, object)) r%r,r(r(r)rs z ConfigurationSummary.system_tagscCs ||_dS)aW Sets the system_tags of this ConfigurationSummary. 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 ConfigurationSummary. :type: dict(str, dict(str, object)) Nr9)r&rr(r(r)rs cCst|SN)rr,r(r(r)__repr__szConfigurationSummary.__repr__cCs|dur dS|j|jkS)NF)__dict__r&otherr(r(r)__eq__szConfigurationSummary.__eq__cCs ||k Sr:r(r=r(r(r)__ne__szConfigurationSummary.__ne__N)__name__ __module__ __qualname____doc__r*propertyr setterr r r rrrrrrrrrrr;r?r@r(r(r(r)r szo                            rN)Zoci.utilrrrZoci.decoratorsrobjectrr(r(r(r)s