
    ~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                   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 )UploadCACertificateRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strz$list[TagForUploadCACertificateInput])ca_certificateca_certificate_namedescriptionproject_nametagsCACertificateCACertificateNameDescriptionProjectNameTagsNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        || _        ||| _	        ||| _
        ||| _        |	|| _        dS dS )z7UploadCACertificateRequest - a model defined in SwaggerN)r   _configuration_ca_certificate_ca_certificate_name_description_project_name_tagsdiscriminatorr   r   r	   r
   r   )selfr   r   r	   r
   r   r   s          ~/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkalb/models/upload_ca_certificate_request.py__init__z#UploadCACertificateRequest.__init__3   s    !*__N,#$(! !
!,*':D$"*D# ,DDIII     c                     | j         S )zGets the ca_certificate of this UploadCACertificateRequest.  # noqa: E501


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


        :param ca_certificate: The ca_certificate of this UploadCACertificateRequest.  # noqa: E501
        :type: str
        Nz6Invalid value for `ca_certificate`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   z)UploadCACertificateRequest.ca_certificateT   s5     5 	W.:PUVVV-r   c                     | j         S )zGets the ca_certificate_name of this UploadCACertificateRequest.  # noqa: E501


        :return: The ca_certificate_name of this UploadCACertificateRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   z.UploadCACertificateRequest.ca_certificate_namea   s     ((r   c                     | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the ca_certificate_name of this UploadCACertificateRequest.


        :param ca_certificate_name: The ca_certificate_name of this UploadCACertificateRequest.  # noqa: E501
        :type: str
        N   zSInvalid value for `ca_certificate_name`, length must be less than or equal to `128`   zTInvalid value for `ca_certificate_name`, length must be greater than or equal to `1`)r   r    lenr!   r   )r   r   s     r   r   z.UploadCACertificateRequest.ca_certificate_namek   s     6 	t#/C8K4L4Ls4R4Rrsss6 	u#/C8K4L4Lq4P4Psttt$7!!!r   c                     | j         S )zGets the description of this UploadCACertificateRequest.  # noqa: E501


        :return: The description of this UploadCACertificateRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r	   z&UploadCACertificateRequest.description|   s       r   c                     || _         dS )zSets the description of this UploadCACertificateRequest.


        :param description: The description of this UploadCACertificateRequest.  # noqa: E501
        :type: str
        Nr(   )r   r	   s     r   r	   z&UploadCACertificateRequest.description   s     (r   c                     | j         S )zGets the project_name of this UploadCACertificateRequest.  # noqa: E501


        :return: The project_name of this UploadCACertificateRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r
   z'UploadCACertificateRequest.project_name   s     !!r   c                     || _         dS )zSets the project_name of this UploadCACertificateRequest.


        :param project_name: The project_name of this UploadCACertificateRequest.  # noqa: E501
        :type: str
        Nr+   )r   r
   s     r   r
   z'UploadCACertificateRequest.project_name   s     *r   c                     | j         S )zGets the tags of this UploadCACertificateRequest.  # noqa: E501


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


        :param tags: The tags of this UploadCACertificateRequest.  # noqa: E501
        :type: list[TagForUploadCACertificateInput]
        Nr.   )r   r   s     r   r   zUploadCACertificateRequest.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hasattrr2   )xs    r   <lambda>z4UploadCACertificateRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r   r2   c                 v    t          | d         d          r"| d         | d                                         fn| S )Nr%   r2   r   r3   )items    r   r6   z4UploadCACertificateRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r   )six	iteritemsswagger_typesgetattr
isinstancelistmapr4   r2   dictitems
issubclassr   )r   resultattr_valuekeys         r   r2   z"UploadCACertificateRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t0$77 	$"jjll $ $
U#sr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr2   r   s    r   to_strz!UploadCACertificateRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rK   r   s    r   __repr__z#UploadCACertificateRequest.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr=   r   r2   r   others     r   __eq__z!UploadCACertificateRequest.__eq__   s5    %!;<< 	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!UploadCACertificateRequest.__ne__   s5    %!;<< 	4||~~00r   )NNNNNN)__name__
__module____qualname____doc__r;   attribute_mapr   propertyr   setterr   r	   r
   r   r2   rK   rM   rR   rT    r   r   r   r      s        
  $6 M *2$% M   . $ $ X$ 
. 
. 
. ) ) X) 8 8  8  ! ! X! ( ( ( " " 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T1 T1 T1 T1 T1 T1 T1 T1 T1 T1r   