ruạṛ
a N��f#P � @ 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 dZdZd Z d ZdZdZd ZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zed-d.� �Z e jd/d.� �Z ed0d1� �Z!e!jd2d1� �Z!ed3d4� �Z"e"jd5d4� �Z"ed6d7� �Z#e#jd8d7� �Z#ed9d:� �Z$e$jd;d:� �Z$ed<d=� �Z%e%jd>d=� �Z%d?d@� Z&dAdB� Z'dCdD� Z(dES )F�Datafilez% The details of a data file. � AVAILABLE�INVALID�OFFLINE�ONLINE�UNKNOWN�SYSOFF�SYSTEM�RECOVER�ENABLED�PROTECT_OFF�SUSPEND�SHARED� LOCAL_FOR_RIM� LOCAL_FOR_ALLc K s� dddddddddddddddd�| _ ddddd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a� Initializes a new Datafile object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this Datafile. :type name: str :param status: The value to assign to the status property of this Datafile. Allowed values for this property are: "AVAILABLE", "INVALID", "OFFLINE", "ONLINE", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param online_status: The value to assign to the online_status property of this Datafile. Allowed values for this property are: "SYSOFF", "SYSTEM", "OFFLINE", "ONLINE", "RECOVER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type online_status: str :param is_auto_extensible: The value to assign to the is_auto_extensible property of this Datafile. :type is_auto_extensible: bool :param lost_write_protect: The value to assign to the lost_write_protect property of this Datafile. Allowed values for this property are: "ENABLED", "PROTECT_OFF", "SUSPEND", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lost_write_protect: str :param shared: The value to assign to the shared property of this Datafile. Allowed values for this property are: "SHARED", "LOCAL_FOR_RIM", "LOCAL_FOR_ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type shared: str :param instance_id: The value to assign to the instance_id property of this Datafile. :type instance_id: float :param max_size_kb: The value to assign to the max_size_kb property of this Datafile. :type max_size_kb: float :param allocated_size_kb: The value to assign to the allocated_size_kb property of this Datafile. :type allocated_size_kb: float :param user_size_kb: The value to assign to the user_size_kb property of this Datafile. :type user_size_kb: float :param increment_by: The value to assign to the increment_by property of this Datafile. :type increment_by: float :param free_space_kb: The value to assign to the free_space_kb property of this Datafile. :type free_space_kb: float :param used_space_kb: The value to assign to the used_space_kb property of this Datafile. :type used_space_kb: float :param used_percent_available: The value to assign to the used_percent_available property of this Datafile. :type used_percent_available: float :param used_percent_allocated: The value to assign to the used_percent_allocated property of this Datafile. :type used_percent_allocated: float �str�bool�float)�name�status� online_status�is_auto_extensible�lost_write_protect�shared�instance_id�max_size_kb�allocated_size_kb�user_size_kb�increment_by� free_space_kb� used_space_kb�used_percent_available�used_percent_allocatedr r �onlineStatus�isAutoExtensible�lostWriteProtectr � instanceId� maxSizeKB�allocatedSizeKB� userSizeKB�incrementBy�freeSpaceKB�usedSpaceKB�usedPercentAvailable�usedPercentAllocatedN)� swagger_types� attribute_map�_name�_status�_online_status�_is_auto_extensible�_lost_write_protect�_shared�_instance_id�_max_size_kb�_allocated_size_kb� _user_size_kb� _increment_by�_free_space_kb�_used_space_kb�_used_percent_available�_used_percent_allocated)�self�kwargs� rF ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_management/models/datafile.py�__init__P s^ K��zDatafile.__init__c C s | j S )z� **[Required]** Gets the name of this Datafile. The filename (including the path) of the data file or temp file. :return: The name of this Datafile. :rtype: str �r5 �rD rF rF rG r � s z Datafile.namec C s || _ dS )z� Sets the name of this Datafile. The filename (including the path) of the data file or temp file. :param name: The name of this Datafile. :type: str NrI )rD r rF rF rG r � s c C s | j S )a� Gets the status of this Datafile. The status of the file. INVALID status is used when the file number is not in use, for example, a file in a tablespace that was removed. Allowed values for this property are: "AVAILABLE", "INVALID", "OFFLINE", "ONLINE", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this Datafile. :rtype: str )r6 rJ rF rF rG r � s zDatafile.statusc C s g d�}t ||�sd}|| _dS )a Sets the status of this Datafile. The status of the file. INVALID status is used when the file number is not in use, for example, a file in a tablespace that was removed. :param status: The status of this Datafile. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r6 )rD r �allowed_valuesrF rF rG r � s c C s | j S )a� Gets the online_status of this Datafile. The online status of the file. Allowed values for this property are: "SYSOFF", "SYSTEM", "OFFLINE", "ONLINE", "RECOVER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The online_status of this Datafile. :rtype: str )r7 rJ rF rF rG r s zDatafile.online_statusc C s g d�}t ||�sd}|| _dS )z� Sets the online_status of this Datafile. The online status of the file. :param online_status: The online_status of this Datafile. :type: str )r r r r r rK N)r r7 )rD r rL rF rF rG r s c C s | j S )z� Gets the is_auto_extensible of this Datafile. Indicates whether the data file is auto-extensible. :return: The is_auto_extensible of this Datafile. :rtype: bool �r8 rJ rF rF rG r " s zDatafile.is_auto_extensiblec C s || _ dS )z� Sets the is_auto_extensible of this Datafile. Indicates whether the data file is auto-extensible. :param is_auto_extensible: The is_auto_extensible of this Datafile. :type: bool NrM )rD r rF rF rG r . s c C s | j S )a� Gets the lost_write_protect of this Datafile. The lost write protection status of the file. Allowed values for this property are: "ENABLED", "PROTECT_OFF", "SUSPEND", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lost_write_protect of this Datafile. :rtype: str )r9 rJ rF rF rG r : s zDatafile.lost_write_protectc C s g d�}t ||�sd}|| _dS )z� Sets the lost_write_protect of this Datafile. The lost write protection status of the file. :param lost_write_protect: The lost_write_protect of this Datafile. :type: str )r r r rK N)r r9 )rD r rL rF rF rG r I s c C s | j S )a Gets the shared of this Datafile. Type of tablespace this file belongs to. If it's for a shared tablespace, for a local temporary tablespace for RIM (read-only) instances, or for local temporary tablespace for all instance types. Allowed values for this property are: "SHARED", "LOCAL_FOR_RIM", "LOCAL_FOR_ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The shared of this Datafile. :rtype: str )r: rJ rF rF rG r X s zDatafile.sharedc C s g d�}t ||�sd}|| _dS )aH Sets the shared of this Datafile. Type of tablespace this file belongs to. If it's for a shared tablespace, for a local temporary tablespace for RIM (read-only) instances, or for local temporary tablespace for all instance types. :param shared: The shared of this Datafile. :type: str )r r r rK N)r r: )rD r rL rF rF rG r g s c C s | j S )a Gets the instance_id of this Datafile. Instance ID of the instance to which the temp file belongs. This column has a NULL value for temp files that belong to shared tablespaces. :return: The instance_id of this Datafile. :rtype: float �r; rJ rF rF rG r v s zDatafile.instance_idc C s || _ dS )a Sets the instance_id of this Datafile. Instance ID of the instance to which the temp file belongs. This column has a NULL value for temp files that belong to shared tablespaces. :param instance_id: The instance_id of this Datafile. :type: float NrN )rD r rF rF rG r � s c C s | j S )z� Gets the max_size_kb of this Datafile. The maximum file size in KB. :return: The max_size_kb of this Datafile. :rtype: float �r<