ruạṛ
a ���fBr � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dd � Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zed;d<� �Z e jd=d<� �Z ed>d?� �Z!e!jd@d?� �Z!edAdB� �Z"e"jdCdB� �Z"edDdE� �Z#e#jdFdE� �Z#edGdH� �Z$e$jdIdH� �Z$edJdK� �Z%e%jdLdK� �Z%edMdN� �Z&e&jdOdN� �Z&dPdQ� Z'dRdS� Z(dTdU� Z)dVS )W�CreateTablespaceDetailsz� The details required to create a tablespace. It takes either credentialDetails or databaseCredential. It's recommended to provide databaseCredential � PERMANENT� TEMPORARY�NO_COMPRESS�BASIC_COMPRESS� READ_ONLY� READ_WRITE�AUTOALLOCATE�UNIFORM�AUTO�MANUALc K s� ddddddddddddddddddddddd�| _ d d ddd dddddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new CreateTablespaceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param credential_details: The value to assign to the credential_details property of this CreateTablespaceDetails. :type credential_details: oci.database_management.models.TablespaceAdminCredentialDetails :param database_credential: The value to assign to the database_credential property of this CreateTablespaceDetails. :type database_credential: oci.database_management.models.DatabaseCredentialDetails :param name: The value to assign to the name property of this CreateTablespaceDetails. :type name: str :param type: The value to assign to the type property of this CreateTablespaceDetails. Allowed values for this property are: "PERMANENT", "TEMPORARY" :type type: str :param is_bigfile: The value to assign to the is_bigfile property of this CreateTablespaceDetails. :type is_bigfile: bool :param data_files: The value to assign to the data_files property of this CreateTablespaceDetails. :type data_files: list[str] :param file_count: The value to assign to the file_count property of this CreateTablespaceDetails. :type file_count: int :param file_size: The value to assign to the file_size property of this CreateTablespaceDetails. :type file_size: oci.database_management.models.TablespaceStorageSize :param is_reusable: The value to assign to the is_reusable property of this CreateTablespaceDetails. :type is_reusable: bool :param is_auto_extensible: The value to assign to the is_auto_extensible property of this CreateTablespaceDetails. :type is_auto_extensible: bool :param auto_extend_next_size: The value to assign to the auto_extend_next_size property of this CreateTablespaceDetails. :type auto_extend_next_size: oci.database_management.models.TablespaceStorageSize :param auto_extend_max_size: The value to assign to the auto_extend_max_size property of this CreateTablespaceDetails. :type auto_extend_max_size: oci.database_management.models.TablespaceStorageSize :param is_max_size_unlimited: The value to assign to the is_max_size_unlimited property of this CreateTablespaceDetails. :type is_max_size_unlimited: bool :param block_size_in_kilobytes: The value to assign to the block_size_in_kilobytes property of this CreateTablespaceDetails. :type block_size_in_kilobytes: int :param is_encrypted: The value to assign to the is_encrypted property of this CreateTablespaceDetails. :type is_encrypted: bool :param encryption_algorithm: The value to assign to the encryption_algorithm property of this CreateTablespaceDetails. :type encryption_algorithm: str :param default_compress: The value to assign to the default_compress property of this CreateTablespaceDetails. Allowed values for this property are: "NO_COMPRESS", "BASIC_COMPRESS" :type default_compress: str :param status: The value to assign to the status property of this CreateTablespaceDetails. Allowed values for this property are: "READ_ONLY", "READ_WRITE" :type status: str :param extent_management: The value to assign to the extent_management property of this CreateTablespaceDetails. Allowed values for this property are: "AUTOALLOCATE", "UNIFORM" :type extent_management: str :param extent_uniform_size: The value to assign to the extent_uniform_size property of this CreateTablespaceDetails. :type extent_uniform_size: oci.database_management.models.TablespaceStorageSize :param segment_management: The value to assign to the segment_management property of this CreateTablespaceDetails. Allowed values for this property are: "AUTO", "MANUAL" :type segment_management: str :param is_default: The value to assign to the is_default property of this CreateTablespaceDetails. :type is_default: bool Z TablespaceAdminCredentialDetailsZDatabaseCredentialDetails�str�boolz list[str]�intZTablespaceStorageSize)�credential_details�database_credential�name�type� is_bigfile� data_files� file_count� file_size�is_reusable�is_auto_extensible�auto_extend_next_size�auto_extend_max_size�is_max_size_unlimited�block_size_in_kilobytes�is_encrypted�encryption_algorithm�default_compress�status�extent_management�extent_uniform_size�segment_management� is_defaultZcredentialDetailsZdatabaseCredentialr r Z isBigfileZ dataFilesZ fileCountZfileSizeZ isReusableZisAutoExtensibleZautoExtendNextSizeZautoExtendMaxSizeZisMaxSizeUnlimitedZblockSizeInKilobytesZisEncryptedZencryptionAlgorithmZdefaultCompressr% ZextentManagementZextentUniformSizeZsegmentManagementZ isDefaultN)Z swagger_typesZ attribute_map�_credential_details�_database_credential�_name�_type�_is_bigfile�_data_files�_file_count� _file_size�_is_reusable�_is_auto_extensible�_auto_extend_next_size�_auto_extend_max_size�_is_max_size_unlimited�_block_size_in_kilobytes� _is_encrypted�_encryption_algorithm�_default_compress�_status�_extent_management�_extent_uniform_size�_segment_management�_is_default)�self�kwargs� rB �\/usr/lib/python3.9/site-packages/oci/database_management/models/create_tablespace_details.py�__init__; s� d��z CreateTablespaceDetails.__init__c C s | j S )z� Gets the credential_details of this CreateTablespaceDetails. :return: The credential_details of this CreateTablespaceDetails. :rtype: oci.database_management.models.TablespaceAdminCredentialDetails �r* �r@ rB rB rC r � s z*CreateTablespaceDetails.credential_detailsc C s || _ dS )z� Sets the credential_details of this CreateTablespaceDetails. :param credential_details: The credential_details of this CreateTablespaceDetails. :type: oci.database_management.models.TablespaceAdminCredentialDetails NrE )r@ r rB rB rC r � s c C s | j S )z� Gets the database_credential of this CreateTablespaceDetails. :return: The database_credential of this CreateTablespaceDetails. :rtype: oci.database_management.models.DatabaseCredentialDetails �r+ rF rB rB rC r � s z+CreateTablespaceDetails.database_credentialc C s || _ dS )z� Sets the database_credential of this CreateTablespaceDetails. :param database_credential: The database_credential of this CreateTablespaceDetails. :type: oci.database_management.models.DatabaseCredentialDetails NrG )r@ r rB rB rC r s c C s | j S )z� **[Required]** Gets the name of this CreateTablespaceDetails. The name of the tablespace. It must be unique within a database. :return: The name of this CreateTablespaceDetails. :rtype: str �r, rF rB rB rC r s zCreateTablespaceDetails.namec C s || _ dS )z� Sets the name of this CreateTablespaceDetails. The name of the tablespace. It must be unique within a database. :param name: The name of this CreateTablespaceDetails. :type: str NrH )r@ r rB rB rC r s c C s | j S )z� Gets the type of this CreateTablespaceDetails. The type of tablespace. Allowed values for this property are: "PERMANENT", "TEMPORARY" :return: The type of this CreateTablespaceDetails. :rtype: str )r- rF rB rB rC r ' s zCreateTablespaceDetails.typec C s* ddg}t ||�s td|� ���|| _dS )z� Sets the type of this CreateTablespaceDetails. The type of tablespace. :param type: The type of this CreateTablespaceDetails. :type: str r r z1Invalid value for `type`, must be None or one of N)r � ValueErrorr- )r@ r �allowed_valuesrB rB rC r 5 s �c C s | j S )a, Gets the is_bigfile of this CreateTablespaceDetails. Specifies whether the tablespace is a bigfile or smallfile tablespace. A bigfile tablespace contains only one data file or temp file, which can contain up to approximately 4 billion (232) blocks. A smallfile tablespace is a traditional Oracle tablespace, which can contain 1022 data files or temp files, each of which can contain up to approximately 4 million (222) blocks. :return: The is_bigfile of this CreateTablespaceDetails. :rtype: bool �r. rF rB rB rC r F s z"CreateTablespaceDetails.is_bigfilec C s || _ dS )a5 Sets the is_bigfile of this CreateTablespaceDetails. Specifies whether the tablespace is a bigfile or smallfile tablespace. A bigfile tablespace contains only one data file or temp file, which can contain up to approximately 4 billion (232) blocks. A smallfile tablespace is a traditional Oracle tablespace, which can contain 1022 data files or temp files, each of which can contain up to approximately 4 million (222) blocks. :param is_bigfile: The is_bigfile of this CreateTablespaceDetails. :type: bool NrK )r@ r rB rB rC r T s c C s | j S )z� Gets the data_files of this CreateTablespaceDetails. The list of data files or temp files created for the tablespace. :return: The data_files of this CreateTablespaceDetails. :rtype: list[str] �r/ rF rB rB rC r b s z"CreateTablespaceDetails.data_filesc C s || _ dS )z� Sets the data_files of this CreateTablespaceDetails. The list of data files or temp files created for the tablespace. :param data_files: The data_files of this CreateTablespaceDetails. :type: list[str] NrL )r@ r rB rB rC r n s c C s | j S )a Gets the file_count of this CreateTablespaceDetails. The number of data files or temp files created for the tablespace. This is for Oracle Managed Files only. :return: The file_count of this CreateTablespaceDetails. :rtype: int �r0 rF rB rB rC r z s z"CreateTablespaceDetails.file_countc C s || _ dS )a Sets the file_count of this CreateTablespaceDetails. The number of data files or temp files created for the tablespace. This is for Oracle Managed Files only. :param file_count: The file_count of this CreateTablespaceDetails. :type: int NrM )r@ r rB rB rC r � s c C s | j S )z� Gets the file_size of this CreateTablespaceDetails. The size of each data file or temp file. :return: The file_size of this CreateTablespaceDetails. :rtype: oci.database_management.models.TablespaceStorageSize �r1 rF rB rB rC r � s z!CreateTablespaceDetails.file_sizec C s || _ dS )a Sets the file_size of this CreateTablespaceDetails. The size of each data file or temp file. :param file_size: The file_size of this CreateTablespaceDetails. :type: oci.database_management.models.TablespaceStorageSize NrN )r@ r rB rB rC r � s c C s | j S )a Gets the is_reusable of this CreateTablespaceDetails. Specifies whether Oracle can reuse the data file or temp file. Reuse is only allowed when the file name is provided. :return: The is_reusable of this CreateTablespaceDetails. :rtype: bool �r2 rF rB rB rC r � s z#CreateTablespaceDetails.is_reusablec C s || _ dS )a' Sets the is_reusable of this CreateTablespaceDetails. Specifies whether Oracle can reuse the data file or temp file. Reuse is only allowed when the file name is provided. :param is_reusable: The is_reusable of this CreateTablespaceDetails. :type: bool NrO )r@ r rB rB rC r � s c C s | j S )a Gets the is_auto_extensible of this CreateTablespaceDetails. Specifies whether the data file or temp file can be extended automatically. :return: The is_auto_extensible of this CreateTablespaceDetails. :rtype: bool �r3 rF rB rB rC r � s z*CreateTablespaceDetails.is_auto_extensiblec C s || _ dS )a Sets the is_auto_extensible of this CreateTablespaceDetails. Specifies whether the data file or temp file can be extended automatically. :param is_auto_extensible: The is_auto_extensible of this CreateTablespaceDetails. :type: bool NrP )r@ r rB rB rC r � s c C s | j S )aW Gets the auto_extend_next_size of this CreateTablespaceDetails. The size of the next increment of disk space to be allocated automatically when more extents are required. :return: The auto_extend_next_size of this CreateTablespaceDetails. :rtype: oci.database_management.models.TablespaceStorageSize �r4 rF rB rB rC r � s z-CreateTablespaceDetails.auto_extend_next_sizec C s || _ dS )ak Sets the auto_extend_next_size of this CreateTablespaceDetails. The size of the next increment of disk space to be allocated automatically when more extents are required. :param auto_extend_next_size: The auto_extend_next_size of this CreateTablespaceDetails. :type: oci.database_management.models.TablespaceStorageSize NrQ )r@ r rB rB rC r � s c C s | j S )aB Gets the auto_extend_max_size of this CreateTablespaceDetails. The maximum disk space allowed for automatic extension of the data files or temp files. :return: The auto_extend_max_size of this CreateTablespaceDetails. :rtype: oci.database_management.models.TablespaceStorageSize �r5 rF rB rB rC r � s z,CreateTablespaceDetails.auto_extend_max_sizec C s || _ dS )aU Sets the auto_extend_max_size of this CreateTablespaceDetails. The maximum disk space allowed for automatic extension of the data files or temp files. :param auto_extend_max_size: The auto_extend_max_size of this CreateTablespaceDetails. :type: oci.database_management.models.TablespaceStorageSize NrR )r@ r rB rB rC r � s c C s | j S )a Gets the is_max_size_unlimited of this CreateTablespaceDetails. Specifies whether the disk space of the data file or temp file can be limited. :return: The is_max_size_unlimited of this CreateTablespaceDetails. :rtype: bool �r6 rF rB rB rC r s z-CreateTablespaceDetails.is_max_size_unlimitedc C s || _ dS )a Sets the is_max_size_unlimited of this CreateTablespaceDetails. Specifies whether the disk space of the data file or temp file can be limited. :param is_max_size_unlimited: The is_max_size_unlimited of this CreateTablespaceDetails. :type: bool NrS )r@ r rB rB rC r s c C s | j S )z� Gets the block_size_in_kilobytes of this CreateTablespaceDetails. Block size for the tablespace. :return: The block_size_in_kilobytes of this CreateTablespaceDetails. :rtype: int �r7 rF rB rB rC r! " s z/CreateTablespaceDetails.block_size_in_kilobytesc C s || _ dS )z� Sets the block_size_in_kilobytes of this CreateTablespaceDetails. Block size for the tablespace. :param block_size_in_kilobytes: The block_size_in_kilobytes of this CreateTablespaceDetails. :type: int NrT )r@ r! rB rB rC r! . s c C s | j S )z� Gets the is_encrypted of this CreateTablespaceDetails. Indicates whether the tablespace is encrypted. :return: The is_encrypted of this CreateTablespaceDetails. :rtype: bool �r8 rF rB rB rC r"