o
    ɶd4                     @   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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(d) Zejd*d) Zed+d, Zejd-d, Zd.d/ Zd0d1 Zd2d3 Zd4S )5Schemaz
    The schema object.
    c                 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S )a  
        Initializes a new Schema object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param key:
            The value to assign to the key property of this Schema.
        :type key: str

        :param model_type:
            The value to assign to the model_type property of this Schema.
        :type model_type: str

        :param model_version:
            The value to assign to the model_version property of this Schema.
        :type model_version: str

        :param parent_ref:
            The value to assign to the parent_ref property of this Schema.
        :type parent_ref: oci.data_integration.models.ParentReference

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

        :param resource_name:
            The value to assign to the resource_name property of this Schema.
        :type resource_name: str

        :param description:
            The value to assign to the description property of this Schema.
        :type description: str

        :param object_version:
            The value to assign to the object_version property of this Schema.
        :type object_version: int

        :param external_key:
            The value to assign to the external_key property of this Schema.
        :type external_key: str

        :param is_has_containers:
            The value to assign to the is_has_containers property of this Schema.
        :type is_has_containers: bool

        :param default_connection:
            The value to assign to the default_connection property of this Schema.
        :type default_connection: str

        :param object_status:
            The value to assign to the object_status property of this Schema.
        :type object_status: int

        :param identifier:
            The value to assign to the identifier property of this Schema.
        :type identifier: str

        :param metadata:
            The value to assign to the metadata property of this Schema.
        :type metadata: oci.data_integration.models.ObjectMetadata

        strZParentReferenceintboolZObjectMetadata)key
model_typemodel_version
parent_refnameresource_namedescriptionobject_versionexternal_keyis_has_containersdefault_connectionobject_status
identifiermetadatar
   Z	modelTypeZmodelVersionZ	parentRefr   ZresourceNamer   ZobjectVersionZexternalKeyZisHasContainersZdefaultConnectionZobjectStatusr   r   N)Zswagger_typesZattribute_map_key_model_type_model_version_parent_ref_name_resource_name_description_object_version_external_key_is_has_containers_default_connection_object_status_identifier	_metadata)selfkwargs r(   Fusr/lib/python3.10/site-packages/oci/data_integration/models/schema.py__init__   sX   ?
zSchema.__init__c                 C      | j S )z
        Gets the key of this Schema.
        The object key.


        :return: The key of this Schema.
        :rtype: str
        r   r&   r(   r(   r)   r
         
z
Schema.keyc                 C   
   || _ dS )z
        Sets the key of this Schema.
        The object key.


        :param key: The key of this Schema.
        :type: str
        Nr,   )r&   r
   r(   r(   r)   r
         

c                 C   r+   )z
        Gets the model_type of this Schema.
        The object's type.


        :return: The model_type of this Schema.
        :rtype: str
        r   r-   r(   r(   r)   r      r.   zSchema.model_typec                 C   r/   )z
        Sets the model_type of this Schema.
        The object's type.


        :param model_type: The model_type of this Schema.
        :type: str
        Nr1   )r&   r   r(   r(   r)   r      r0   c                 C   r+   )z
        Gets the model_version of this Schema.
        The object's model version.


        :return: The model_version of this Schema.
        :rtype: str
        r   r-   r(   r(   r)   r      r.   zSchema.model_versionc                 C   r/   )z
        Sets the model_version of this Schema.
        The object's model version.


        :param model_version: The model_version of this Schema.
        :type: str
        Nr2   )r&   r   r(   r(   r)   r      r0   c                 C   r+   )z
        Gets the parent_ref of this Schema.

        :return: The parent_ref of this Schema.
        :rtype: oci.data_integration.models.ParentReference
        r   r-   r(   r(   r)   r         zSchema.parent_refc                 C   r/   )z
        Sets the parent_ref of this Schema.

        :param parent_ref: The parent_ref of this Schema.
        :type: oci.data_integration.models.ParentReference
        Nr3   )r&   r   r(   r(   r)   r         
c                 C   r+   )a+  
        Gets the name of this Schema.
        Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.


        :return: The name of this Schema.
        :rtype: str
        r   r-   r(   r(   r)   r      r.   zSchema.namec                 C   r/   )a.  
        Sets the name of this Schema.
        Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.


        :param name: The name of this Schema.
        :type: str
        Nr6   )r&   r   r(   r(   r)   r      r0   c                 C   r+   )a  
        Gets the resource_name of this Schema.
        A resource name can have letters, numbers, and special characters. The value is editable and is restricted to 4000 characters.


        :return: The resource_name of this Schema.
        :rtype: str
        r   r-   r(   r(   r)   r      r.   zSchema.resource_namec                 C   r/   )a  
        Sets the resource_name of this Schema.
        A resource name can have letters, numbers, and special characters. The value is editable and is restricted to 4000 characters.


        :param resource_name: The resource_name of this Schema.
        :type: str
        Nr7   )r&   r   r(   r(   r)   r     r0   c                 C   r+   )z
        Gets the description of this Schema.
        User-defined description for the schema.


        :return: The description of this Schema.
        :rtype: str
        r   r-   r(   r(   r)   r     r.   zSchema.descriptionc                 C   r/   )z
        Sets the description of this Schema.
        User-defined description for the schema.


        :param description: The description of this Schema.
        :type: str
        Nr8   )r&   r   r(   r(   r)   r     r0   c                 C   r+   )z
        Gets the object_version of this Schema.
        The version of the object that is used to track changes in the object instance.


        :return: The object_version of this Schema.
        :rtype: int
        r   r-   r(   r(   r)   r   %  r.   zSchema.object_versionc                 C   r/   )z
        Sets the object_version of this Schema.
        The version of the object that is used to track changes in the object instance.


        :param object_version: The object_version of this Schema.
        :type: int
        Nr9   )r&   r   r(   r(   r)   r   1  r0   c                 C   r+   )z
        Gets the external_key of this Schema.
        The external key for the object.


        :return: The external_key of this Schema.
        :rtype: str
        r    r-   r(   r(   r)   r   =  r.   zSchema.external_keyc                 C   r/   )z
        Sets the external_key of this Schema.
        The external key for the object.


        :param external_key: The external_key of this Schema.
        :type: str
        Nr:   )r&   r   r(   r(   r)   r   I  r0   c                 C   r+   )z
        Gets the is_has_containers of this Schema.
        Specifies whether the schema has containers.


        :return: The is_has_containers of this Schema.
        :rtype: bool
        r!   r-   r(   r(   r)   r   U  r.   zSchema.is_has_containersc                 C   r/   )z
        Sets the is_has_containers of this Schema.
        Specifies whether the schema has containers.


        :param is_has_containers: The is_has_containers of this Schema.
        :type: bool
        Nr;   )r&   r   r(   r(   r)   r   a  r0   c                 C   r+   )z
        Gets the default_connection of this Schema.
        The default connection key.


        :return: The default_connection of this Schema.
        :rtype: str
        r"   r-   r(   r(   r)   r   m  r.   zSchema.default_connectionc                 C   r/   )z
        Sets the default_connection of this Schema.
        The default connection key.


        :param default_connection: The default_connection of this Schema.
        :type: str
        Nr<   )r&   r   r(   r(   r)   r   y  r0   c                 C   r+   )z
        Gets the object_status of this Schema.
        The status of an object that can be set to value 1 for shallow references across objects, other values reserved.


        :return: The object_status of this Schema.
        :rtype: int
        r#   r-   r(   r(   r)   r     r.   zSchema.object_statusc                 C   r/   )a  
        Sets the object_status of this Schema.
        The status of an object that can be set to value 1 for shallow references across objects, other values reserved.


        :param object_status: The object_status of this Schema.
        :type: int
        Nr=   )r&   r   r(   r(   r)   r     r0   c                 C   r+   )a  
        Gets the identifier of this Schema.
        Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.


        :return: The identifier of this Schema.
        :rtype: str
        r$   r-   r(   r(   r)   r     r.   zSchema.identifierc                 C   r/   )a!  
        Sets the identifier of this Schema.
        Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.


        :param identifier: The identifier of this Schema.
        :type: str
        Nr>   )r&   r   r(   r(   r)   r     r0   c                 C   r+   )z
        Gets the metadata of this Schema.

        :return: The metadata of this Schema.
        :rtype: oci.data_integration.models.ObjectMetadata
        r%   r-   r(   r(   r)   r     r4   zSchema.metadatac                 C   r/   )z
        Sets the metadata of this Schema.

        :param metadata: The metadata of this Schema.
        :type: oci.data_integration.models.ObjectMetadata
        Nr?   )r&   r   r(   r(   r)   r     r5   c                 C   s   t | S N)r   r-   r(   r(   r)   __repr__  s   zSchema.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r&   otherr(   r(   r)   __eq__  s   zSchema.__eq__c                 C   s
   | |k S r@   r(   rC   r(   r(   r)   __ne__  s   
zSchema.__ne__N)__name__
__module____qualname____doc__r*   propertyr
   setterr   r   r   r   r   r   r   r   r   r   r   r   r   rA   rE   rF   r(   r(   r(   r)   r      s|    o






	
	


















	
	r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r(   r(   r(   r)   <module>   s   