o
    ɶdW.                     @   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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d$d% Zd&d' Zd(S ))ConnectHarnessz7
    Detailed representation of a connect harness.
    CREATINGACTIVEDELETINGDELETEDFAILEDUPDATINGc              	   K   sd   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 )au  
        Initializes a new ConnectHarness 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 ConnectHarness.
        :type name: str

        :param id:
            The value to assign to the id property of this ConnectHarness.
        :type id: str

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

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

        :param lifecycle_state_details:
            The value to assign to the lifecycle_state_details property of this ConnectHarness.
        :type lifecycle_state_details: str

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

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

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

        strdatetimezdict(str, str)zdict(str, dict(str, object)))nameidcompartment_idlifecycle_statelifecycle_state_detailstime_createdfreeform_tagsdefined_tagsr   r   ZcompartmentIdZlifecycleStateZlifecycleStateDetailsZtimeCreatedZfreeformTagsZdefinedTagsN)
Zswagger_typesZattribute_map_name_id_compartment_id_lifecycle_state_lifecycle_state_details_time_created_freeform_tags_defined_tags)selfkwargs r!   Husr/lib/python3.10/site-packages/oci/streaming/models/connect_harness.py__init__*   s4   )
zConnectHarness.__init__c                 C      | j S )a  
        **[Required]** Gets the name of this ConnectHarness.
        The name of the connect harness. Avoid entering confidential information.

        Example: `JDBCConnector`


        :return: The name of this ConnectHarness.
        :rtype: str
        r   r   r!   r!   r"   r   q   s   zConnectHarness.namec                 C   
   || _ dS )z
        Sets the name of this ConnectHarness.
        The name of the connect harness. Avoid entering confidential information.

        Example: `JDBCConnector`


        :param name: The name of this ConnectHarness.
        :type: str
        Nr%   )r   r   r!   r!   r"   r      s   
c                 C   r$   )z
        **[Required]** Gets the id of this ConnectHarness.
        The OCID of the connect harness.


        :return: The id of this ConnectHarness.
        :rtype: str
        r   r&   r!   r!   r"   r         
zConnectHarness.idc                 C   r'   )z
        Sets the id of this ConnectHarness.
        The OCID of the connect harness.


        :param id: The id of this ConnectHarness.
        :type: str
        Nr(   )r   r   r!   r!   r"   r         

c                 C   r$   )z
        **[Required]** Gets the compartment_id of this ConnectHarness.
        The OCID of the compartment that contains the connect harness.


        :return: The compartment_id of this ConnectHarness.
        :rtype: str
        r   r&   r!   r!   r"   r      r)   zConnectHarness.compartment_idc                 C   r'   )z
        Sets the compartment_id of this ConnectHarness.
        The OCID of the compartment that contains the connect harness.


        :param compartment_id: The compartment_id of this ConnectHarness.
        :type: str
        Nr+   )r   r   r!   r!   r"   r      r*   c                 C   r$   )a  
        **[Required]** Gets the lifecycle_state of this ConnectHarness.
        The current state of the connect harness.

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


        :return: The lifecycle_state of this ConnectHarness.
        :rtype: str
        )r   r&   r!   r!   r"   r      s   zConnectHarness.lifecycle_statec                 C   s    g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this ConnectHarness.
        The current state of the connect harness.


        :param lifecycle_state: The lifecycle_state of this ConnectHarness.
        :type: str
        )r   r   r	   r
   r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr!   r!   r"   r      s   


c                 C   r$   )z
        Gets the lifecycle_state_details of this ConnectHarness.
        Any additional details about the current state of the connect harness.


        :return: The lifecycle_state_details of this ConnectHarness.
        :rtype: str
        r   r&   r!   r!   r"   r      r)   z&ConnectHarness.lifecycle_state_detailsc                 C   r'   )a
  
        Sets the lifecycle_state_details of this ConnectHarness.
        Any additional details about the current state of the connect harness.


        :param lifecycle_state_details: The lifecycle_state_details of this ConnectHarness.
        :type: str
        Nr,   )r   r   r!   r!   r"   r      r*   c                 C   r$   )ai  
        **[Required]** Gets the time_created of this ConnectHarness.
        The date and time the connect harness was created, expressed in in `RFC 3339`__ timestamp format.

        Example: `2018-04-20T00:00:07.405Z`

        __ https://tools.ietf.org/rfc/rfc3339


        :return: The time_created of this ConnectHarness.
        :rtype: datetime
        r   r&   r!   r!   r"   r         zConnectHarness.time_createdc                 C   r'   )ae  
        Sets the time_created of this ConnectHarness.
        The date and time the connect harness was created, expressed in in `RFC 3339`__ timestamp format.

        Example: `2018-04-20T00:00:07.405Z`

        __ https://tools.ietf.org/rfc/rfc3339


        :param time_created: The time_created of this ConnectHarness.
        :type: datetime
        Nr-   )r   r   r!   r!   r"   r        
c                 C   r$   )a  
        Gets the freeform_tags of this ConnectHarness.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only.
        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 ConnectHarness.
        :rtype: dict(str, str)
        r   r&   r!   r!   r"   r     s   zConnectHarness.freeform_tagsc                 C   r'   )a  
        Sets the freeform_tags of this ConnectHarness.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only.
        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 ConnectHarness.
        :type: dict(str, str)
        Nr0   )r   r   r!   r!   r"   r   $  s   
c                 C   r$   )a  
        Gets the defined_tags of this ConnectHarness.
        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 ConnectHarness.
        :rtype: dict(str, dict(str, object))
        r   r&   r!   r!   r"   r   5  r.   zConnectHarness.defined_tagsc                 C   r'   )a  
        Sets the defined_tags of this ConnectHarness.
        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 ConnectHarness.
        :type: dict(str, dict(str, object))
        Nr1   )r   r   r!   r!   r"   r   E  r/   c                 C   s   t | S N)r   r&   r!   r!   r"   __repr__U  s   zConnectHarness.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr!   r!   r"   __eq__X  s   zConnectHarness.__eq__c                 C   s
   | |k S r2   r!   r5   r!   r!   r"   __ne__^  s   
zConnectHarness.__ne__N)__name__
__module____qualname____doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_UPDATINGr#   propertyr   setterr   r   r   r   r   r   r   r3   r7   r8   r!   r!   r!   r"   r      sX    G















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r!   r!   r!   r"   <module>   s   