
    ~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 )a  
    livesaas20230801

    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Z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d Zd Zd Zd Zd Zd
S )UpdateSubAccountRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strintz	list[int])name	nick_nameorganization_idrole_idsNameNickNameOrganizationIdRoleIdsNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        || _        ||| _        ||| _	        |	|| _
        dS dS )z4UpdateSubAccountRequest - a model defined in SwaggerN)r   _configuration_name
_nick_name_organization_id	_role_idsdiscriminatorr   r	   r
   r   )selfr   r	   r
   r   r   s         /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdklivesaas20230801/models/update_sub_account_request.py__init__z UpdateSubAccountRequest.__init__1   sy    !*__N,
 $!	 &DN&#2D $DMMM      c                     | j         S )zGets the name of this UpdateSubAccountRequest.  # noqa: E501


        :return: The name of this UpdateSubAccountRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   zUpdateSubAccountRequest.nameE   s     zr   c                 N    | j         j        r|t          d          || _        dS )zSets the name of this UpdateSubAccountRequest.


        :param name: The name of this UpdateSubAccountRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `name`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zUpdateSubAccountRequest.nameO   s1     5 	M$,KLLL


r   c                     | j         S )zGets the nick_name of this UpdateSubAccountRequest.  # noqa: E501


        :return: The nick_name of this UpdateSubAccountRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r	   z!UpdateSubAccountRequest.nick_name\   s     r   c                     || _         dS )zSets the nick_name of this UpdateSubAccountRequest.


        :param nick_name: The nick_name of this UpdateSubAccountRequest.  # noqa: E501
        :type: str
        Nr!   )r   r	   s     r   r	   z!UpdateSubAccountRequest.nick_namef   s     $r   c                     | j         S )zGets the organization_id of this UpdateSubAccountRequest.  # noqa: E501


        :return: The organization_id of this UpdateSubAccountRequest.  # noqa: E501
        :rtype: int
        r   r   s    r   r
   z'UpdateSubAccountRequest.organization_idq   s     $$r   c                     || _         dS )zSets the organization_id of this UpdateSubAccountRequest.


        :param organization_id: The organization_id of this UpdateSubAccountRequest.  # noqa: E501
        :type: int
        Nr$   )r   r
   s     r   r
   z'UpdateSubAccountRequest.organization_id{   s     !0r   c                     | j         S )zGets the role_ids of this UpdateSubAccountRequest.  # noqa: E501


        :return: The role_ids of this UpdateSubAccountRequest.  # noqa: E501
        :rtype: list[int]
        r   r   s    r   r   z UpdateSubAccountRequest.role_ids   s     ~r   c                     || _         dS )zSets the role_ids of this UpdateSubAccountRequest.


        :param role_ids: The role_ids of this UpdateSubAccountRequest.  # noqa: E501
        :type: list[int]
        Nr'   )r   r   s     r   r   z UpdateSubAccountRequest.role_ids   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>z1UpdateSubAccountRequest.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   r/   z1UpdateSubAccountRequest.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UpdateSubAccountRequest.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pformatr+   r   s    r   to_strzUpdateSubAccountRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rE   r   s    r   __repr__z UpdateSubAccountRequest.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr7   r   r+   r   others     r   __eq__zUpdateSubAccountRequest.__eq__   s5    %!899 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrI   rJ   s     r   __ne__zUpdateSubAccountRequest.__ne__   s5    %!899 	4||~~00r   )NNNNN)__name__
__module____qualname____doc__r5   attribute_mapr   propertyr   setterr	   r
   r   r+   rE   rG   rL   rN    r   r   r   r      s        
  	 M +	 M% % % %(   X 
[
 
 [
   X $ $ $ % % X% 0 0 0   X _" " _"  6. . .  1 1 11 1 1 1 1r   r   )rR   rC   rer3   volcenginesdkcore.configurationr   objectr   rV   r   r   <module>rZ      s|      				 



 9 9 9 9 9 9t1 t1 t1 t1 t1f t1 t1 t1 t1 t1r   