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

    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dddd
Zd	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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]boolz	list[str]strintzlist[TagForCreateTopicInput])
access_policiesall_authoritycleanup_policydescriptioninstance_id
parameterspartition_numberreplica_numbertags
topic_nameAccessPoliciesAllAuthorityCleanupPolicyDescription
InstanceId
ParametersPartitionNumberReplicaNumberTags	TopicNameNc                 v   |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        ||| _        ||| _        ||| _        ||| _        || _        ||| _        || _        ||| _        |	|	| _        |
| _        dS )z/CreateTopicRequest - a model defined in SwaggerN)r   _configuration_access_policies_all_authority_cleanup_policy_description_instance_id_parameters_partition_number_replica_number_tags_topic_namediscriminatorr	   r
   r   r   r   r   r   r   r   r   )selfr	   r
   r   r   r   r   r   r   r   r   r   s               w/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkkafka/models/create_topic_request.py__init__zCreateTopicRequest.__init__=   s    !*__N, $"#  !%#
!&#2D $!.D%"0D"*D&!(DO 0%"0DDI$    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_policiesa   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_policiesk   s     !0r-   c                     | j         S )zGets the all_authority of this CreateTopicRequest.  # noqa: E501


        :return: The all_authority of this CreateTopicRequest.  # noqa: E501
        :rtype: bool
        r    r0   s    r+   r
   z CreateTopicRequest.all_authorityv   s     ""r-   c                     || _         dS )zSets the all_authority of this CreateTopicRequest.


        :param all_authority: The all_authority of this CreateTopicRequest.  # noqa: E501
        :type: bool
        Nr3   )r*   r
   s     r+   r
   z CreateTopicRequest.all_authority   s     ,r-   c                     | j         S )zGets the cleanup_policy of this CreateTopicRequest.  # noqa: E501


        :return: The cleanup_policy of this CreateTopicRequest.  # noqa: E501
        :rtype: list[str]
        )r!   r0   s    r+   r   z!CreateTopicRequest.cleanup_policy        ##r-   c                    ddg}| j         j        rt          |                              t          |                    st	          d                    d                    t          t          t          |          t          |          z
                      d                    t          t          |                                        || _	        dS )zSets the cleanup_policy of this CreateTopicRequest.


        :param cleanup_policy: The cleanup_policy of this CreateTopicRequest.  # noqa: E501
        :type: list[str]
        deletecompactzDInvalid values for `cleanup_policy` [{0}], must be a subset of [{1}]z, N)
r   client_side_validationsetissubset
ValueErrorformatjoinmapr   r!   )r*   r   allowed_valuess      r+   r   z!CreateTopicRequest.cleanup_policy   s     #I.6 	''00^1D1DEE	V		#c3~+>+>^ATAT+T"U"UVV		#c>":":;;= =    .r-   c                     | j         S )zGets the description of this CreateTopicRequest.  # noqa: E501


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


        :param description: The description of this CreateTopicRequest.  # noqa: E501
        :type: str
        NrC   )r*   r   s     r+   r   zCreateTopicRequest.description   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#   r0   s    r+   r   zCreateTopicRequest.instance_id   rD   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   r:   r=   r#   )r*   r   s     r+   r   zCreateTopicRequest.instance_id   s5     5 	T+:MRSSS'r-   c                     | j         S )zGets the parameters of this CreateTopicRequest.  # noqa: E501


        :return: The parameters of this CreateTopicRequest.  # noqa: E501
        :rtype: str
        r$   r0   s    r+   r   zCreateTopicRequest.parameters        r-   c                     || _         dS )zSets the parameters of this CreateTopicRequest.


        :param parameters: The parameters of this CreateTopicRequest.  # noqa: E501
        :type: str
        NrI   )r*   r   s     r+   r   zCreateTopicRequest.parameters   s     &r-   c                     | j         S )zGets the partition_number of this CreateTopicRequest.  # noqa: E501


        :return: The partition_number of this CreateTopicRequest.  # noqa: E501
        :rtype: int
        )r%   r0   s    r+   r   z#CreateTopicRequest.partition_number   s     %%r-   c                 N    | j         j        r|t          d          || _        dS )zSets the partition_number of this CreateTopicRequest.


        :param partition_number: The partition_number of this CreateTopicRequest.  # noqa: E501
        :type: int
        Nz8Invalid value for `partition_number`, must not be `None`)r   r:   r=   r%   )r*   r   s     r+   r   z#CreateTopicRequest.partition_number   s6     5 	Y:J:RWXXX!1r-   c                     | j         S )zGets the replica_number of this CreateTopicRequest.  # noqa: E501


        :return: The replica_number of this CreateTopicRequest.  # noqa: E501
        :rtype: int
        r&   r0   s    r+   r   z!CreateTopicRequest.replica_number   r6   r-   c                     || _         dS )zSets the replica_number of this CreateTopicRequest.


        :param replica_number: The replica_number of this CreateTopicRequest.  # noqa: E501
        :type: int
        NrO   )r*   r   s     r+   r   z!CreateTopicRequest.replica_number
  s      .r-   c                     | j         S )zGets the tags of this CreateTopicRequest.  # noqa: E501


        :return: The tags of this CreateTopicRequest.  # noqa: E501
        :rtype: list[TagForCreateTopicInput]
        r'   r0   s    r+   r   zCreateTopicRequest.tags  s     zr-   c                     || _         dS )zSets the tags of this CreateTopicRequest.


        :param tags: The tags of this CreateTopicRequest.  # noqa: E501
        :type: list[TagForCreateTopicInput]
        NrR   )r*   r   s     r+   r   zCreateTopicRequest.tags  s     


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(   r0   s    r+   r   zCreateTopicRequest.topic_name*  rJ   r-   c                 N    | j         j        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`)r   r:   r=   r(   )r*   r   s     r+   r   zCreateTopicRequest.topic_name4  s5     5 	S*:LQRR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hasattrrX   )xs    r+   <lambda>z,CreateTopicRequest.to_dict.<locals>.<lambda>I  s!    WQ	-B-BIaiikkk r-   rX   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rX   r   rY   )items    r+   r\   z,CreateTopicRequest.to_dict.<locals>.<lambda>P  s<    tAw	22"=$q'47??+<+<!=!=8< r-   )six	iteritemsswagger_typesgetattr
isinstancelistr@   rZ   rX   dictitems
issubclassr   )r*   resultattr_valuekeys         r+   rX   zCreateTopicRequest.to_dictA  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pformatrX   r0   s    r+   to_strzCreateTopicRequest.to_str\  s    ~dllnn---r-   c                 *    |                                  S )zFor `print` and `pprint`)rq   r0   s    r+   __repr__zCreateTopicRequest.__repr__`  s    {{}}r-   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrd   r   rX   r*   others     r+   __eq__zCreateTopicRequest.__eq__d  s5    %!344 	5||~~00r-   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTru   rv   s     r+   __ne__zCreateTopicRequest.__ne__k  s5    %!344 	4||~~00r-   )NNNNNNNNNNN)__name__
__module____qualname____doc__rb   attribute_mapr,   propertyr	   setterr
   r   r   r   r   r   r   r   r   rX   rq   rs   rx   rz    r-   r+   r   r      s        
 C%!. M ,')$#"-)! M"% "% "% "%H % % X% 0 0 0 # # X# , , , $ $ X$ . . .$ ! ! X! ( ( ( ! ! X! 
( 
( 
(     X  & & & & & X& 
2 
2 
2 $ $ X$ . . .   X 
[  [     X  
& 
& 
&  6. . .  1 1 11 1 1 1 1r-   r   )r~   ro   rer`   volcenginesdkcore.configurationr   objectr   r   r-   r+   <module>r      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-   