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

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

    Do not edit the class manually.
    strint)group_idoffset_typepartition_idreset_byreset_valuetopic_idGroupId
OffsetTypePartitionIdResetBy
ResetValueTopicIdNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        || _	        ||| _
        ||| _        || _        || _        || _        dS )z;ResetSubscriptionOffsetRequest - a model defined in SwaggerN)r   _configuration	_group_id_offset_type_partition_id	_reset_by_reset_value	_topic_id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/volcenginesdkbmq/models/reset_subscription_offset_request.py__init__z'ResetSubscriptionOffsetRequest.__init__5   s    !*__N, ! ! "*D# ,D &     c                     | j         S )zGets the group_id of this ResetSubscriptionOffsetRequest.  # noqa: E501


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


        :param group_id: The group_id of this ResetSubscriptionOffsetRequest.  # noqa: E501
        :type: str
        Nz0Invalid value for `group_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   z'ResetSubscriptionOffsetRequest.group_idV   2     5 	Q(:JOPPP!r    c                     | j         S )zGets the offset_type of this ResetSubscriptionOffsetRequest.  # noqa: E501


        :return: The offset_type of this ResetSubscriptionOffsetRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r	   z*ResetSubscriptionOffsetRequest.offset_typec          r    c                     g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the offset_type of this ResetSubscriptionOffsetRequest.


        :param offset_type: The offset_type of this ResetSubscriptionOffsetRequest.  # noqa: E501
        :type: str
        )EARLIESTCURRENTLATESTz9Invalid value for `offset_type` ({0}), must be one of {1}N)r   r%   r&   formatr   )r   r	   allowed_valuess      r   r	   z*ResetSubscriptionOffsetRequest.offset_typem   s\     ;::6 	>11K^44  
 (r    c                     | j         S )zGets the partition_id of this ResetSubscriptionOffsetRequest.  # noqa: E501


        :return: The partition_id of this ResetSubscriptionOffsetRequest.  # noqa: E501
        :rtype: int
        r   r"   s    r   r
   z+ResetSubscriptionOffsetRequest.partition_id   s     !!r    c                     || _         dS )zSets the partition_id of this ResetSubscriptionOffsetRequest.


        :param partition_id: The partition_id of this ResetSubscriptionOffsetRequest.  # noqa: E501
        :type: int
        Nr1   )r   r
   s     r   r
   z+ResetSubscriptionOffsetRequest.partition_id   s     *r    c                     | j         S )zGets the reset_by of this ResetSubscriptionOffsetRequest.  # noqa: E501


        :return: The reset_by of this ResetSubscriptionOffsetRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r   z'ResetSubscriptionOffsetRequest.reset_by   r#   r    c                     | j         j        r|t          d          ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the reset_by of this ResetSubscriptionOffsetRequest.


        :param reset_by: The reset_by of this ResetSubscriptionOffsetRequest.  # noqa: E501
        :type: str
        Nz0Invalid value for `reset_by`, must not be `None`	TIMESTAMPOFFSETz6Invalid value for `reset_by` ({0}), must be one of {1})r   r%   r&   r.   r   )r   r   r/   s      r   r   z'ResetSubscriptionOffsetRequest.reset_by   s{     5 	Q(:JOPPP%x06 	..H.11  
 "r    c                     | j         S )zGets the reset_value of this ResetSubscriptionOffsetRequest.  # noqa: E501


        :return: The reset_value of this ResetSubscriptionOffsetRequest.  # noqa: E501
        :rtype: int
        )r   r"   s    r   r   z*ResetSubscriptionOffsetRequest.reset_value   r)   r    c                 N    | j         j        r|t          d          || _        dS )zSets the reset_value of this ResetSubscriptionOffsetRequest.


        :param reset_value: The reset_value of this ResetSubscriptionOffsetRequest.  # noqa: E501
        :type: int
        Nz3Invalid value for `reset_value`, must not be `None`)r   r%   r&   r   )r   r   s     r   r   z*ResetSubscriptionOffsetRequest.reset_value   s5     5 	T+:MRSSS'r    c                     | j         S )zGets the topic_id of this ResetSubscriptionOffsetRequest.  # noqa: E501


        :return: The topic_id of this ResetSubscriptionOffsetRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r   z'ResetSubscriptionOffsetRequest.topic_id   r#   r    c                 N    | j         j        r|t          d          || _        dS )zSets the topic_id of this ResetSubscriptionOffsetRequest.


        :param topic_id: The topic_id of this ResetSubscriptionOffsetRequest.  # noqa: E501
        :type: str
        Nz0Invalid value for `topic_id`, must not be `None`)r   r%   r&   r   )r   r   s     r   r   z'ResetSubscriptionOffsetRequest.topic_id   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hasattrr=   )xs    r   <lambda>z8ResetSubscriptionOffsetRequest.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   rA   z8ResetSubscriptionOffsetRequest.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&ResetSubscriptionOffsetRequest.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%ResetSubscriptionOffsetRequest.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rW   r"   s    r   __repr__z'ResetSubscriptionOffsetRequest.__repr__   s    {{}}r    c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrI   r   r=   r   others     r   __eq__z%ResetSubscriptionOffsetRequest.__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%ResetSubscriptionOffsetRequest.__ne__
  s5    %!?@@ 	4||~~00r    )NNNNNNN)__name__
__module____qualname____doc__rG   attribute_mapr   propertyr   setterr	   r
   r   r   r   r=   rW   rY   r^   r`    r    r   r   r      s        
  M #%# M! ! ! !.   X _
" 
" _
" ! ! X! ( ( (" " " X" * * *   X _" " _"& ! ! X! 
( 
( 
(   X _
" 
" _
"  6. . .  1 1 11 1 1 1 1r    r   )rd   rU   rerE   volcenginesdkcore.configurationr   objectr   rh   r    r   <module>rl      s|      				 



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