o
    ëÉ¶d4   ã                   @   sD   d dl mZ ddlmZmZmZ ddlmZ eG dd„ deƒƒZdS )é   )ÚChannelé    )Ú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	dd„ Z
dd„ Zdd„ ZdS )Ú
IosChannelz/
    The configuration for an iOS channel.
    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| _dS )a…  
        Initializes a new IosChannel object with values from keyword arguments. The default value of the :py:attr:`~oci.oda.models.IosChannel.type` attribute
        of this class is ``IOS`` and it should not be changed.
        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 IosChannel.
        :type id: str

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

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

        :param category:
            The value to assign to the category property of this IosChannel.
            Allowed values for this property are: "AGENT", "APPLICATION", "BOT", "BOT_AS_AGENT", "SYSTEM", "EVENT"
        :type category: str

        :param type:
            The value to assign to the type property of this IosChannel.
            Allowed values for this property are: "ANDROID", "APPEVENT", "APPLICATION", "CORTANA", "FACEBOOK", "IOS", "MSTEAMS", "OSS", "OSVC", "SERVICECLOUD", "SLACK", "TEST", "TWILIO", "WEB", "WEBHOOK"
        :type type: str

        :param session_expiry_duration_in_milliseconds:
            The value to assign to the session_expiry_duration_in_milliseconds property of this IosChannel.
        :type session_expiry_duration_in_milliseconds: int

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this IosChannel.
            Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
        :type lifecycle_state: str

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

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

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

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

        :param max_token_expiration_time_in_minutes:
            The value to assign to the max_token_expiration_time_in_minutes property of this IosChannel.
        :type max_token_expiration_time_in_minutes: int

        :param is_client_authentication_enabled:
            The value to assign to the is_client_authentication_enabled property of this IosChannel.
        :type is_client_authentication_enabled: bool

        :param bot_id:
            The value to assign to the bot_id property of this IosChannel.
        :type bot_id: str

        ÚstrÚintÚdatetimezdict(str, str)zdict(str, dict(str, object))Úbool)ÚidÚnameÚdescriptionÚcategoryÚtypeZ'session_expiry_duration_in_millisecondsZlifecycle_stateZtime_createdZtime_updatedZfreeform_tagsZdefined_tagsÚ$max_token_expiration_time_in_minutesÚ is_client_authentication_enabledÚbot_idr   r   r   r   r   Z#sessionExpiryDurationInMillisecondsZlifecycleStateZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsZmaxTokenExpirationTimeInMinutesZisClientAuthenticationEnabledZbotIdNZIOS)Zswagger_typesZattribute_mapZ_idÚ_nameZ_descriptionZ	_categoryZ_typeZ(_session_expiry_duration_in_millisecondsZ_lifecycle_stateZ_time_createdZ_time_updatedZ_freeform_tagsZ_defined_tagsÚ%_max_token_expiration_time_in_minutesÚ!_is_client_authentication_enabledÚ_bot_id)ÚselfÚkwargs© r   ú>usr/lib/python3.10/site-packages/oci/oda/models/ios_channel.pyÚ__init__   sZ   Còò
zIosChannel.__init__c                 C   ó   | j S )zö
        Gets the max_token_expiration_time_in_minutes of this IosChannel.
        The maximum time until the token expires (in minutes).


        :return: The max_token_expiration_time_in_minutes of this IosChannel.
        :rtype: int
        ©r   ©r   r   r   r   r   †   ó   
z/IosChannel.max_token_expiration_time_in_minutesc                 C   ó
   || _ dS )a  
        Sets the max_token_expiration_time_in_minutes of this IosChannel.
        The maximum time until the token expires (in minutes).


        :param max_token_expiration_time_in_minutes: The max_token_expiration_time_in_minutes of this IosChannel.
        :type: int
        Nr   )r   r   r   r   r   r   ’   ó   

c                 C   r   )zø
        **[Required]** Gets the is_client_authentication_enabled of this IosChannel.
        Whether client authentication is enabled or not.


        :return: The is_client_authentication_enabled of this IosChannel.
        :rtype: bool
        ©r   r    r   r   r   r   ž   r!   z+IosChannel.is_client_authentication_enabledc                 C   r"   )a  
        Sets the is_client_authentication_enabled of this IosChannel.
        Whether client authentication is enabled or not.


        :param is_client_authentication_enabled: The is_client_authentication_enabled of this IosChannel.
        :type: bool
        Nr$   )r   r   r   r   r   r   ª   r#   c                 C   r   )zË
        Gets the bot_id of this IosChannel.
        The ID of the Skill or Digital Assistant that the Channel is routed to.


        :return: The bot_id of this IosChannel.
        :rtype: str
        ©r   r    r   r   r   r   ¶   r!   zIosChannel.bot_idc                 C   r"   )zÐ
        Sets the bot_id of this IosChannel.
        The ID of the Skill or Digital Assistant that the Channel is routed to.


        :param bot_id: The bot_id of this IosChannel.
        :type: str
        Nr%   )r   r   r   r   r   r   Â   r#   c                 C   s   t | ƒS ©N)r   r    r   r   r   Ú__repr__Î   s   zIosChannel.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__Ñ   s   zIosChannel.__eq__c                 C   s
   | |k S r&   r   r)   r   r   r   Ú__ne__×   s   
zIosChannel.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r   r'   r+   r,   r   r   r   r   r      s$    t





r   N)	Zchannelr   Zoci.utilr   r   r   Zoci.decoratorsr   r   r   r   r   r   Ú<module>   s
   