o
    ëÉ¶djC  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sÒ  e Zd ZdZdZdZdZdZdZdZ	dZ
d	d
„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZed d!„ ƒZejd"d!„ ƒZed#d$„ ƒZejd%d$„ ƒZed&d'„ ƒZejd(d'„ ƒZed)d*„ ƒZejd+d*„ ƒZed,d-„ ƒZejd.d-„ ƒZed/d0„ ƒZejd1d0„ ƒZed2d3„ ƒZejd4d3„ ƒZed5d6„ ƒZejd7d6„ ƒZd8d9„ Zd:d;„ Zd<d=„ Zd>S )?ÚTablez*
    Complete metadata about a table.
    ÚCREATINGÚUPDATINGÚACTIVEÚDELETINGÚDELETEDÚFAILEDÚINACTIVEc                 K   sª   ddddddddddddddddœ| _ d	d
ddddddddddddddœ| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _d| _d| _d| _d| _d| _dS )aJ
  
        Initializes a new Table 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 Table.
        :type id: str

        :param name:
            The value to assign to the name property of this Table.
        :type name: str

        :param compartment_id:
            The value to assign to the compartment_id property of this Table.
        :type compartment_id: str

        :param time_created:
            The value to assign to the time_created property of this Table.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this Table.
        :type time_updated: datetime

        :param table_limits:
            The value to assign to the table_limits property of this Table.
        :type table_limits: oci.nosql.models.TableLimits

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Table.
            Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "INACTIVE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param is_auto_reclaimable:
            The value to assign to the is_auto_reclaimable property of this Table.
        :type is_auto_reclaimable: bool

        :param time_of_expiration:
            The value to assign to the time_of_expiration property of this Table.
        :type time_of_expiration: datetime

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this Table.
        :type lifecycle_details: str

        :param schema:
            The value to assign to the schema property of this Table.
        :type schema: oci.nosql.models.Schema

        :param ddl_statement:
            The value to assign to the ddl_statement property of this Table.
        :type ddl_statement: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this Table.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this Table.
        :type defined_tags: dict(str, dict(str, object))

        :param system_tags:
            The value to assign to the system_tags property of this Table.
        :type system_tags: dict(str, dict(str, object))

        ÚstrÚdatetimeZTableLimitsÚboolZSchemazdict(str, str)zdict(str, dict(str, object)))ÚidÚnameÚcompartment_idÚtime_createdÚtime_updatedÚtable_limitsÚlifecycle_stateÚis_auto_reclaimableÚtime_of_expirationÚlifecycle_detailsÚschemaÚddl_statementÚfreeform_tagsÚdefined_tagsÚsystem_tagsr   r   ZcompartmentIdZtimeCreatedZtimeUpdatedZtableLimitsZlifecycleStateZisAutoReclaimableZtimeOfExpirationZlifecycleDetailsr   ZddlStatementZfreeformTagsZdefinedTagsZ
systemTagsN)Zswagger_typesZattribute_mapÚ_idÚ_nameÚ_compartment_idÚ_time_createdÚ_time_updatedÚ_table_limitsÚ_lifecycle_stateÚ_is_auto_reclaimableÚ_time_of_expirationÚ_lifecycle_detailsÚ_schemaÚ_ddl_statementÚ_freeform_tagsÚ_defined_tagsÚ_system_tags)ÚselfÚkwargs© r1   ú:usr/lib/python3.10/site-packages/oci/nosql/models/table.pyÚ__init__.   s^   Eññ
zTable.__init__c                 C   ó   | j S )z¥
        **[Required]** Gets the id of this Table.
        Unique identifier that is immutable.


        :return: The id of this Table.
        :rtype: str
        ©r    ©r/   r1   r1   r2   r   ¦   ó   
zTable.idc                 C   ó
   || _ dS )z—
        Sets the id of this Table.
        Unique identifier that is immutable.


        :param id: The id of this Table.
        :type: str
        Nr5   )r/   r   r1   r1   r2   r   ²   ó   

c                 C   r4   )z›
        Gets the name of this Table.
        Human-friendly table name, immutable.


        :return: The name of this Table.
        :rtype: str
        ©r!   r6   r1   r1   r2   r   ¾   r7   z
Table.namec                 C   r8   )zž
        Sets the name of this Table.
        Human-friendly table name, immutable.


        :param name: The name of this Table.
        :type: str
        Nr:   )r/   r   r1   r1   r2   r   Ê   r9   c                 C   r4   )z°
        **[Required]** Gets the compartment_id of this Table.
        Compartment Identifier.


        :return: The compartment_id of this Table.
        :rtype: str
        ©r"   r6   r1   r1   r2   r   Ö   r7   zTable.compartment_idc                 C   r8   )z®
        Sets the compartment_id of this Table.
        Compartment Identifier.


        :param compartment_id: The compartment_id of this Table.
        :type: str
        Nr;   )r/   r   r1   r1   r2   r   â   r9   c                 C   r4   )zÜ
        Gets the time_created of this Table.
        The time the the table was created. An RFC3339 formatted
        datetime string.


        :return: The time_created of this Table.
        :rtype: datetime
        ©r#   r6   r1   r1   r2   r   î   ó   zTable.time_createdc                 C   r8   )zç
        Sets the time_created of this Table.
        The time the the table was created. An RFC3339 formatted
        datetime string.


        :param time_created: The time_created of this Table.
        :type: datetime
        Nr<   )r/   r   r1   r1   r2   r   û   ó   
c                 C   r4   )zì
        Gets the time_updated of this Table.
        The time the the table's metadata was last updated. An
        RFC3339 formatted datetime string.


        :return: The time_updated of this Table.
        :rtype: datetime
        ©r$   r6   r1   r1   r2   r     r=   zTable.time_updatedc                 C   r8   )z÷
        Sets the time_updated of this Table.
        The time the the table's metadata was last updated. An
        RFC3339 formatted datetime string.


        :param time_updated: The time_updated of this Table.
        :type: datetime
        Nr?   )r/   r   r1   r1   r2   r     r>   c                 C   r4   )z•
        Gets the table_limits of this Table.

        :return: The table_limits of this Table.
        :rtype: oci.nosql.models.TableLimits
        ©r%   r6   r1   r1   r2   r   "  ó   zTable.table_limitsc                 C   r8   )z 
        Sets the table_limits of this Table.

        :param table_limits: The table_limits of this Table.
        :type: oci.nosql.models.TableLimits
        Nr@   )r/   r   r1   r1   r2   r   ,  ó   
c                 C   r4   )a“  
        Gets the lifecycle_state of this Table.
        The state of a table.

        Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "INACTIVE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Table.
        :rtype: str
        )r&   r6   r1   r1   r2   r   6  s   zTable.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )z¯
        Sets the lifecycle_state of this Table.
        The state of a table.


        :param lifecycle_state: The lifecycle_state of this Table.
        :type: str
        )r   r   r	   r
   r   r   r   ZUNKNOWN_ENUM_VALUEN)r   r&   )r/   r   Zallowed_valuesr1   r1   r2   r   E  s   


c                 C   r4   )zÎ
        Gets the is_auto_reclaimable of this Table.
        True if this table can be reclaimed after an idle period.


        :return: The is_auto_reclaimable of this Table.
        :rtype: bool
        ©r'   r6   r1   r1   r2   r   T  r7   zTable.is_auto_reclaimablec                 C   r8   )zà
        Sets the is_auto_reclaimable of this Table.
        True if this table can be reclaimed after an idle period.


        :param is_auto_reclaimable: The is_auto_reclaimable of this Table.
        :type: bool
        NrC   )r/   r   r1   r1   r2   r   `  r9   c                 C   r4   )a$  
        Gets the time_of_expiration of this Table.
        If lifecycleState is INACTIVE, indicates when
        this table will be automatically removed.
        An RFC3339 formatted datetime string.


        :return: The time_of_expiration of this Table.
        :rtype: datetime
        ©r(   r6   r1   r1   r2   r   l  ó   zTable.time_of_expirationc                 C   r8   )a5  
        Sets the time_of_expiration of this Table.
        If lifecycleState is INACTIVE, indicates when
        this table will be automatically removed.
        An RFC3339 formatted datetime string.


        :param time_of_expiration: The time_of_expiration of this Table.
        :type: datetime
        NrD   )r/   r   r1   r1   r2   r   z  ó   
c                 C   r4   )zÆ
        Gets the lifecycle_details of this Table.
        A message describing the current state in more detail.


        :return: The lifecycle_details of this Table.
        :rtype: str
        ©r)   r6   r1   r1   r2   r   ˆ  r7   zTable.lifecycle_detailsc                 C   r8   )zÖ
        Sets the lifecycle_details of this Table.
        A message describing the current state in more detail.


        :param lifecycle_details: The lifecycle_details of this Table.
        :type: str
        NrG   )r/   r   r1   r1   r2   r   ”  r9   c                 C   r4   )z„
        Gets the schema of this Table.

        :return: The schema of this Table.
        :rtype: oci.nosql.models.Schema
        ©r*   r6   r1   r1   r2   r      rA   zTable.schemac                 C   r8   )z‰
        Sets the schema of this Table.

        :param schema: The schema of this Table.
        :type: oci.nosql.models.Schema
        NrH   )r/   r   r1   r1   r2   r   ª  rB   c                 C   r4   )z°
        Gets the ddl_statement of this Table.
        A DDL statement representing the schema.


        :return: The ddl_statement of this Table.
        :rtype: str
        ©r+   r6   r1   r1   r2   r   ´  r7   zTable.ddl_statementc                 C   r8   )z¼
        Sets the ddl_statement of this Table.
        A DDL statement representing the schema.


        :param ddl_statement: The ddl_statement of this Table.
        :type: str
        NrI   )r/   r   r1   r1   r2   r   À  r9   c                 C   r4   )a9  
        Gets the freeform_tags of this Table.
        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 Table.
        :rtype: dict(str, str)
        ©r,   r6   r1   r1   r2   r   Ì  rE   zTable.freeform_tagsc                 C   r8   )aE  
        Sets the freeform_tags of this Table.
        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 Table.
        :type: dict(str, str)
        NrJ   )r/   r   r1   r1   r2   r   Ú  rF   c                 C   r4   )a4  
        Gets the defined_tags of this Table.
        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 Table.
        :rtype: dict(str, dict(str, object))
        ©r-   r6   r1   r1   r2   r   è  rE   zTable.defined_tagsc                 C   r8   )a?  
        Sets the defined_tags of this Table.
        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 Table.
        :type: dict(str, dict(str, object))
        NrK   )r/   r   r1   r1   r2   r   ö  rF   c                 C   r4   )a·  
        Gets the system_tags of this Table.
        Read-only system tag. These predefined keys are scoped to
        namespaces.  At present the only supported namespace is
        `"orcl-cloud"`; and the only key in that namespace is
        `"free-tier-retained"`.
        Example: `{"orcl-cloud"": {"free-tier-retained": "true"}}`


        :return: The system_tags of this Table.
        :rtype: dict(str, dict(str, object))
        ©r.   r6   r1   r1   r2   r     s   zTable.system_tagsc                 C   r8   )aÁ  
        Sets the system_tags of this Table.
        Read-only system tag. These predefined keys are scoped to
        namespaces.  At present the only supported namespace is
        `"orcl-cloud"`; and the only key in that namespace is
        `"free-tier-retained"`.
        Example: `{"orcl-cloud"": {"free-tier-retained": "true"}}`


        :param system_tags: The system_tags of this Table.
        :type: dict(str, dict(str, object))
        NrL   )r/   r   r1   r1   r2   r     s   
c                 C   s   t | ƒS ©N)r   r6   r1   r1   r2   Ú__repr__$  s   zTable.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r/   Úotherr1   r1   r2   Ú__eq__'  s   zTable.__eq__c                 C   s
   | |k S rM   r1   rP   r1   r1   r2   Ú__ne__-  s   
zTable.__ne__N) Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_INACTIVEr3   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   r   r   rN   rR   rS   r1   r1   r1   r2   r      s’    x










	
	








	
	







r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r1   r1   r1   r2   Ú<module>   s   