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

    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 ) DescribeKeysRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    intstrz#list[TagFilterForDescribeKeysInput])current_pagefilters
keyring_idkeyring_name	page_sizetag_filtersCurrentPageFilters	KeyringIDKeyringNamePageSize
TagFiltersNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        ||| _        ||| _        ||| _        |	|| _        dS dS )z0DescribeKeysRequest - a model defined in SwaggerN)r   _configuration_current_page_filters_keyring_id_keyring_name
_page_size_tag_filtersdiscriminatorr   r	   r
   r   r   r   )selfr   r	   r
   r   r   r   r   s           v/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkkms/models/describe_keys_request.py__init__zDescribeKeysRequest.__init__5   s    !*__N,!! !# ,D"DL!(DO# ,D &DN"*D #"    c                     | j         S )zGets the current_page of this DescribeKeysRequest.  # noqa: E501


        :return: The current_page of this DescribeKeysRequest.  # noqa: E501
        :rtype: int
        )r   r   s    r   r   z DescribeKeysRequest.current_pageP        !!r    c                 Z    | j         j        r||dk     rt          d          || _        dS )zSets the current_page of this DescribeKeysRequest.


        :param current_page: The current_page of this DescribeKeysRequest.  # noqa: E501
        :type: int
        N   zNInvalid value for `current_page`, must be a value greater than or equal to `1`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   z DescribeKeysRequest.current_pageZ   s@     6 	o(\A-=-=mnnn)r    c                     | j         S )zGets the filters of this DescribeKeysRequest.  # noqa: E501


        :return: The filters of this DescribeKeysRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r	   zDescribeKeysRequest.filtersh   s     }r    c                 t    | j         j        r$|"t          |          dk    rt          d          || _        dS )zSets the filters of this DescribeKeysRequest.


        :param filters: The filters of this DescribeKeysRequest.  # noqa: E501
        :type: str
        Ni   zHInvalid value for `filters`, length must be less than or equal to `2048`)r   r&   lenr'   r   )r   r	   s     r   r	   zDescribeKeysRequest.filtersr   sC     6 	i#Gt(;(;ghhhr    c                     | j         S )zGets the keyring_id of this DescribeKeysRequest.  # noqa: E501


        :return: The keyring_id of this DescribeKeysRequest.  # noqa: E501
        :rtype: str
        r   r"   s    r   r
   zDescribeKeysRequest.keyring_id   s     r    c                     || _         dS )zSets the keyring_id of this DescribeKeysRequest.


        :param keyring_id: The keyring_id of this DescribeKeysRequest.  # noqa: E501
        :type: str
        Nr,   )r   r
   s     r   r
   zDescribeKeysRequest.keyring_id   s     &r    c                     | j         S )zGets the keyring_name of this DescribeKeysRequest.  # noqa: E501


        :return: The keyring_name of this DescribeKeysRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r   z DescribeKeysRequest.keyring_name   r#   r    c                     | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the keyring_name of this DescribeKeysRequest.


        :param keyring_name: The keyring_name of this DescribeKeysRequest.  # noqa: E501
        :type: str
        N   zKInvalid value for `keyring_name`, length must be less than or equal to `31`   zMInvalid value for `keyring_name`, length must be greater than or equal to `2`)r   r&   r*   r'   r   )r   r   s     r   r   z DescribeKeysRequest.keyring_name   s~     6 	l(S->->-C-Cjkkk6 	n(S->->-B-Blmmm)r    c                     | j         S )zGets the page_size of this DescribeKeysRequest.  # noqa: E501


        :return: The page_size of this DescribeKeysRequest.  # noqa: E501
        :rtype: int
        )r   r"   s    r   r   zDescribeKeysRequest.page_size   s     r    c                     | j         j        r||dk    rt          d          | j         j        r||dk     rt          d          || _        dS )zSets the page_size of this DescribeKeysRequest.


        :param page_size: The page_size of this DescribeKeysRequest.  # noqa: E501
        :type: int
        Nd   zJInvalid value for `page_size`, must be a value less than or equal to `100`r%   zKInvalid value for `page_size`, must be a value greater than or equal to `1`)r   r&   r'   r   )r   r   s     r   r   zDescribeKeysRequest.page_size   sg     6 	k%)c//ijjj6 	l%)a--jkkk#r    c                     | j         S )zGets the tag_filters of this DescribeKeysRequest.  # noqa: E501


        :return: The tag_filters of this DescribeKeysRequest.  # noqa: E501
        :rtype: list[TagFilterForDescribeKeysInput]
        r   r"   s    r   r   zDescribeKeysRequest.tag_filters   s       r    c                     || _         dS )zSets the tag_filters of this DescribeKeysRequest.


        :param tag_filters: The tag_filters of this DescribeKeysRequest.  # noqa: E501
        :type: list[TagFilterForDescribeKeysInput]
        Nr6   )r   r   s     r   r   zDescribeKeysRequest.tag_filters   s     (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>z-DescribeKeysRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r    r:   c                 v    t          | d         d          r"| d         | d                                         fn| S )Nr%   r:   r   r;   )items    r   r>   z-DescribeKeysRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r    )six	iteritemsswagger_typesgetattr
isinstancelistmapr<   r:   dictitems
issubclassr   )r   resultattr_valuekeys         r   r:   zDescribeKeysRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t)400 	$"jjll $ $
U#sr    c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr:   r"   s    r   to_strzDescribeKeysRequest.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rS   r"   s    r   __repr__zDescribeKeysRequest.__repr__   s    {{}}r    c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrE   r   r:   r   others     r   __eq__zDescribeKeysRequest.__eq__  s5    %!455 	5||~~00r    c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrW   rX   s     r   __ne__zDescribeKeysRequest.__ne__
  s5    %!455 	4||~~00r    )NNNNNNN)__name__
__module____qualname____doc__rC   attribute_mapr   propertyr   setterr	   r
   r   r   r   r:   rS   rU   rZ   r\    r    r   r   r      s        
 < M &!%# M+ + + +6 " " X" * * *   X ^    ^      X  & & & " " X" * * *    X $ $ $  ! ! X! ( ( (  6. . .  1 1 11 1 1 1 1r    r   )r`   rQ   rerA   volcenginesdkcore.configurationr   objectr   rd   r    r   <module>rh      s|      				 



 9 9 9 9 9 9y1 y1 y1 y1 y1& y1 y1 y1 y1 y1r    