
    ~iD                     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                   h   e Zd ZdZ	 ddddddZ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d Zd Zd Zd Zd ZdS )CreateSubAccountRequestzsNOTE: 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typeNameNickNameOrganizationIdRoleIdsTypeNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        || _        || _	        ||| _
        ||| _        || _        dS )z4CreateSubAccountRequest - a model defined in SwaggerN)r   _configuration_name
_nick_name_organization_id	_role_ids_typediscriminatorr   r	   r
   r   r   )selfr   r	   r
   r   r   r   s          /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdklivesaas20230801/models/create_sub_account_request.py__init__z CreateSubAccountRequest.__init__3   sy    !*__N,
 $
!	"&#2D $DM			    c                     | j         S )zGets the name of this CreateSubAccountRequest.  # noqa: E501


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


        :param name: The name of this CreateSubAccountRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `name`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zCreateSubAccountRequest.nameR   1     5 	M$,KLLL


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


        :return: The nick_name of this CreateSubAccountRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r	   z!CreateSubAccountRequest.nick_name_   s     r   c                 N    | j         j        r|t          d          || _        dS )zSets the nick_name of this CreateSubAccountRequest.


        :param nick_name: The nick_name of this CreateSubAccountRequest.  # noqa: E501
        :type: str
        Nz1Invalid value for `nick_name`, must not be `None`)r   r"   r#   r   )r   r	   s     r   r	   z!CreateSubAccountRequest.nick_namei   s2     5 	R):KPQQQ#r   c                     | j         S )zGets the organization_id of this CreateSubAccountRequest.  # noqa: E501


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


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


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


        :param role_ids: The role_ids of this CreateSubAccountRequest.  # noqa: E501
        :type: list[int]
        Nr+   )r   r   s     r   r   z CreateSubAccountRequest.role_ids   s     "r   c                     | j         S )zGets the type of this CreateSubAccountRequest.  # noqa: E501


        :return: The type of this CreateSubAccountRequest.  # noqa: E501
        :rtype: int
        )r   r   s    r   r   zCreateSubAccountRequest.type   r    r   c                 N    | j         j        r|t          d          || _        dS )zSets the type of this CreateSubAccountRequest.


        :param type: The type of this CreateSubAccountRequest.  # noqa: E501
        :type: int
        Nz,Invalid value for `type`, must not be `None`)r   r"   r#   r   )r   r   s     r   r   zCreateSubAccountRequest.type   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hasattrr1   )xs    r   <lambda>z1CreateSubAccountRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r   r1   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r1   r   r2   )items    r   r5   z1CreateSubAccountRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r   )six	iteritemsswagger_typesgetattr
isinstancelistmapr3   r1   dictitems
issubclassr   )r   resultattr_valuekeys         r   r1   zCreateSubAccountRequest.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pformatr1   r   s    r   to_strzCreateSubAccountRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rK   r   s    r   __repr__z CreateSubAccountRequest.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr=   r   r1   r   others     r   __eq__zCreateSubAccountRequest.__eq__   s5    %!899 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrO   rP   s     r   __ne__zCreateSubAccountRequest.__ne__   s5    %!899 	4||~~00r   )NNNNNN)__name__
__module____qualname____doc__r;   attribute_mapr   propertyr   setterr	   r
   r   r   r1   rK   rM   rR   rT    r   r   r   r      s        
   M + M   *   X 
[
 
 [
   X 
$ 
$ 
$ % % X% 0 0 0   X _" " _"   X 
[
 
 [
  6. . .  1 1 11 1 1 1 1r   r   )rX   rI   rer9   volcenginesdkcore.configurationr   objectr   r\   r   r   <module>r`      s|      				 



 9 9 9 9 9 9P1 P1 P1 P1 P1f P1 P1 P1 P1 P1r   