a f@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZddZeddZeddZej ddZed d Z e j d d Z ed d Z e j dd Z ddZ ddZ ddZdS)StorageDetailsz1 Storage details of the database system. cKs2dddd|_dddd|_d|_d|_d|_dS)a Initializes a new StorageDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.psql.models.OciOptimizedStorageDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param system_type: The value to assign to the system_type property of this StorageDetails. :type system_type: str :param is_regionally_durable: The value to assign to the is_regionally_durable property of this StorageDetails. :type is_regionally_durable: bool :param availability_domain: The value to assign to the availability_domain property of this StorageDetails. :type availability_domain: str strbool) system_typeis_regionally_durableavailability_domain systemTypeZisRegionallyDurableZavailabilityDomainN)Z swagger_typesZ attribute_map _system_type_is_regionally_durable_availability_domain)selfkwargsrC/usr/lib/python3.9/site-packages/oci/psql/models/storage_details.py__init__szStorageDetails.__init__cCs|d}|dkrdSdSdS)z Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r ZOCI_OPTIMIZED_STORAGEZOciOptimizedStorageDetailsrNr)Zobject_dictionarytyperrr get_subtype8szStorageDetails.get_subtypecCs|jS)z **[Required]** Gets the system_type of this StorageDetails. Type of the database system. :return: The system_type of this StorageDetails. :rtype: str r rrrrr Es zStorageDetails.system_typecCs ||_dS)z Sets the system_type of this StorageDetails. Type of the database system. :param system_type: The system_type of this StorageDetails. :type: str Nr)rr rrrr Qs cCs|jS)a **[Required]** Gets the is_regionally_durable of this StorageDetails. Specifies if the block volume used for the database system is regional or AD-local. If not specified, it will be set to false. If `isRegionallyDurable` is set to true, `availabilityDomain` should not be specified. If `isRegionallyDurable` is set to false, `availabilityDomain` must be specified. :return: The is_regionally_durable of this StorageDetails. :rtype: bool rrrrrr ]s z$StorageDetails.is_regionally_durablecCs ||_dS)a Sets the is_regionally_durable of this StorageDetails. Specifies if the block volume used for the database system is regional or AD-local. If not specified, it will be set to false. If `isRegionallyDurable` is set to true, `availabilityDomain` should not be specified. If `isRegionallyDurable` is set to false, `availabilityDomain` must be specified. :param is_regionally_durable: The is_regionally_durable of this StorageDetails. :type: bool Nr)rr rrrr ls cCs|jS)a Gets the availability_domain of this StorageDetails. Specifies the availability domain of AD-local storage. If `isRegionallyDurable` is set to true, `availabilityDomain` should not be specified. If `isRegionallyDurable` is set to false, `availabilityDomain` must be specified. :return: The availability_domain of this StorageDetails. :rtype: str rrrrrr {s z"StorageDetails.availability_domaincCs ||_dS)a Sets the availability_domain of this StorageDetails. Specifies the availability domain of AD-local storage. If `isRegionallyDurable` is set to true, `availabilityDomain` should not be specified. If `isRegionallyDurable` is set to false, `availabilityDomain` must be specified. :param availability_domain: The availability_domain of this StorageDetails. :type: str Nr)rr rrrr s cCst|SN)rrrrr__repr__szStorageDetails.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherrrr__eq__szStorageDetails.__eq__cCs ||k Srrrrrr__ne__szStorageDetails.__ne__N)__name__ __module__ __qualname____doc__r staticmethodrpropertyr setterr r rr r!rrrrr s&&       rN)Zoci.utilrrrZoci.decoratorsrobjectrrrrrs