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

    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Z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d Zd Zd Zd Zd  ZdS )"UploadCertificateRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strz"list[TagForUploadCertificateInput])certificate_namecertificate_typedescriptionprivate_keyproject_name
public_keytagsCertificateNameCertificateTypeDescription
PrivateKeyProjectName	PublicKeyTagsNc	                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        || _        ||| _        || _        ||| _        || _        |	|| _        dS dS )z5UploadCertificateRequest - a model defined in SwaggerN)r   _configuration_certificate_name_certificate_type_description_private_key_project_name_public_key_tagsdiscriminatorr   r   r	   r
   r   r   r   )	selfr   r   r	   r
   r   r   r   r   s	            {/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkalb/models/upload_certificate_request.py__init__z!UploadCertificateRequest.__init__7   s    !*__N,!%!%  !
!'$4D! 0"*D&# ,D$DIII     c                     | j         S )zGets the certificate_name of this UploadCertificateRequest.  # noqa: E501


        :return: The certificate_name of this UploadCertificateRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r    r   z)UploadCertificateRequest.certificate_nameR        %%r"   c                     | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the certificate_name of this UploadCertificateRequest.


        :param certificate_name: The certificate_name of this UploadCertificateRequest.  # noqa: E501
        :type: str
        N   zPInvalid value for `certificate_name`, length must be less than or equal to `128`   zQInvalid value for `certificate_name`, length must be greater than or equal to `1`)r   client_side_validationlen
ValueErrorr   )r   r   s     r    r   z)UploadCertificateRequest.certificate_name\   s     6 	q ,5E1F1F1L1Loppp6 	r ,5E1F1F1J1Jpqqq!1r"   c                     | j         S )zGets the certificate_type of this UploadCertificateRequest.  # noqa: E501


        :return: The certificate_type of this UploadCertificateRequest.  # noqa: E501
        :rtype: str
        )r   r$   s    r    r   z)UploadCertificateRequest.certificate_typem   r%   r"   c                 N    | j         j        r|t          d          || _        dS )zSets the certificate_type of this UploadCertificateRequest.


        :param certificate_type: The certificate_type of this UploadCertificateRequest.  # noqa: E501
        :type: str
        Nz8Invalid value for `certificate_type`, must not be `None`)r   r)   r+   r   )r   r   s     r    r   z)UploadCertificateRequest.certificate_typew   s6     5 	Y:J:RWXXX!1r"   c                     | j         S )zGets the description of this UploadCertificateRequest.  # noqa: E501


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


        :param description: The description of this UploadCertificateRequest.  # noqa: E501
        :type: str
        Nr/   )r   r	   s     r    r	   z$UploadCertificateRequest.description   s     (r"   c                     | j         S )zGets the private_key of this UploadCertificateRequest.  # noqa: E501


        :return: The private_key of this UploadCertificateRequest.  # noqa: E501
        :rtype: str
        )r   r$   s    r    r
   z$UploadCertificateRequest.private_key   r0   r"   c                 N    | j         j        r|t          d          || _        dS )zSets the private_key of this UploadCertificateRequest.


        :param private_key: The private_key of this UploadCertificateRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `private_key`, must not be `None`)r   r)   r+   r   )r   r
   s     r    r
   z$UploadCertificateRequest.private_key   s5     5 	T+:MRSSS'r"   c                     | j         S )zGets the project_name of this UploadCertificateRequest.  # noqa: E501


        :return: The project_name of this UploadCertificateRequest.  # noqa: E501
        :rtype: str
        r   r$   s    r    r   z%UploadCertificateRequest.project_name   s     !!r"   c                     || _         dS )zSets the project_name of this UploadCertificateRequest.


        :param project_name: The project_name of this UploadCertificateRequest.  # noqa: E501
        :type: str
        Nr5   )r   r   s     r    r   z%UploadCertificateRequest.project_name   s     *r"   c                     | j         S )zGets the public_key of this UploadCertificateRequest.  # noqa: E501


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


        :param public_key: The public_key of this UploadCertificateRequest.  # noqa: E501
        :type: str
        Nz2Invalid value for `public_key`, must not be `None`)r   r)   r+   r   )r   r   s     r    r   z#UploadCertificateRequest.public_key   s5     5 	S*:LQRRR%r"   c                     | j         S )zGets the tags of this UploadCertificateRequest.  # noqa: E501


        :return: The tags of this UploadCertificateRequest.  # noqa: E501
        :rtype: list[TagForUploadCertificateInput]
        r   r$   s    r    r   zUploadCertificateRequest.tags   s     zr"   c                     || _         dS )zSets the tags of this UploadCertificateRequest.


        :param tags: The tags of this UploadCertificateRequest.  # noqa: E501
        :type: list[TagForUploadCertificateInput]
        Nr:   )r   r   s     r    r   zUploadCertificateRequest.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    r    <lambda>z2UploadCertificateRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r"   r>   c                 v    t          | d         d          r"| d         | d                                         fn| S )Nr(   r>   r   r?   )items    r    rB   z2UploadCertificateRequest.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 UploadCertificateRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t.55 	$"jjll $ $
U#sr"   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr>   r$   s    r    to_strzUploadCertificateRequest.to_str  s    ~dllnn---r"   c                 *    |                                  S )zFor `print` and `pprint`)rW   r$   s    r    __repr__z!UploadCertificateRequest.__repr__  s    {{}}r"   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrI   r   r>   r   others     r    __eq__zUploadCertificateRequest.__eq__  s5    %!9:: 	5||~~00r"   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr[   r\   s     r    __ne__zUploadCertificateRequest.__ne__  s5    %!9:: 	4||~~00r"   )NNNNNNNN)__name__
__module____qualname____doc__rG   attribute_mapr!   propertyr   setterr   r	   r
   r   r   r   r>   rW   rY   r^   r`    r"   r    r   r      s\        
 "!4 M .-$#%! M   6 & & X& 2 2 2  & & X& 
2 
2 
2 ! ! X! ( ( ( ! ! X! 
( 
( 
( " " X" * * *     X  
& 
& 
&   X 
[  [  6. . .  1 1 11 1 1 1 1r"   r   )rd   rU   rerE   volcenginesdkcore.configurationr   objectr   rh   r"   r    <module>rl      s|      				 



 9 9 9 9 9 9J1 J1 J1 J1 J1v J1 J1 J1 J1 J1r"   