a f,@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d d Z e d d Z e jd d Z e ddZejddZe ddZejddZe ddZejddZe ddZejddZe ddZejddZe ddZejddZe d d!Zejd"d!Zd#d$Zd%d&Zd'd(Zd)S)* DbInstancez5 Information about a database instance node. CREATINGUPDATINGACTIVEINACTIVEDELETINGDELETEDFAILEDc Ksdddddddddd|_dddddd d d d|_d |_d |_d |_d |_d |_d |_d |_d |_ d S) aM Initializes a new DbInstance 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 DbInstance. :type id: str :param display_name: The value to assign to the display_name property of this DbInstance. :type display_name: str :param description: The value to assign to the description property of this DbInstance. :type description: str :param availability_domain: The value to assign to the availability_domain property of this DbInstance. :type availability_domain: str :param lifecycle_state: The value to assign to the lifecycle_state property of this DbInstance. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this DbInstance. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this DbInstance. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DbInstance. :type time_updated: datetime strZdatetime)id display_name descriptionavailability_domainlifecycle_statelifecycle_details time_created time_updatedrZ displayNamerZavailabilityDomainZlifecycleStateZlifecycleDetailsZ timeCreatedZ timeUpdatedN) Z swagger_typesZ attribute_map_id _display_name _description_availability_domain_lifecycle_state_lifecycle_details _time_created _time_updated)selfkwargsr!?/usr/lib/python3.9/site-packages/oci/psql/models/db_instance.py__init__.s4)  zDbInstance.__init__cCs|jS)z **[Required]** Gets the id of this DbInstance. A unique identifier for the database instance node. Immutable on creation. :return: The id of this DbInstance. :rtype: str rrr!r!r"rus z DbInstance.idcCs ||_dS)z Sets the id of this DbInstance. A unique identifier for the database instance node. Immutable on creation. :param id: The id of this DbInstance. :type: str Nr$)rrr!r!r"rs cCs|jS)z Gets the display_name of this DbInstance. A user-friendly display name for the database instance node. Avoid entering confidential information. :return: The display_name of this DbInstance. :rtype: str rr%r!r!r"rs zDbInstance.display_namecCs ||_dS)a Sets the display_name of this DbInstance. A user-friendly display name for the database instance node. Avoid entering confidential information. :param display_name: The display_name of this DbInstance. :type: str Nr&)rrr!r!r"rs cCs|jS)z Gets the description of this DbInstance. Description of the database instance node. :return: The description of this DbInstance. :rtype: str rr%r!r!r"rs zDbInstance.descriptioncCs ||_dS)z Sets the description of this DbInstance. Description of the database instance node. :param description: The description of this DbInstance. :type: str Nr')rrr!r!r"rs cCs|jS)z **[Required]** Gets the availability_domain of this DbInstance. The availability domain in which the database instance node is located. :return: The availability_domain of this DbInstance. :rtype: str rr%r!r!r"rs zDbInstance.availability_domaincCs ||_dS)z Sets the availability_domain of this DbInstance. The availability domain in which the database instance node is located. :param availability_domain: The availability_domain of this DbInstance. :type: str Nr()rrr!r!r"rs cCs|jS)a **[Required]** Gets the lifecycle_state of this DbInstance. The current state of the database instance node. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this DbInstance. :rtype: str )rr%r!r!r"rs zDbInstance.lifecycle_statecCs gd}t||sd}||_dS)z Sets the lifecycle_state of this DbInstance. The current state of the database instance node. :param lifecycle_state: The lifecycle_state of this DbInstance. :type: str )rrr r r r r ZUNKNOWN_ENUM_VALUEN)rr)rrZallowed_valuesr!r!r"rs  cCs|jS)a+ Gets the lifecycle_details of this DbInstance. 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 DbInstance. :rtype: str rr%r!r!r"rs zDbInstance.lifecycle_detailscCs ||_dS)a; Sets the lifecycle_details of this DbInstance. 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 DbInstance. :type: str Nr))rrr!r!r"rs cCs|jS)ar **[Required]** Gets the time_created of this DbInstance. The date and time that the database instance node 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 DbInstance. :rtype: datetime rr%r!r!r"r szDbInstance.time_createdcCs ||_dS)an Sets the time_created of this DbInstance. The date and time that the database instance node 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 DbInstance. :type: datetime Nr*)rrr!r!r"rscCs|jS)ac Gets the time_updated of this DbInstance. The date and time that the database instance node 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 DbInstance. :rtype: datetime rr%r!r!r"r-szDbInstance.time_updatedcCs ||_dS)an Sets the time_updated of this DbInstance. The date and time that the database instance node 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 DbInstance. :type: datetime Nr+)rrr!r!r"r>scCst|SN)rr%r!r!r"__repr__OszDbInstance.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherr!r!r"__eq__RszDbInstance.__eq__cCs ||k Sr,r!r/r!r!r"__ne__XszDbInstance.__ne__N)__name__ __module__ __qualname____doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDr#propertyrsetterrrrrrrrr-r1r2r!r!r!r"r sXG                rN)Zoci.utilrrrZoci.decoratorsrobjectrr!r!r!r"s