o
    ɶdO@                     @   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d2d3 Zd4d5 Zd6d7 Zd8S )9TransferJobz
    TransferJob model.
    DISK	APPLIANCE	INITIATED	PREPARINGACTIVEDELETEDCLOSEDc                 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S )a
  
        Initializes a new TransferJob 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 TransferJob.
        :type id: str

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

        :param upload_bucket_name:
            The value to assign to the upload_bucket_name property of this TransferJob.
        :type upload_bucket_name: str

        :param display_name:
            The value to assign to the display_name property of this TransferJob.
        :type display_name: str

        :param label:
            The value to assign to the label property of this TransferJob.
        :type label: str

        :param creation_time:
            The value to assign to the creation_time property of this TransferJob.
        :type creation_time: datetime

        :param device_type:
            The value to assign to the device_type property of this TransferJob.
            Allowed values for this property are: "DISK", "APPLIANCE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type device_type: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this TransferJob.
            Allowed values for this property are: "INITIATED", "PREPARING", "ACTIVE", "DELETED", "CLOSED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param attached_transfer_appliance_labels:
            The value to assign to the attached_transfer_appliance_labels property of this TransferJob.
        :type attached_transfer_appliance_labels: list[str]

        :param attached_transfer_package_labels:
            The value to assign to the attached_transfer_package_labels property of this TransferJob.
        :type attached_transfer_package_labels: list[str]

        :param attached_transfer_device_labels:
            The value to assign to the attached_transfer_device_labels property of this TransferJob.
        :type attached_transfer_device_labels: list[str]

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

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

        strdatetimez	list[str]zdict(str, str)zdict(str, dict(str, object)))idcompartment_idupload_bucket_namedisplay_namelabelcreation_timedevice_typelifecycle_state"attached_transfer_appliance_labels attached_transfer_package_labelsattached_transfer_device_labelsfreeform_tagsdefined_tagsr   ZcompartmentIdZuploadBucketNameZdisplayNamer   ZcreationTimeZ
deviceTypeZlifecycleStateZattachedTransferApplianceLabelsZattachedTransferPackageLabelsZattachedTransferDeviceLabelsZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_map_id_compartment_id_upload_bucket_name_display_name_label_creation_time_device_type_lifecycle_state#_attached_transfer_appliance_labels!_attached_transfer_package_labels _attached_transfer_device_labels_freeform_tags_defined_tags)selfkwargs r,   ?usr/lib/python3.10/site-packages/oci/dts/models/transfer_job.py__init__.   sR   ?
zTransferJob.__init__c                 C      | j S )z
        **[Required]** Gets the id of this TransferJob.

        :return: The id of this TransferJob.
        :rtype: str
        r   r*   r,   r,   r-   r         zTransferJob.idc                 C   
   || _ dS )zu
        Sets the id of this TransferJob.

        :param id: The id of this TransferJob.
        :type: str
        Nr0   )r*   r   r,   r,   r-   r         
c                 C   r/   )z
        Gets the compartment_id of this TransferJob.

        :return: The compartment_id of this TransferJob.
        :rtype: str
        r   r1   r,   r,   r-   r      r2   zTransferJob.compartment_idc                 C   r3   )z
        Sets the compartment_id of this TransferJob.

        :param compartment_id: The compartment_id of this TransferJob.
        :type: str
        Nr5   )r*   r   r,   r,   r-   r      r4   c                 C   r/   )z
        Gets the upload_bucket_name of this TransferJob.

        :return: The upload_bucket_name of this TransferJob.
        :rtype: str
        r   r1   r,   r,   r-   r      r2   zTransferJob.upload_bucket_namec                 C   r3   )z
        Sets the upload_bucket_name of this TransferJob.

        :param upload_bucket_name: The upload_bucket_name of this TransferJob.
        :type: str
        Nr6   )r*   r   r,   r,   r-   r      r4   c                 C   r/   )z
        Gets the display_name of this TransferJob.

        :return: The display_name of this TransferJob.
        :rtype: str
        r    r1   r,   r,   r-   r      r2   zTransferJob.display_namec                 C   r3   )z
        Sets the display_name of this TransferJob.

        :param display_name: The display_name of this TransferJob.
        :type: str
        Nr7   )r*   r   r,   r,   r-   r      r4   c                 C   r/   )zz
        Gets the label of this TransferJob.

        :return: The label of this TransferJob.
        :rtype: str
        r!   r1   r,   r,   r-   r      r2   zTransferJob.labelc                 C   r3   )z~
        Sets the label of this TransferJob.

        :param label: The label of this TransferJob.
        :type: str
        Nr8   )r*   r   r,   r,   r-   r      r4   c                 C   r/   )z
        Gets the creation_time of this TransferJob.

        :return: The creation_time of this TransferJob.
        :rtype: datetime
        r"   r1   r,   r,   r-   r      r2   zTransferJob.creation_timec                 C   r3   )z
        Sets the creation_time of this TransferJob.

        :param creation_time: The creation_time of this TransferJob.
        :type: datetime
        Nr9   )r*   r   r,   r,   r-   r     r4   c                 C   r/   )a>  
        Gets the device_type of this TransferJob.
        Allowed values for this property are: "DISK", "APPLIANCE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The device_type of this TransferJob.
        :rtype: str
        )r#   r1   r,   r,   r-   r        zTransferJob.device_typec                 C   s    ddg}t ||sd}|| _dS )z
        Sets the device_type of this TransferJob.

        :param device_type: The device_type of this TransferJob.
        :type: str
        r   r   UNKNOWN_ENUM_VALUEN)r   r#   )r*   r   allowed_valuesr,   r,   r-   r        

c                 C   r/   )aj  
        Gets the lifecycle_state of this TransferJob.
        Allowed values for this property are: "INITIATED", "PREPARING", "ACTIVE", "DELETED", "CLOSED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this TransferJob.
        :rtype: str
        )r$   r1   r,   r,   r-   r   ,  r:   zTransferJob.lifecycle_statec                 C   s    g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this TransferJob.

        :param lifecycle_state: The lifecycle_state of this TransferJob.
        :type: str
        )r	   r
   r   r   r   r;   N)r   r$   )r*   r   r<   r,   r,   r-   r   9  r=   c                 C   r/   )z
        Gets the attached_transfer_appliance_labels of this TransferJob.
        Transfer Appliance labels associated with this transfer Job


        :return: The attached_transfer_appliance_labels of this TransferJob.
        :rtype: list[str]
        r%   r1   r,   r,   r-   r   F     
z.TransferJob.attached_transfer_appliance_labelsc                 C   r3   )a   
        Sets the attached_transfer_appliance_labels of this TransferJob.
        Transfer Appliance labels associated with this transfer Job


        :param attached_transfer_appliance_labels: The attached_transfer_appliance_labels of this TransferJob.
        :type: list[str]
        Nr>   )r*   r   r,   r,   r-   r   R     

c                 C   r/   )z
        Gets the attached_transfer_package_labels of this TransferJob.
        Transfer Package labels associated with this transfer Job


        :return: The attached_transfer_package_labels of this TransferJob.
        :rtype: list[str]
        r&   r1   r,   r,   r-   r   ^  r?   z,TransferJob.attached_transfer_package_labelsc                 C   r3   )a  
        Sets the attached_transfer_package_labels of this TransferJob.
        Transfer Package labels associated with this transfer Job


        :param attached_transfer_package_labels: The attached_transfer_package_labels of this TransferJob.
        :type: list[str]
        NrA   )r*   r   r,   r,   r-   r   j  r@   c                 C   r/   )z
        Gets the attached_transfer_device_labels of this TransferJob.
        Transfer Device labels associated with this transfer Job


        :return: The attached_transfer_device_labels of this TransferJob.
        :rtype: list[str]
        r'   r1   r,   r,   r-   r   v  r?   z+TransferJob.attached_transfer_device_labelsc                 C   r3   )a  
        Sets the attached_transfer_device_labels of this TransferJob.
        Transfer Device labels associated with this transfer Job


        :param attached_transfer_device_labels: The attached_transfer_device_labels of this TransferJob.
        :type: list[str]
        NrB   )r*   r   r,   r,   r-   r     r@   c                 C   r/   )a  
        Gets the freeform_tags of this TransferJob.
        Free-form tags for this resource. Each tag is a simple key-value pair with no
        predefined name, type, or namespace. For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this TransferJob.
        :rtype: dict(str, str)
        r(   r1   r,   r,   r-   r        zTransferJob.freeform_tagsc                 C   r3   )a  
        Sets the freeform_tags of this TransferJob.
        Free-form tags for this resource. Each tag is a simple key-value pair with no
        predefined name, type, or namespace. For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this TransferJob.
        :type: dict(str, str)
        NrC   )r*   r   r,   r,   r-   r        
c                 C   r/   )a  
        Gets the defined_tags of this TransferJob.
        Defined tags for this resource. Each key is predefined and scoped to a
        namespace. For more information, see `Resource Tags`__.

        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this TransferJob.
        :rtype: dict(str, dict(str, object))
        r)   r1   r,   r,   r-   r     rD   zTransferJob.defined_tagsc                 C   r3   )a  
        Sets the defined_tags of this TransferJob.
        Defined tags for this resource. Each key is predefined and scoped to a
        namespace. For more information, see `Resource Tags`__.

        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this TransferJob.
        :type: dict(str, dict(str, object))
        NrF   )r*   r   r,   r,   r-   r     rE   c                 C   s   t | S N)r   r1   r,   r,   r-   __repr__  s   zTransferJob.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r*   otherr,   r,   r-   __eq__  s   zTransferJob.__eq__c                 C   s
   | |k S rG   r,   rJ   r,   r,   r-   __ne__  s   
zTransferJob.__ne__N)__name__
__module____qualname____doc__ZDEVICE_TYPE_DISKZDEVICE_TYPE_APPLIANCEZLIFECYCLE_STATE_INITIATEDZLIFECYCLE_STATE_PREPARINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_CLOSEDr.   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   rH   rL   rM   r,   r,   r,   r-   r      s    l
	
	
	
	
	
	
	
	
	
	
	
	













r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r,   r,   r,   r-   <module>   s   