o
    ëÉ¶d“  ã                   @   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                   @   sl   e 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
dd„ Zdd„ Zdd„ ZdS )ÚApproverInfoz4
    The approver data for this approver level.
    ÚGROUPÚUSERc                 K   s(   dddœ| _ dddœ| _d| _d| _dS )a¥  
        Initializes a new ApproverInfo object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param approver_type:
            The value to assign to the approver_type property of this ApproverInfo.
            Allowed values for this property are: "GROUP", "USER", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type approver_type: str

        :param approver_id:
            The value to assign to the approver_id property of this ApproverInfo.
        :type approver_id: str

        Ústr)Úapprover_typeÚapprover_idZapproverTypeZ
approverIdN)Zswagger_typesZattribute_mapÚ_approver_typeÚ_approver_id)ÚselfÚkwargs© r   úDusr/lib/python3.10/site-packages/oci/lockbox/models/approver_info.pyÚ__init__   s   þþ
zApproverInfo.__init__c                 C   ó   | j S )a‚  
        **[Required]** Gets the approver_type of this ApproverInfo.
        The approver type of this approver level.

        Allowed values for this property are: "GROUP", "USER", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The approver_type of this ApproverInfo.
        :rtype: str
        )r   ©r   r   r   r   r
   7   s   zApproverInfo.approver_typec                 C   s    ddg}t ||ƒsd}|| _dS )zË
        Sets the approver_type of this ApproverInfo.
        The approver type of this approver level.


        :param approver_type: The approver_type of this ApproverInfo.
        :type: str
        r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r
   Zallowed_valuesr   r   r   r
   F   s   


c                 C   r   )zà
        **[Required]** Gets the approver_id of this ApproverInfo.
        The group or user ocid of the approver for this approver level.


        :return: The approver_id of this ApproverInfo.
        :rtype: str
        ©r   r   r   r   r   r   U   s   
zApproverInfo.approver_idc                 C   s
   || _ dS )zÛ
        Sets the approver_id of this ApproverInfo.
        The group or user ocid of the approver for this approver level.


        :param approver_id: The approver_id of this ApproverInfo.
        :type: str
        Nr   )r   r   r   r   r   r   a   s   

c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__m   s   zApproverInfo.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__p   s   zApproverInfo.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__v   s   
zApproverInfo.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZAPPROVER_TYPE_GROUPZAPPROVER_TYPE_USERr   Úpropertyr
   Úsetterr   r   r   r   r   r   r   r   r      s     



r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   