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

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

    Do not edit the class manually.
    z%list[AccessPolicyForCreateTopicInput]strint)access_policiesdescriptioninstance_idmessage_typequeue_number
topic_nameAccessPoliciesDescription
InstanceIdMessageTypeQueueNumber	TopicNameNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        || _        || _        || _        || _        dS )z/CreateTopicRequest - a model defined in SwaggerN)r   _configuration_access_policies_description_instance_id_message_type_queue_number_topic_namediscriminatorr   r	   r
   r   r   r   )selfr   r	   r
   r   r   r   r   s           z/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkrocketmq/models/create_topic_request.py__init__zCreateTopicRequest.__init__5   s    !*__N, $  !!!&#2D "*D&(($    c                     | j         S )zGets the access_policies of this CreateTopicRequest.  # noqa: E501


        :return: The access_policies of this CreateTopicRequest.  # noqa: E501
        :rtype: list[AccessPolicyForCreateTopicInput]
        r   r   s    r   r   z"CreateTopicRequest.access_policiesL   s     $$r    c                     || _         dS )zSets the access_policies of this CreateTopicRequest.


        :param access_policies: The access_policies of this CreateTopicRequest.  # noqa: E501
        :type: list[AccessPolicyForCreateTopicInput]
        Nr"   )r   r   s     r   r   z"CreateTopicRequest.access_policiesV   s     !0r    c                     | j         S )zGets the description of this CreateTopicRequest.  # noqa: E501


        :return: The description of this CreateTopicRequest.  # noqa: E501
        :rtype: str
        r   r#   s    r   r	   zCreateTopicRequest.descriptiona          r    c                     || _         dS )zSets the description of this CreateTopicRequest.


        :param description: The description of this CreateTopicRequest.  # noqa: E501
        :type: str
        Nr&   )r   r	   s     r   r	   zCreateTopicRequest.descriptionk   s     (r    c                     | j         S )zGets the instance_id of this CreateTopicRequest.  # noqa: E501


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


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


        :return: The message_type of this CreateTopicRequest.  # noqa: E501
        :rtype: int
        )r   r#   s    r   r   zCreateTopicRequest.message_type        !!r    c                     | j         j        r|t          d          | j         j        r||dk    rt          d          | j         j        r||dk     rt          d          || _        dS )zSets the message_type of this CreateTopicRequest.


        :param message_type: The message_type of this CreateTopicRequest.  # noqa: E501
        :type: int
        Nz4Invalid value for `message_type`, must not be `None`   zKInvalid value for `message_type`, must be a value less than or equal to `4`r   zNInvalid value for `message_type`, must be a value greater than or equal to `0`)r   r+   r,   r   )r   r   s     r   r   zCreateTopicRequest.message_type   s     5 	U,:NSTTT6 	l(\A-=-=jkkk6 	o(\A-=-=mnnn)r    c                     | j         S )zGets the queue_number of this CreateTopicRequest.  # noqa: E501


        :return: The queue_number of this CreateTopicRequest.  # noqa: E501
        :rtype: int
        )r   r#   s    r   r   zCreateTopicRequest.queue_number   r.   r    c                     | j         j        r|t          d          | j         j        r||dk    rt          d          | j         j        r||dk     rt          d          || _        dS )zSets the queue_number of this CreateTopicRequest.


        :param queue_number: The queue_number of this CreateTopicRequest.  # noqa: E501
        :type: int
        Nz4Invalid value for `queue_number`, must not be `None`x   zMInvalid value for `queue_number`, must be a value less than or equal to `120`   zNInvalid value for `queue_number`, must be a value greater than or equal to `1`)r   r+   r,   r   )r   r   s     r   r   zCreateTopicRequest.queue_number   s     5 	U,:NSTTT6 	n(\C-?-?lmmm6 	o(\A-=-=mnnn)r    c                     | j         S )zGets the topic_name of this CreateTopicRequest.  # noqa: E501


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


        :param topic_name: The topic_name of this CreateTopicRequest.  # noqa: E501
        :type: str
        Nz2Invalid value for `topic_name`, must not be `None`   zJInvalid value for `topic_name`, length must be less than or equal to `128`)r   r+   r,   lenr   )r   r   s     r   r   zCreateTopicRequest.topic_name   si     5 	S*:LQRRR6 	k&3z??S+@+@ijjj%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,CreateTopicRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r    r;   c                 v    t          | d         d          r"| d         | d                                         fn| S )Nr4   r;   r   r<   )items    r   r?   z,CreateTopicRequest.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CreateTopicRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t($// 	$"jjll $ $
U#sr    c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr;   r#   s    r   to_strzCreateTopicRequest.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rT   r#   s    r   __repr__zCreateTopicRequest.__repr__   s    {{}}r    c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrF   r   r;   r   others     r   __eq__zCreateTopicRequest.__eq__  s5    %!344 	5||~~00r    c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrX   rY   s     r   __ne__zCreateTopicRequest.__ne__  s5    %!344 	4||~~00r    )NNNNNNN)__name__
__module____qualname____doc__rD   attribute_mapr   propertyr   setterr	   r
   r   r   r   r;   rT   rV   r[   r]    r    r   r   r      s        
 C M ,$#%%! M% % % %. % % X% 0 0 0 ! ! X! ( ( ( ! ! X! 
( 
( 
( " " X" * * *$ " " X" * * *$     X  & & &  6. . .  1 1 11 1 1 1 1r    r   )ra   rR   rerB   volcenginesdkcore.configurationr   objectr   re   r    r   <module>ri      s|      				 



 9 9 9 9 9 9z1 z1 z1 z1 z1 z1 z1 z1 z1 z1r    