
    ~i3                     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
    pca

    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                   8   e Zd ZdZ	 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Zd7d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	        d/             Zed0             Zej	        d1             Zd2 Zd3 Zd4 Zd5 Zd6 ZdS )8CreateLeafInstanceRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    !ContactForCreateLeafInstanceInputstr#CsrCommonForCreateLeafInstanceInput$ExtensionsForCreateLeafInstanceInputintbool)contactcsr
csr_commonduration_type
extensionshash_algidempotence_token	issuer_idkey_alg	key_paramquantitytag	use_quotar   r   r   r   r   r   r   r   r   r   r   r   r   Nc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        || _        ||| _        || _        ||| _        || _        |	| _        |
| _        || _        ||| _        |	|| _        dS dS )z6CreateLeafInstanceRequest - a model defined in SwaggerN)r   _configuration_contact_csr_csr_common_duration_type_extensions	_hash_alg_idempotence_token
_issuer_id_key_alg
_key_param	_quantity_tag
_use_quotadiscriminatorr   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   s                  }/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkpca/models/create_leaf_instance_request.py__init__z"CreateLeafInstanceRequest.__init__C   s   !*__N,	""&	!"DL?DH!(DO*!(DO (%6D""" ?DH &DNNN !     c                     | j         S )zGets the contact of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The contact of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: ContactForCreateLeafInstanceInput
        r   r)   s    r*   r   z!CreateLeafInstanceRequest.contactm        }r,   c                     || _         dS )zSets the contact of this CreateLeafInstanceRequest.


        :param contact: The contact of this CreateLeafInstanceRequest.  # noqa: E501
        :type: ContactForCreateLeafInstanceInput
        Nr.   )r)   r   s     r*   r   z!CreateLeafInstanceRequest.contactw   s      r,   c                     | j         S )zGets the csr of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The csr of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: str
        r   r/   s    r*   r   zCreateLeafInstanceRequest.csr        yr,   c                     || _         dS )zSets the csr of this CreateLeafInstanceRequest.


        :param csr: The csr of this CreateLeafInstanceRequest.  # noqa: E501
        :type: str
        Nr3   )r)   r   s     r*   r   zCreateLeafInstanceRequest.csr        			r,   c                     | j         S )zGets the csr_common of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The csr_common of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: CsrCommonForCreateLeafInstanceInput
        r   r/   s    r*   r   z$CreateLeafInstanceRequest.csr_common        r,   c                     || _         dS )zSets the csr_common of this CreateLeafInstanceRequest.


        :param csr_common: The csr_common of this CreateLeafInstanceRequest.  # noqa: E501
        :type: CsrCommonForCreateLeafInstanceInput
        Nr8   )r)   r   s     r*   r   z$CreateLeafInstanceRequest.csr_common        &r,   c                     | j         S )zGets the duration_type of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The duration_type of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: str
        )r   r/   s    r*   r   z'CreateLeafInstanceRequest.duration_type   s     ""r,   c                 N    | j         j        r|t          d          || _        dS )zSets the duration_type of this CreateLeafInstanceRequest.


        :param duration_type: The duration_type of this CreateLeafInstanceRequest.  # noqa: E501
        :type: str
        Nz5Invalid value for `duration_type`, must not be `None`)r   client_side_validation
ValueErrorr   )r)   r   s     r*   r   z'CreateLeafInstanceRequest.duration_type   s5     5 	V-:OTUUU+r,   c                     | j         S )zGets the extensions of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The extensions of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: ExtensionsForCreateLeafInstanceInput
        r   r/   s    r*   r   z$CreateLeafInstanceRequest.extensions   r9   r,   c                     || _         dS )zSets the extensions of this CreateLeafInstanceRequest.


        :param extensions: The extensions of this CreateLeafInstanceRequest.  # noqa: E501
        :type: ExtensionsForCreateLeafInstanceInput
        NrA   )r)   r   s     r*   r   z$CreateLeafInstanceRequest.extensions   r;   r,   c                     | j         S )zGets the hash_alg of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The hash_alg of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: str
        )r    r/   s    r*   r   z"CreateLeafInstanceRequest.hash_alg        ~r,   c                 N    | j         j        r|t          d          || _        dS )zSets the hash_alg of this CreateLeafInstanceRequest.


        :param hash_alg: The hash_alg of this CreateLeafInstanceRequest.  # noqa: E501
        :type: str
        Nz0Invalid value for `hash_alg`, must not be `None`)r   r>   r?   r    )r)   r   s     r*   r   z"CreateLeafInstanceRequest.hash_alg   2     5 	Q(:JOPPP!r,   c                     | j         S )zGets the idempotence_token of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The idempotence_token of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: str
        r!   r/   s    r*   r   z+CreateLeafInstanceRequest.idempotence_token   s     &&r,   c                     || _         dS )zSets the idempotence_token of this CreateLeafInstanceRequest.


        :param idempotence_token: The idempotence_token of this CreateLeafInstanceRequest.  # noqa: E501
        :type: str
        NrH   )r)   r   s     r*   r   z+CreateLeafInstanceRequest.idempotence_token   s     #4r,   c                     | j         S )zGets the issuer_id of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The issuer_id of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: str
        )r"   r/   s    r*   r   z#CreateLeafInstanceRequest.issuer_id       r,   c                 N    | j         j        r|t          d          || _        dS )zSets the issuer_id of this CreateLeafInstanceRequest.


        :param issuer_id: The issuer_id of this CreateLeafInstanceRequest.  # noqa: E501
        :type: str
        Nz1Invalid value for `issuer_id`, must not be `None`)r   r>   r?   r"   )r)   r   s     r*   r   z#CreateLeafInstanceRequest.issuer_id  2     5 	R):KPQQQ#r,   c                     | j         S )zGets the key_alg of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The key_alg of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: str
        )r#   r/   s    r*   r   z!CreateLeafInstanceRequest.key_alg  r0   r,   c                 N    | j         j        r|t          d          || _        dS )zSets the key_alg of this CreateLeafInstanceRequest.


        :param key_alg: The key_alg of this CreateLeafInstanceRequest.  # noqa: E501
        :type: str
        Nz/Invalid value for `key_alg`, must not be `None`)r   r>   r?   r#   )r)   r   s     r*   r   z!CreateLeafInstanceRequest.key_alg%  s1     5 	P'/NOOOr,   c                     | j         S )zGets the key_param of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The key_param of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: str
        )r$   r/   s    r*   r   z#CreateLeafInstanceRequest.key_param2  rK   r,   c                 N    | j         j        r|t          d          || _        dS )zSets the key_param of this CreateLeafInstanceRequest.


        :param key_param: The key_param of this CreateLeafInstanceRequest.  # noqa: E501
        :type: str
        Nz1Invalid value for `key_param`, must not be `None`)r   r>   r?   r$   )r)   r   s     r*   r   z#CreateLeafInstanceRequest.key_param<  rM   r,   c                     | j         S )zGets the quantity of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The quantity of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: int
        )r%   r/   s    r*   r   z"CreateLeafInstanceRequest.quantityI  rD   r,   c                 N    | j         j        r|t          d          || _        dS )zSets the quantity of this CreateLeafInstanceRequest.


        :param quantity: The quantity of this CreateLeafInstanceRequest.  # noqa: E501
        :type: int
        Nz0Invalid value for `quantity`, must not be `None`)r   r>   r?   r%   )r)   r   s     r*   r   z"CreateLeafInstanceRequest.quantityS  rF   r,   c                     | j         S )zGets the tag of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The tag of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: str
        r&   r/   s    r*   r   zCreateLeafInstanceRequest.tag`  r4   r,   c                     || _         dS )zSets the tag of this CreateLeafInstanceRequest.


        :param tag: The tag of this CreateLeafInstanceRequest.  # noqa: E501
        :type: str
        NrU   )r)   r   s     r*   r   zCreateLeafInstanceRequest.tagj  r6   r,   c                     | j         S )zGets the use_quota of this CreateLeafInstanceRequest.  # noqa: E501


        :return: The use_quota of this CreateLeafInstanceRequest.  # noqa: E501
        :rtype: bool
        r'   r/   s    r*   r   z#CreateLeafInstanceRequest.use_quotau  rK   r,   c                     || _         dS )zSets the use_quota of this CreateLeafInstanceRequest.


        :param use_quota: The use_quota of this CreateLeafInstanceRequest.  # noqa: E501
        :type: bool
        NrX   )r)   r   s     r*   r   z#CreateLeafInstanceRequest.use_quota  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>z3CreateLeafInstanceRequest.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`   z3CreateLeafInstanceRequest.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!CreateLeafInstanceRequest.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    r*   to_strz CreateLeafInstanceRequest.to_str  s    ~dllnn---r,   c                 *    |                                  S )zFor `print` and `pprint`)rv   r/   s    r*   __repr__z"CreateLeafInstanceRequest.__repr__  s    {{}}r,   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrh   r   r\   r)   others     r*   __eq__z CreateLeafInstanceRequest.__eq__  s5    %!:;; 	5||~~00r,   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrz   r{   s     r*   __ne__z CreateLeafInstanceRequest.__ne__  s5    %!:;; 	4||~~00r,   )NNNNNNNNNNNNNN)__name__
__module____qualname____doc__rf   attribute_mapr+   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   r\   rv   rx   r}   r    r,   r*   r   r      s        
 7;<" M" "("0    M (' (' (' ('T   X ^    ^    X 	Z  Z     X  & & & # # X# 
, 
, 
,     X  & & &   X _
" 
" _
" ' ' X' 4 4 4   X 
$ 
$ 
$   X ^
  
  ^
    X 
$ 
$ 
$   X _
" 
" _
"   X 	Z  Z   X $ $ $  6. . .  1 1 11 1 1 1 1r,   r   )r   rt   rerd   volcenginesdkcore.configurationr   objectr   r   r,   r*   <module>r      s|      				 



 9 9 9 9 9 9c1 c1 c1 c1 c1 c1 c1 c1 c1 c1r,   