
    ~i                      J    d Z ddlZddlZddlZddlmZ  G d de          ZdS )z
    vke

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
    N)Configurationc                      e Zd ZdZ	 ddddddddZdddd	d
dddZd"dZed             Zej	        d             Zed             Z
e
j	        d             Z
ed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zd Zd Zd Zd  Zd! ZdS )#GrantPermissionRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strintbool)
cluster_id
grantee_idgrantee_typeis_custom_role	namespacerole_domain	role_name	ClusterId	GranteeIdGranteeTypeIsCustomRole	Namespace
RoleDomainRoleNameNc	                 &   |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        ||| _        ||| _        ||| _        ||| _        ||| _        |	|| _        dS dS )z3GrantPermissionRequest - a model defined in SwaggerN)r   _configuration_cluster_id_grantee_id_grantee_type_is_custom_role
_namespace_role_domain
_role_namediscriminatorr	   r
   r   r   r   r   r   )	selfr	   r
   r   r   r   r   r   r   s	            y/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkvke/models/grant_permission_request.py__init__zGrantPermissionRequest.__init__7   s    !*__N,!# !!(DO!(DO# ,D%"0D &DN"*D &DNNN !     c                     | j         S )zGets the cluster_id of this GrantPermissionRequest.  # noqa: E501


        :return: The cluster_id of this GrantPermissionRequest.  # noqa: E501
        :rtype: str
        r   r!   s    r"   r	   z!GrantPermissionRequest.cluster_idU        r$   c                     || _         dS )zSets the cluster_id of this GrantPermissionRequest.


        :param cluster_id: The cluster_id of this GrantPermissionRequest.  # noqa: E501
        :type: str
        Nr&   )r!   r	   s     r"   r	   z!GrantPermissionRequest.cluster_id_        &r$   c                     | j         S )zGets the grantee_id of this GrantPermissionRequest.  # noqa: E501


        :return: The grantee_id of this GrantPermissionRequest.  # noqa: E501
        :rtype: int
        r   r'   s    r"   r
   z!GrantPermissionRequest.grantee_idj   r(   r$   c                     || _         dS )zSets the grantee_id of this GrantPermissionRequest.


        :param grantee_id: The grantee_id of this GrantPermissionRequest.  # noqa: E501
        :type: int
        Nr,   )r!   r
   s     r"   r
   z!GrantPermissionRequest.grantee_idt   r*   r$   c                     | j         S )zGets the grantee_type of this GrantPermissionRequest.  # noqa: E501


        :return: The grantee_type of this GrantPermissionRequest.  # noqa: E501
        :rtype: str
        )r   r'   s    r"   r   z#GrantPermissionRequest.grantee_type   s     !!r$   c                     g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the grantee_type of this GrantPermissionRequest.


        :param grantee_type: The grantee_type of this GrantPermissionRequest.  # noqa: E501
        :type: str
        )UserRoleAccountz:Invalid value for `grantee_type` ({0}), must be one of {1}N)r   client_side_validation
ValueErrorformatr   )r!   r   allowed_valuess      r"   r   z#GrantPermissionRequest.grantee_type   s\     5446 	N22Ln55  
 *r$   c                     | j         S )zGets the is_custom_role of this GrantPermissionRequest.  # noqa: E501


        :return: The is_custom_role of this GrantPermissionRequest.  # noqa: E501
        :rtype: bool
        r   r'   s    r"   r   z%GrantPermissionRequest.is_custom_role   s     ##r$   c                     || _         dS )zSets the is_custom_role of this GrantPermissionRequest.


        :param is_custom_role: The is_custom_role of this GrantPermissionRequest.  # noqa: E501
        :type: bool
        Nr8   )r!   r   s     r"   r   z%GrantPermissionRequest.is_custom_role   s      .r$   c                     | j         S )zGets the namespace of this GrantPermissionRequest.  # noqa: E501


        :return: The namespace of this GrantPermissionRequest.  # noqa: E501
        :rtype: str
        r   r'   s    r"   r   z GrantPermissionRequest.namespace        r$   c                     || _         dS )zSets the namespace of this GrantPermissionRequest.


        :param namespace: The namespace of this GrantPermissionRequest.  # noqa: E501
        :type: str
        Nr;   )r!   r   s     r"   r   z GrantPermissionRequest.namespace        $r$   c                     | j         S )zGets the role_domain of this GrantPermissionRequest.  # noqa: E501


        :return: The role_domain of this GrantPermissionRequest.  # noqa: E501
        :rtype: str
        r   r'   s    r"   r   z"GrantPermissionRequest.role_domain   s       r$   c                     || _         dS )zSets the role_domain of this GrantPermissionRequest.


        :param role_domain: The role_domain of this GrantPermissionRequest.  # noqa: E501
        :type: str
        Nr@   )r!   r   s     r"   r   z"GrantPermissionRequest.role_domain   s     (r$   c                     | j         S )zGets the role_name of this GrantPermissionRequest.  # noqa: E501


        :return: The role_name of this GrantPermissionRequest.  # noqa: E501
        :rtype: str
        r   r'   s    r"   r   z GrantPermissionRequest.role_name   r<   r$   c                     || _         dS )zSets the role_name of this GrantPermissionRequest.


        :param role_name: The role_name of this GrantPermissionRequest.  # noqa: E501
        :type: str
        NrC   )r!   r   s     r"   r   z GrantPermissionRequest.role_name   r>   r$   c                 4   i }t          j        | j                  D ]\  }}t          | |          }t	          |t
                    r"t          t          d |                    ||<   Lt          |d          r|                                ||<   tt	          |t                    r4t          t          d |
                                                    ||<   |||<   t          t          t                    r| 
                                D ]
\  }}|||<   |S )z&Returns the model properties as a dictc                 N    t          | d          r|                                 n| S )Nto_dicthasattrrG   )xs    r"   <lambda>z0GrantPermissionRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r$   rG   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rG   r   rH   )items    r"   rK   z0GrantPermissionRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r$   )six	iteritemsswagger_typesgetattr
isinstancelistmaprI   rG   dictitems
issubclassr   )r!   resultattr_valuekeys         r"   rG   zGrantPermissionRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t,d33 	$"jjll $ $
U#sr$   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrG   r'   s    r"   to_strzGrantPermissionRequest.to_str
  s    ~dllnn---r$   c                 *    |                                  S )zFor `print` and `pprint`)ra   r'   s    r"   __repr__zGrantPermissionRequest.__repr__  s    {{}}r$   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrS   r   rG   r!   others     r"   __eq__zGrantPermissionRequest.__eq__  s5    %!788 	5||~~00r$   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTre   rf   s     r"   __ne__zGrantPermissionRequest.__ne__  s5    %!788 	4||~~00r$   )NNNNNNNN)__name__
__module____qualname____doc__rQ   attribute_mapr#   propertyr	   setterr
   r   r   r   r   r   rG   ra   rc   rh   rj    r$   r"   r   r      s^        
   M "!%( # M' ' ' '<     X  & & &     X  & & & " " X" * * *" $ $ X$ . . .   X $ $ $ ! ! X! ( ( (   X $ $ $  6. . .  1 1 11 1 1 1 1r$   r   )rn   r_   rerO   volcenginesdkcore.configurationr   objectr   rr   r$   r"   <module>rv      s|      				 



 9 9 9 9 9 9H1 H1 H1 H1 H1V H1 H1 H1 H1 H1r$   