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

    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            
       P   e Zd ZdZ	 dddddddddd	Zdd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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 )(DescribeSlowLogsRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strint)	contextdb_nameinstance_idkeyslimitpod_namequery_end_timequery_start_timesortContextDBName
InstanceIdKeysLimitPodNameQueryEndTimeQueryStartTimeSortNc                 Z   |
t                      }
|
| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        ||| _        ||| _        || _        ||| _        || _        || _        ||| _        ||| _        |		|	| _        dS dS )z4DescribeSlowLogsRequest - a model defined in SwaggerN)r   _configuration_context_db_name_instance_id_keys_limit	_pod_name_query_end_time_query_start_time_sortdiscriminatorr   r	   r
   r   r   r   r   r   r   )selfr   r	   r
   r   r   r   r   r   r   r   s              /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkmongodb/models/describe_slow_logs_request.py__init__z DescribeSlowLogsRequest.__init__;   s    !*__N, 
#!%
!"DL"DL&DI
 %"0D'$4D!DIII     c                     | j         S )zGets the context of this DescribeSlowLogsRequest.  # noqa: E501


        :return: The context of this DescribeSlowLogsRequest.  # noqa: E501
        :rtype: str
        r   r&   s    r'   r   zDescribeSlowLogsRequest.context\        }r)   c                     || _         dS )zSets the context of this DescribeSlowLogsRequest.


        :param context: The context of this DescribeSlowLogsRequest.  # noqa: E501
        :type: str
        Nr+   )r&   r   s     r'   r   zDescribeSlowLogsRequest.contextf         r)   c                     | j         S )zGets the db_name of this DescribeSlowLogsRequest.  # noqa: E501


        :return: The db_name of this DescribeSlowLogsRequest.  # noqa: E501
        :rtype: str
        r   r,   s    r'   r	   zDescribeSlowLogsRequest.db_nameq   r-   r)   c                     || _         dS )zSets the db_name of this DescribeSlowLogsRequest.


        :param db_name: The db_name of this DescribeSlowLogsRequest.  # noqa: E501
        :type: str
        Nr1   )r&   r	   s     r'   r	   zDescribeSlowLogsRequest.db_name{   r/   r)   c                     | j         S )zGets the instance_id of this DescribeSlowLogsRequest.  # noqa: E501


        :return: The instance_id of this DescribeSlowLogsRequest.  # noqa: E501
        :rtype: str
        )r   r,   s    r'   r
   z#DescribeSlowLogsRequest.instance_id   s       r)   c                 N    | j         j        r|t          d          || _        dS )zSets the instance_id of this DescribeSlowLogsRequest.


        :param instance_id: The instance_id of this DescribeSlowLogsRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `instance_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r&   r
   s     r'   r
   z#DescribeSlowLogsRequest.instance_id   s5     5 	T+:MRSSS'r)   c                     | j         S )zGets the keys of this DescribeSlowLogsRequest.  # noqa: E501


        :return: The keys of this DescribeSlowLogsRequest.  # noqa: E501
        :rtype: str
        r   r,   s    r'   r   zDescribeSlowLogsRequest.keys        zr)   c                     || _         dS )zSets the keys of this DescribeSlowLogsRequest.


        :param keys: The keys of this DescribeSlowLogsRequest.  # noqa: E501
        :type: str
        Nr8   )r&   r   s     r'   r   zDescribeSlowLogsRequest.keys   s     


r)   c                     | j         S )zGets the limit of this DescribeSlowLogsRequest.  # noqa: E501


        :return: The limit of this DescribeSlowLogsRequest.  # noqa: E501
        :rtype: int
        )r    r,   s    r'   r   zDescribeSlowLogsRequest.limit   s     {r)   c                 N    | j         j        r|t          d          || _        dS )zSets the limit of this DescribeSlowLogsRequest.


        :param limit: The limit of this DescribeSlowLogsRequest.  # noqa: E501
        :type: int
        Nz-Invalid value for `limit`, must not be `None`)r   r5   r6   r    )r&   r   s     r'   r   zDescribeSlowLogsRequest.limit   s1     5 	N%-LMMMr)   c                     | j         S )zGets the pod_name of this DescribeSlowLogsRequest.  # noqa: E501


        :return: The pod_name of this DescribeSlowLogsRequest.  # noqa: E501
        :rtype: str
        )r!   r,   s    r'   r   z DescribeSlowLogsRequest.pod_name   s     ~r)   c                 N    | j         j        r|t          d          || _        dS )zSets the pod_name of this DescribeSlowLogsRequest.


        :param pod_name: The pod_name of this DescribeSlowLogsRequest.  # noqa: E501
        :type: str
        Nz0Invalid value for `pod_name`, must not be `None`)r   r5   r6   r!   )r&   r   s     r'   r   z DescribeSlowLogsRequest.pod_name   s2     5 	Q(:JOPPP!r)   c                     | j         S )zGets the query_end_time of this DescribeSlowLogsRequest.  # noqa: E501


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


        :param query_end_time: The query_end_time of this DescribeSlowLogsRequest.  # noqa: E501
        :type: str
        Nr@   )r&   r   s     r'   r   z&DescribeSlowLogsRequest.query_end_time   s      .r)   c                     | j         S )zGets the query_start_time of this DescribeSlowLogsRequest.  # noqa: E501


        :return: The query_start_time of this DescribeSlowLogsRequest.  # noqa: E501
        :rtype: str
        r#   r,   s    r'   r   z(DescribeSlowLogsRequest.query_start_time   s     %%r)   c                     || _         dS )zSets the query_start_time of this DescribeSlowLogsRequest.


        :param query_start_time: The query_start_time of this DescribeSlowLogsRequest.  # noqa: E501
        :type: str
        NrC   )r&   r   s     r'   r   z(DescribeSlowLogsRequest.query_start_time   s     "2r)   c                     | j         S )zGets the sort of this DescribeSlowLogsRequest.  # noqa: E501


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


        :param sort: The sort of this DescribeSlowLogsRequest.  # noqa: E501
        :type: str
        ASCDESCz2Invalid value for `sort` ({0}), must be one of {1}N)r   r5   r6   formatr$   )r&   r   allowed_valuess      r'   r   zDescribeSlowLogsRequest.sort  sW      6 	N**Dn--  
 


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hasattrrM   )xs    r'   <lambda>z1DescribeSlowLogsRequest.to_dict.<locals>.<lambda>.  s!    WQ	-B-BIaiikkk r)   rM   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rM   r   rN   )items    r'   rQ   z1DescribeSlowLogsRequest.to_dict.<locals>.<lambda>5  s<    tAw	22"=$q'47??+<+<!=!=8< r)   )six	iteritemsswagger_typesgetattr
isinstancelistmaprO   rM   dictitems
issubclassr   )r&   resultattr_valuekeys         r'   rM   zDescribeSlowLogsRequest.to_dict&  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t-t44 	$"jjll $ $
U#sr)   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrM   r,   s    r'   to_strzDescribeSlowLogsRequest.to_strA  s    ~dllnn---r)   c                 *    |                                  S )zFor `print` and `pprint`)rg   r,   s    r'   __repr__z DescribeSlowLogsRequest.__repr__E  s    {{}}r)   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrY   r   rM   r&   others     r'   __eq__zDescribeSlowLogsRequest.__eq__I  s5    %!899 	5||~~00r)   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrk   rl   s     r'   __ne__zDescribeSlowLogsRequest.__ne__P  s5    %!899 	4||~~00r)   )
NNNNNNNNNN)__name__
__module____qualname____doc__rW   attribute_mapr(   propertyr   setterr	   r
   r   r   r   r   r   r   rM   rg   ri   rn   rp    r)   r'   r   r      s        
 !
 
M #(,
 
M   B   X ^    ^    X ^    ^  ! ! X! 
( 
( 
(   X 
[  [   X \
 
 \
   X _
" 
" _
" $ $ X$ . . . & & X& 2 2 2   X 
[  ["  6. . .  1 1 11 1 1 1 1r)   r   )rt   re   rerU   volcenginesdkcore.configurationr   objectr   rx   r)   r'   <module>r|      s|      				 



 9 9 9 9 9 91 1 1 1 1f 1 1 1 1 1r)   