o
    ɶdD                     @   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	ZdZd
ZdZdZdZdZdZdZdZdZd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#d0d/ Z(e!d1d2 Z)e)j#d3d2 Z)e!d4d5 Z*e*j#d6d5 Z*e!d7d8 Z+e+j#d9d8 Z+e!d:d; Z,e,j#d<d; Z,d=d> Z-d?d@ Z.dAdB Z/dCS )DChannelSummaryz!
    Summary of the Channel.
    AGENTAPPLICATIONBOTBOT_AS_AGENTSYSTEMEVENTANDROIDAPPEVENTCORTANAFACEBOOKIOSMSTEAMSOSSOSVCSERVICECLOUDSLACKTESTTWILIOWEBWEBHOOKCREATINGUPDATINGACTIVEINACTIVEDELETINGDELETEDFAILEDc                 K   sx   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 ChannelSummary 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 ChannelSummary.
        :type id: str

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

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

        :param category:
            The value to assign to the category property of this ChannelSummary.
            Allowed values for this property are: "AGENT", "APPLICATION", "BOT", "BOT_AS_AGENT", "SYSTEM", "EVENT", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type category: str

        :param type:
            The value to assign to the type property of this ChannelSummary.
            Allowed values for this property are: "ANDROID", "APPEVENT", "APPLICATION", "CORTANA", "FACEBOOK", "IOS", "MSTEAMS", "OSS", "OSVC", "SERVICECLOUD", "SLACK", "TEST", "TWILIO", "WEB", "WEBHOOK", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type type: str

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

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

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

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

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

        strdatetimezdict(str, str)zdict(str, dict(str, object)))
idnamedescriptioncategorytypelifecycle_statetime_createdtime_updatedfreeform_tagsdefined_tagsr$   r%   r&   r'   r(   ZlifecycleStateZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_map_id_name_description	_category_type_lifecycle_state_time_created_time_updated_freeform_tags_defined_tags)selfkwargs r:   Busr/lib/python3.10/site-packages/oci/oda/models/channel_summary.py__init__   s@   5
zChannelSummary.__init__c                 C      | j S )z
        **[Required]** Gets the id of this ChannelSummary.
        Unique immutable identifier that was assigned when the Channel was created.


        :return: The id of this ChannelSummary.
        :rtype: str
        r.   r8   r:   r:   r;   r$         
zChannelSummary.idc                 C   
   || _ dS )z
        Sets the id of this ChannelSummary.
        Unique immutable identifier that was assigned when the Channel was created.


        :param id: The id of this ChannelSummary.
        :type: str
        Nr>   )r8   r$   r:   r:   r;   r$         

c                 C   r=   )a  
        **[Required]** Gets the name of this ChannelSummary.
        The Channel's name. The name can contain only letters, numbers, periods, and underscores. The name must begin with a letter.


        :return: The name of this ChannelSummary.
        :rtype: str
        r/   r?   r:   r:   r;   r%      r@   zChannelSummary.namec                 C   rA   )a  
        Sets the name of this ChannelSummary.
        The Channel's name. The name can contain only letters, numbers, periods, and underscores. The name must begin with a letter.


        :param name: The name of this ChannelSummary.
        :type: str
        NrC   )r8   r%   r:   r:   r;   r%      rB   c                 C   r=   )z
        Gets the description of this ChannelSummary.
        A short description of the Channel.


        :return: The description of this ChannelSummary.
        :rtype: str
        r0   r?   r:   r:   r;   r&     r@   zChannelSummary.descriptionc                 C   rA   )z
        Sets the description of this ChannelSummary.
        A short description of the Channel.


        :param description: The description of this ChannelSummary.
        :type: str
        NrD   )r8   r&   r:   r:   r;   r&     rB   c                 C   r=   )a  
        **[Required]** Gets the category of this ChannelSummary.
        The category of the Channel.

        Allowed values for this property are: "AGENT", "APPLICATION", "BOT", "BOT_AS_AGENT", "SYSTEM", "EVENT", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The category of this ChannelSummary.
        :rtype: str
        )r1   r?   r:   r:   r;   r'   #     zChannelSummary.categoryc                 C       g d}t ||sd}|| _dS )z
        Sets the category of this ChannelSummary.
        The category of the Channel.


        :param category: The category of this ChannelSummary.
        :type: str
        )r   r   r	   r
   r   r   UNKNOWN_ENUM_VALUEN)r   r1   )r8   r'   allowed_valuesr:   r:   r;   r'   2     


c                 C   r=   )a  
        **[Required]** Gets the type of this ChannelSummary.
        The Channel type.

        Allowed values for this property are: "ANDROID", "APPEVENT", "APPLICATION", "CORTANA", "FACEBOOK", "IOS", "MSTEAMS", "OSS", "OSVC", "SERVICECLOUD", "SLACK", "TEST", "TWILIO", "WEB", "WEBHOOK", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The type of this ChannelSummary.
        :rtype: str
        )r2   r?   r:   r:   r;   r(   A  rE   zChannelSummary.typec                 C   rF   )z
        Sets the type of this ChannelSummary.
        The Channel type.


        :param type: The type of this ChannelSummary.
        :type: str
        )r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rG   N)r   r2   )r8   r(   rH   r:   r:   r;   r(   P  rI   c                 C   r=   )a  
        **[Required]** Gets the lifecycle_state of this ChannelSummary.
        The Channel's current state.

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


        :return: The lifecycle_state of this ChannelSummary.
        :rtype: str
        )r3   r?   r:   r:   r;   r)   _  rE   zChannelSummary.lifecycle_statec                 C   rF   )z
        Sets the lifecycle_state of this ChannelSummary.
        The Channel's current state.


        :param lifecycle_state: The lifecycle_state of this ChannelSummary.
        :type: str
        )r   r   r   r   r   r    r!   rG   N)r   r3   )r8   r)   rH   r:   r:   r;   r)   n  rI   c                 C   r=   )a9  
        **[Required]** Gets the time_created of this ChannelSummary.
        When the resource was created. A date-time string as described in `RFC 3339`__, section 14.29.

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


        :return: The time_created of this ChannelSummary.
        :rtype: datetime
        r4   r?   r:   r:   r;   r*   }     zChannelSummary.time_createdc                 C   rA   )a5  
        Sets the time_created of this ChannelSummary.
        When the resource was created. A date-time string as described in `RFC 3339`__, section 14.29.

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


        :param time_created: The time_created of this ChannelSummary.
        :type: datetime
        NrJ   )r8   r*   r:   r:   r;   r*        
c                 C   r=   )a>  
        **[Required]** Gets the time_updated of this ChannelSummary.
        When the resource was last updated. A date-time string as described in `RFC 3339`__, section 14.29.

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


        :return: The time_updated of this ChannelSummary.
        :rtype: datetime
        r5   r?   r:   r:   r;   r+     rK   zChannelSummary.time_updatedc                 C   rA   )a:  
        Sets the time_updated of this ChannelSummary.
        When the resource was last updated. A date-time string as described in `RFC 3339`__, section 14.29.

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


        :param time_updated: The time_updated of this ChannelSummary.
        :type: datetime
        NrM   )r8   r+   r:   r:   r;   r+     rL   c                 C   r=   )a  
        Gets the freeform_tags of this ChannelSummary.
        Simple key-value pair that is applied without any predefined name, type, or scope.
        Example: `{"bar-key": "value"}`


        :return: The freeform_tags of this ChannelSummary.
        :rtype: dict(str, str)
        r6   r?   r:   r:   r;   r,        zChannelSummary.freeform_tagsc                 C   rA   )a+  
        Sets the freeform_tags of this ChannelSummary.
        Simple key-value pair that is applied without any predefined name, type, or scope.
        Example: `{"bar-key": "value"}`


        :param freeform_tags: The freeform_tags of this ChannelSummary.
        :type: dict(str, str)
        NrN   )r8   r,   r:   r:   r;   r,        
c                 C   r=   )a9  
        Gets the defined_tags of this ChannelSummary.
        Usage of predefined tag keys. These predefined keys are scoped to namespaces.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :return: The defined_tags of this ChannelSummary.
        :rtype: dict(str, dict(str, object))
        r7   r?   r:   r:   r;   r-     rO   zChannelSummary.defined_tagsc                 C   rA   )aD  
        Sets the defined_tags of this ChannelSummary.
        Usage of predefined tag keys. These predefined keys are scoped to namespaces.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :param defined_tags: The defined_tags of this ChannelSummary.
        :type: dict(str, dict(str, object))
        NrQ   )r8   r-   r:   r:   r;   r-     rP   c                 C   s   t | S N)r   r?   r:   r:   r;   __repr__  s   zChannelSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r8   otherr:   r:   r;   __eq__  s   zChannelSummary.__eq__c                 C   s
   | |k S rR   r:   rU   r:   r:   r;   __ne__  s   
zChannelSummary.__ne__N)0__name__
__module____qualname____doc__ZCATEGORY_AGENTZCATEGORY_APPLICATIONZCATEGORY_BOTZCATEGORY_BOT_AS_AGENTZCATEGORY_SYSTEMZCATEGORY_EVENTZTYPE_ANDROIDZTYPE_APPEVENTZTYPE_APPLICATIONZTYPE_CORTANAZTYPE_FACEBOOKZTYPE_IOSZTYPE_MSTEAMSZTYPE_OSSZ	TYPE_OSVCZTYPE_SERVICECLOUDZ
TYPE_SLACKZ	TYPE_TESTZTYPE_TWILIOZTYPE_WEBZTYPE_WEBHOOKZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDr<   propertyr$   setterr%   r&   r'   r(   r)   r*   r+   r,   r-   rS   rW   rX   r:   r:   r:   r;   r      s    Y



















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r:   r:   r:   r;   <module>   s   