
    ~iK:                     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
    pca20251001

    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                   r   e Zd ZdZ	 dddddddddddddddZd	d
dd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ed-             Zej	        d.             Zed/             Zej	        d0             Zed1             Zej	        d2             Zed3             Zej	        d4             Zd5 Zd6 Zd7 Zd8 Zd9 ZdS );CreateRootInstanceRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    !ContactForCreateRootInstanceInput#CsrCommonForCreateRootInstanceInputstr$ExtensionsForCreateRootInstanceInputintz#list[TagForCreateRootInstanceInput])contact
csr_commonduration_type
extensionshash_algidempotence_tokenkey_alg	key_param	not_after
not_beforeproject_namequantitytagtagsContact	CsrCommonDurationType
ExtensionsHashAlgIdempotenceTokenKeyAlgKeyParamNotAfter	NotBeforeProjectNameQuantityTagTagsNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        || _        ||| _        ||| _        ||| _        || _        ||| _        |	|	| _        |
|
| _        ||| _        || _        ||| _        |	|| _        dS dS )z6CreateRootInstanceRequest - a model defined in SwaggerN)r   _configuration_contact_csr_common_duration_type_extensions	_hash_alg_idempotence_token_key_alg
_key_param
_not_after_not_before_project_name	_quantity_tag_tagsdiscriminatorr   r   r   r   r   r   r   r   r   r   r   r   r   r   )selfr   r   r   r   r   r   r   r   r   r   r   r   r   r   r(   s                   /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkpca20251001/models/create_root_instance_request.py__init__z"CreateRootInstanceRequest.__init__E   s;   !*__N,""&!	
!"DL!(DO*!(DO$DM(%6D" &DN &DN!(DO# ,D ?DHDIII     c                     | j         S )zGets the contact of this CreateRootInstanceRequest.  # noqa: E501


        :return: The contact of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: ContactForCreateRootInstanceInput
        r)   r8   s    r9   r   z!CreateRootInstanceRequest.contactu        }r;   c                     || _         dS )zSets the contact of this CreateRootInstanceRequest.


        :param contact: The contact of this CreateRootInstanceRequest.  # noqa: E501
        :type: ContactForCreateRootInstanceInput
        Nr=   )r8   r   s     r9   r   z!CreateRootInstanceRequest.contact   s      r;   c                     | j         S )zGets the csr_common of this CreateRootInstanceRequest.  # noqa: E501


        :return: The csr_common of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: CsrCommonForCreateRootInstanceInput
        r*   r>   s    r9   r   z$CreateRootInstanceRequest.csr_common        r;   c                     || _         dS )zSets the csr_common of this CreateRootInstanceRequest.


        :param csr_common: The csr_common of this CreateRootInstanceRequest.  # noqa: E501
        :type: CsrCommonForCreateRootInstanceInput
        NrB   )r8   r   s     r9   r   z$CreateRootInstanceRequest.csr_common        &r;   c                     | j         S )zGets the duration_type of this CreateRootInstanceRequest.  # noqa: E501


        :return: The duration_type of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: str
        )r+   r>   s    r9   r   z'CreateRootInstanceRequest.duration_type   s     ""r;   c                     | j         j        r|t          d          g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the duration_type of this CreateRootInstanceRequest.


        :param duration_type: The duration_type of this CreateRootInstanceRequest.  # noqa: E501
        :type: str
        Nz5Invalid value for `duration_type`, must not be `None`)hourdaymonthyearz;Invalid value for `duration_type` ({0}), must be one of {1})r(   client_side_validation
ValueErrorformatr+   )r8   r   allowed_valuess      r9   r   z'CreateRootInstanceRequest.duration_type   s     5 	V-:OTUUU9996 	^33M~66  
 ,r;   c                     | j         S )zGets the extensions of this CreateRootInstanceRequest.  # noqa: E501


        :return: The extensions of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: ExtensionsForCreateRootInstanceInput
        r,   r>   s    r9   r   z$CreateRootInstanceRequest.extensions   rC   r;   c                     || _         dS )zSets the extensions of this CreateRootInstanceRequest.


        :param extensions: The extensions of this CreateRootInstanceRequest.  # noqa: E501
        :type: ExtensionsForCreateRootInstanceInput
        NrQ   )r8   r   s     r9   r   z$CreateRootInstanceRequest.extensions   rE   r;   c                     | j         S )zGets the hash_alg of this CreateRootInstanceRequest.  # noqa: E501


        :return: The hash_alg of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: str
        r-   r>   s    r9   r   z"CreateRootInstanceRequest.hash_alg        ~r;   c                     || _         dS )zSets the hash_alg of this CreateRootInstanceRequest.


        :param hash_alg: The hash_alg of this CreateRootInstanceRequest.  # noqa: E501
        :type: str
        NrT   )r8   r   s     r9   r   z"CreateRootInstanceRequest.hash_alg   s     "r;   c                     | j         S )zGets the idempotence_token of this CreateRootInstanceRequest.  # noqa: E501


        :return: The idempotence_token of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: str
        r.   r>   s    r9   r   z+CreateRootInstanceRequest.idempotence_token   s     &&r;   c                     || _         dS )zSets the idempotence_token of this CreateRootInstanceRequest.


        :param idempotence_token: The idempotence_token of this CreateRootInstanceRequest.  # noqa: E501
        :type: str
        NrX   )r8   r   s     r9   r   z+CreateRootInstanceRequest.idempotence_token   s     #4r;   c                     | j         S )zGets the key_alg of this CreateRootInstanceRequest.  # noqa: E501


        :return: The key_alg of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: str
        )r/   r>   s    r9   r   z!CreateRootInstanceRequest.key_alg   r?   r;   c                     | j         j        r|t          d          g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the key_alg of this CreateRootInstanceRequest.


        :param key_alg: The key_alg of this CreateRootInstanceRequest.  # noqa: E501
        :type: str
        Nz/Invalid value for `key_alg`, must not be `None`)RSAECDSASM2z5Invalid value for `key_alg` ({0}), must be one of {1})r(   rL   rM   rN   r/   )r8   r   rO   s      r9   r   z!CreateRootInstanceRequest.key_alg  s{     5 	P'/NOOO0006 	~--G00  
  r;   c                     | j         S )zGets the key_param of this CreateRootInstanceRequest.  # noqa: E501


        :return: The key_param of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: str
        )r0   r>   s    r9   r   z#CreateRootInstanceRequest.key_param       r;   c                     g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the key_param of this CreateRootInstanceRequest.


        :param key_param: The key_param of this CreateRootInstanceRequest.  # noqa: E501
        :type: str
        )P256P384P521204830724096z7Invalid value for `key_param` ({0}), must be one of {1}N)r(   rL   rM   rN   r0   )r8   r   rO   s      r9   r   z#CreateRootInstanceRequest.key_param$  sZ     JII6 	//I	>22  
 $r;   c                     | j         S )zGets the not_after of this CreateRootInstanceRequest.  # noqa: E501


        :return: The not_after of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: str
        r1   r>   s    r9   r   z#CreateRootInstanceRequest.not_after6  r`   r;   c                     || _         dS )zSets the not_after of this CreateRootInstanceRequest.


        :param not_after: The not_after of this CreateRootInstanceRequest.  # noqa: E501
        :type: str
        Nri   )r8   r   s     r9   r   z#CreateRootInstanceRequest.not_after@  s     $r;   c                     | j         S )zGets the not_before of this CreateRootInstanceRequest.  # noqa: E501


        :return: The not_before of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: str
        r2   r>   s    r9   r   z$CreateRootInstanceRequest.not_beforeK  rC   r;   c                     || _         dS )zSets the not_before of this CreateRootInstanceRequest.


        :param not_before: The not_before of this CreateRootInstanceRequest.  # noqa: E501
        :type: str
        Nrl   )r8   r   s     r9   r   z$CreateRootInstanceRequest.not_beforeU  rE   r;   c                     | j         S )zGets the project_name of this CreateRootInstanceRequest.  # noqa: E501


        :return: The project_name of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: str
        r3   r>   s    r9   r   z&CreateRootInstanceRequest.project_name`  s     !!r;   c                     || _         dS )zSets the project_name of this CreateRootInstanceRequest.


        :param project_name: The project_name of this CreateRootInstanceRequest.  # noqa: E501
        :type: str
        Nro   )r8   r   s     r9   r   z&CreateRootInstanceRequest.project_namej  s     *r;   c                     | j         S )zGets the quantity of this CreateRootInstanceRequest.  # noqa: E501


        :return: The quantity of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: int
        )r4   r>   s    r9   r   z"CreateRootInstanceRequest.quantityu  rU   r;   c                 N    | j         j        r|t          d          || _        dS )zSets the quantity of this CreateRootInstanceRequest.


        :param quantity: The quantity of this CreateRootInstanceRequest.  # noqa: E501
        :type: int
        Nz0Invalid value for `quantity`, must not be `None`)r(   rL   rM   r4   )r8   r   s     r9   r   z"CreateRootInstanceRequest.quantity  s2     5 	Q(:JOPPP!r;   c                     | j         S )zGets the tag of this CreateRootInstanceRequest.  # noqa: E501


        :return: The tag of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: str
        r5   r>   s    r9   r   zCreateRootInstanceRequest.tag  s     yr;   c                     || _         dS )zSets the tag of this CreateRootInstanceRequest.


        :param tag: The tag of this CreateRootInstanceRequest.  # noqa: E501
        :type: str
        Nrt   )r8   r   s     r9   r   zCreateRootInstanceRequest.tag  s     			r;   c                     | j         S )zGets the tags of this CreateRootInstanceRequest.  # noqa: E501


        :return: The tags of this CreateRootInstanceRequest.  # noqa: E501
        :rtype: list[TagForCreateRootInstanceInput]
        r6   r>   s    r9   r   zCreateRootInstanceRequest.tags  s     zr;   c                     || _         dS )zSets the tags of this CreateRootInstanceRequest.


        :param tags: The tags of this CreateRootInstanceRequest.  # noqa: E501
        :type: list[TagForCreateRootInstanceInput]
        Nrw   )r8   r   s     r9   r   zCreateRootInstanceRequest.tags  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    r9   <lambda>z3CreateRootInstanceRequest.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    r9   r   z3CreateRootInstanceRequest.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   )r8   resultattr_valuekeys         r9   r{   z!CreateRootInstanceRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t/66 	$"jjll $ $
U#sr;   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr{   r>   s    r9   to_strz CreateRootInstanceRequest.to_str  s    ~dllnn---r;   c                 *    |                                  S )zFor `print` and `pprint`)r   r>   s    r9   __repr__z"CreateRootInstanceRequest.__repr__  s    {{}}r;   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr   r   r{   r8   others     r9   __eq__z CreateRootInstanceRequest.__eq__  s5    %!:;; 	5||~~00r;   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     r9   __ne__z CreateRootInstanceRequest.__ne__  s5    %!:;; 	4||~~00r;   )NNNNNNNNNNNNNNN)__name__
__module____qualname____doc__r   attribute_mapr:   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   r   r{   r   r   r   r    r;   r9   r   r      s        
 7;<"5 M$ !'"/!% M". . . .`   X ^    ^      X  & & & # # X# , , ,&     X  & & &   X _" " _" ' ' X' 4 4 4   X ^    ^ &   X $ $ $"   X $ $ $     X  & & & " " X" * * *   X _
" 
" _
"   X 	Z  Z   X 
[  [  6. . .  1 1 11 1 1 1 1r;   r   )r   r   rer   volcenginesdkcore.configurationr   objectr   r   r;   r9   <module>r      s|      				 



 9 9 9 9 9 9O1 O1 O1 O1 O1 O1 O1 O1 O1 O1r;   