
    ~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
    efs

    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Z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d Zd Zd Zd Zd ZdS )DescribePermissionRulesRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strint)cidr_ippage_number	page_sizepermission_group_idrw_mode	user_modeCidrIp
PageNumberPageSizePermissionGroupIdRwModeUserModeNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        ||| _        || _        ||| _        |	|| _        dS dS )z;DescribePermissionRulesRequest - a model defined in SwaggerN)r   _configuration_cidr_ip_page_number
_page_size_permission_group_id_rw_mode
_user_modediscriminatorr   r	   r
   r   r   r   )selfr   r	   r
   r   r   r   r   s           /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkefs/models/describe_permission_rules_request.py__init__z'DescribePermissionRulesRequest.__init__5   s    !*__N, $(!!"DL"*D &DN#6 "DL &DNNN !     c                     | j         S )zGets the cidr_ip of this DescribePermissionRulesRequest.  # noqa: E501


        :return: The cidr_ip of this DescribePermissionRulesRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r   z&DescribePermissionRulesRequest.cidr_ipO        }r    c                     || _         dS )zSets the cidr_ip of this DescribePermissionRulesRequest.


        :param cidr_ip: The cidr_ip of this DescribePermissionRulesRequest.  # noqa: E501
        :type: str
        Nr"   )r   r   s     r   r   z&DescribePermissionRulesRequest.cidr_ipY   s      r    c                     | j         S )zGets the page_number of this DescribePermissionRulesRequest.  # noqa: E501


        :return: The page_number of this DescribePermissionRulesRequest.  # noqa: E501
        :rtype: int
        r   r#   s    r   r	   z*DescribePermissionRulesRequest.page_numberd   s       r    c                     || _         dS )zSets the page_number of this DescribePermissionRulesRequest.


        :param page_number: The page_number of this DescribePermissionRulesRequest.  # noqa: E501
        :type: int
        Nr'   )r   r	   s     r   r	   z*DescribePermissionRulesRequest.page_numbern   s     (r    c                     | j         S )zGets the page_size of this DescribePermissionRulesRequest.  # noqa: E501


        :return: The page_size of this DescribePermissionRulesRequest.  # noqa: E501
        :rtype: int
        r   r#   s    r   r
   z(DescribePermissionRulesRequest.page_sizey        r    c                     || _         dS )zSets the page_size of this DescribePermissionRulesRequest.


        :param page_size: The page_size of this DescribePermissionRulesRequest.  # noqa: E501
        :type: int
        Nr*   )r   r
   s     r   r
   z(DescribePermissionRulesRequest.page_size   s     $r    c                     | j         S )zGets the permission_group_id of this DescribePermissionRulesRequest.  # noqa: E501


        :return: The permission_group_id of this DescribePermissionRulesRequest.  # noqa: E501
        :rtype: str
        )r   r#   s    r   r   z2DescribePermissionRulesRequest.permission_group_id   s     ((r    c                 N    | j         j        r|t          d          || _        dS )zSets the permission_group_id of this DescribePermissionRulesRequest.


        :param permission_group_id: The permission_group_id of this DescribePermissionRulesRequest.  # noqa: E501
        :type: str
        Nz;Invalid value for `permission_group_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   z2DescribePermissionRulesRequest.permission_group_id   s6     5 	\:M:UZ[[[$7!!!r    c                     | j         S )zGets the rw_mode of this DescribePermissionRulesRequest.  # noqa: E501


        :return: The rw_mode of this DescribePermissionRulesRequest.  # noqa: E501
        :rtype: str
        )r   r#   s    r   r   z&DescribePermissionRulesRequest.rw_mode   r$   r    c                     g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the rw_mode of this DescribePermissionRulesRequest.


        :param rw_mode: The rw_mode of this DescribePermissionRulesRequest.  # noqa: E501
        :type: str
        )UnknownRWROz5Invalid value for `rw_mode` ({0}), must be one of {1}N)r   r/   r0   formatr   )r   r   allowed_valuess      r   r   z&DescribePermissionRulesRequest.rw_mode   sY     1006 	~--G00  
  r    c                     | j         S )zGets the user_mode of this DescribePermissionRulesRequest.  # noqa: E501


        :return: The user_mode of this DescribePermissionRulesRequest.  # noqa: E501
        :rtype: str
        )r   r#   s    r   r   z(DescribePermissionRulesRequest.user_mode   r+   r    c                     g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the user_mode of this DescribePermissionRulesRequest.


        :param user_mode: The user_mode of this DescribePermissionRulesRequest.  # noqa: E501
        :type: str
        )r3   Root_squashNo_root_squash
All_squashz7Invalid value for `user_mode` ({0}), must be one of {1}N)r   r/   r0   r6   r   )r   r   r7   s      r   r   z(DescribePermissionRulesRequest.user_mode   sZ     TSS6 	//I	>22  
 $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hasattrr?   )xs    r   <lambda>z8DescribePermissionRulesRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r    r?   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r?   r   r@   )items    r   rC   z8DescribePermissionRulesRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r    )six	iteritemsswagger_typesgetattr
isinstancelistmaprA   r?   dictitems
issubclassr   )r   resultattr_valuekeys         r   r?   z&DescribePermissionRulesRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t4d;; 	$"jjll $ $
U#sr    c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr?   r#   s    r   to_strz%DescribePermissionRulesRequest.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rY   r#   s    r   __repr__z'DescribePermissionRulesRequest.__repr__   s    {{}}r    c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrK   r   r?   r   others     r   __eq__z%DescribePermissionRulesRequest.__eq__   s5    %!?@@ 	5||~~00r    c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr]   r^   s     r   __ne__z%DescribePermissionRulesRequest.__ne__  s5    %!?@@ 	4||~~00r    )NNNNNNN)__name__
__module____qualname____doc__rI   attribute_mapr   propertyr   setterr	   r
   r   r   r   r?   rY   r[   r`   rb    r    r   r   r      s        
 $ M #2 M' ' ' '4   X ^    ^  ! ! X! ( ( (   X $ $ $ ) ) X) 
8 
8  
8   X ^    ^ "   X $ $ $"  6. . .  1 1 11 1 1 1 1r    r   )rf   rW   rerG   volcenginesdkcore.configurationr   objectr   rj   r    r   <module>rn      s|      				 



 9 9 9 9 9 9v1 v1 v1 v1 v1V v1 v1 v1 v1 v1r    