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

    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ddd
Z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d% Zd& Zd' Zd( Zd) ZdS )+CreateSecretRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    boolstr)
automatic_rotationdescriptionencryption_keyextended_configproject_namerotation_intervalsecret_namesecret_typesecret_valueversion_nameAutomaticRotationDescriptionEncryptionKeyExtendedConfigProjectNameRotationInterval
SecretName
SecretTypeSecretValueVersionNameNc                 z   |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        || _        || _        |	| _        |
	|
| _        dS dS )z0CreateSecretRequest - a model defined in SwaggerN)r   _configuration_automatic_rotation_description_encryption_key_extended_config_project_name_rotation_interval_secret_name_secret_type_secret_value_version_namediscriminatorr   r	   r
   r   r   r   r   r   r   r   )selfr   r	   r
   r   r   r   r   r   r   r   r   s               v/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkkms/models/create_secret_request.py__init__zCreateSecretRequest.__init__=   s    !*__N,#'  # $!"&  !!!)&8D#"*D%"0D&#2D # ,D(%6D"&&(# ,D $#    c                     | j         S )zGets the automatic_rotation of this CreateSecretRequest.  # noqa: E501


        :return: The automatic_rotation of this CreateSecretRequest.  # noqa: E501
        :rtype: bool
        r   r)   s    r*   r   z&CreateSecretRequest.automatic_rotationa   s     ''r,   c                     || _         dS )zSets the automatic_rotation of this CreateSecretRequest.


        :param automatic_rotation: The automatic_rotation of this CreateSecretRequest.  # noqa: E501
        :type: bool
        Nr.   )r)   r   s     r*   r   z&CreateSecretRequest.automatic_rotationk   s     $6   r,   c                     | j         S )zGets the description of this CreateSecretRequest.  # noqa: E501


        :return: The description of this CreateSecretRequest.  # noqa: E501
        :rtype: str
        )r   r/   s    r*   r	   zCreateSecretRequest.descriptionv          r,   c                 t    | j         j        r$|"t          |          dk    rt          d          || _        dS )zSets the description of this CreateSecretRequest.


        :param description: The description of this CreateSecretRequest.  # noqa: E501
        :type: str
        Ni    zLInvalid value for `description`, length must be less than or equal to `8192`)r   client_side_validationlen
ValueErrorr   )r)   r	   s     r*   r	   zCreateSecretRequest.description   sH     6 	m'C,<,<t,C,Cklll'r,   c                     | j         S )zGets the encryption_key of this CreateSecretRequest.  # noqa: E501


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


        :param encryption_key: The encryption_key of this CreateSecretRequest.  # noqa: E501
        :type: str
        Nr8   )r)   r
   s     r*   r
   z"CreateSecretRequest.encryption_key   s      .r,   c                     | j         S )zGets the extended_config of this CreateSecretRequest.  # noqa: E501


        :return: The extended_config of this CreateSecretRequest.  # noqa: E501
        :rtype: str
        )r!   r/   s    r*   r   z#CreateSecretRequest.extended_config   s     $$r,   c                 t    | j         j        r$|"t          |          dk    rt          d          || _        dS )zSets the extended_config of this CreateSecretRequest.


        :param extended_config: The extended_config of this CreateSecretRequest.  # noqa: E501
        :type: str
        Ni   zPInvalid value for `extended_config`, length must be less than or equal to `1024`)r   r4   r5   r6   r!   )r)   r   s     r*   r   z#CreateSecretRequest.extended_config   sH     6 	q+O0D0Dt0K0Koppp /r,   c                     | j         S )zGets the project_name of this CreateSecretRequest.  # noqa: E501


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


        :param project_name: The project_name of this CreateSecretRequest.  # noqa: E501
        :type: str
        Nr=   )r)   r   s     r*   r   z CreateSecretRequest.project_name   s     *r,   c                     | j         S )zGets the rotation_interval of this CreateSecretRequest.  # noqa: E501


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


        :param rotation_interval: The rotation_interval of this CreateSecretRequest.  # noqa: E501
        :type: str
        NrA   )r)   r   s     r*   r   z%CreateSecretRequest.rotation_interval   s     #4r,   c                     | j         S )zGets the secret_name of this CreateSecretRequest.  # noqa: E501


        :return: The secret_name of this CreateSecretRequest.  # noqa: E501
        :rtype: str
        )r$   r/   s    r*   r   zCreateSecretRequest.secret_name   r2   r,   c                    | j         j        r|t          d          | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the secret_name of this CreateSecretRequest.


        :param secret_name: The secret_name of this CreateSecretRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `secret_name`, must not be `None`   zKInvalid value for `secret_name`, length must be less than or equal to `128`   zLInvalid value for `secret_name`, length must be greater than or equal to `2`)r   r4   r6   r5   r$   )r)   r   s     r*   r   zCreateSecretRequest.secret_name   s     5 	T+:MRSSS6 	l'C,<,<s,B,Bjkkk6 	m'C,<,<q,@,@klll'r,   c                     | j         S )zGets the secret_type of this CreateSecretRequest.  # noqa: E501


        :return: The secret_type of this CreateSecretRequest.  # noqa: E501
        :rtype: str
        )r%   r/   s    r*   r   zCreateSecretRequest.secret_type  r2   r,   c                     | j         j        r|t          d          g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the secret_type of this CreateSecretRequest.


        :param secret_type: The secret_type of this CreateSecretRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `secret_type`, must not be `None`)GenericIAMRDSRedisECSz9Invalid value for `secret_type` ({0}), must be one of {1})r   r4   r6   formatr%   )r)   r   allowed_valuess      r*   r   zCreateSecretRequest.secret_type  s     5 	T+:MRSSSBBB6 	>11K^44  
 (r,   c                     | j         S )zGets the secret_value of this CreateSecretRequest.  # noqa: E501


        :return: The secret_value of this CreateSecretRequest.  # noqa: E501
        :rtype: str
        )r&   r/   s    r*   r   z CreateSecretRequest.secret_value   r>   r,   c                     | j         j        r|t          d          | j         j        r$|"t          |          dk    rt          d          || _        dS )zSets the secret_value of this CreateSecretRequest.


        :param secret_value: The secret_value of this CreateSecretRequest.  # noqa: E501
        :type: str
        Nz4Invalid value for `secret_value`, must not be `None`i x  zNInvalid value for `secret_value`, length must be less than or equal to `30720`)r   r4   r6   r5   r&   )r)   r   s     r*   r   z CreateSecretRequest.secret_value*  sk     5 	U,:NSTTT6 	o(S->->-F-Fmnnn)r,   c                     | j         S )zGets the version_name of this CreateSecretRequest.  # noqa: E501


        :return: The version_name of this CreateSecretRequest.  # noqa: E501
        :rtype: str
        )r'   r/   s    r*   r   z CreateSecretRequest.version_name:  r>   r,   c                     | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the version_name of this CreateSecretRequest.


        :param version_name: The version_name of this CreateSecretRequest.  # noqa: E501
        :type: str
        NrE   zLInvalid value for `version_name`, length must be less than or equal to `128`rF   zMInvalid value for `version_name`, length must be greater than or equal to `2`)r   r4   r5   r6   r'   )r)   r   s     r*   r   z CreateSecretRequest.version_nameD  s~     6 	m(S->->-D-Dklll6 	n(S->->-B-Blmmm)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hasattrrV   )xs    r*   <lambda>z-CreateSecretRequest.to_dict.<locals>.<lambda>]  s!    WQ	-B-BIaiikkk r,   rV   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rV   r   rW   )items    r*   rZ   z-CreateSecretRequest.to_dict.<locals>.<lambda>d  s<    tAw	22"=$q'47??+<+<!=!=8< r,   )six	iteritemsswagger_typesgetattr
isinstancelistmaprX   rV   dictitems
issubclassr   )r)   resultattr_valuekeys         r*   rV   zCreateSecretRequest.to_dictU  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t)400 	$"jjll $ $
U#sr,   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrV   r/   s    r*   to_strzCreateSecretRequest.to_strp  s    ~dllnn---r,   c                 *    |                                  S )zFor `print` and `pprint`)rp   r/   s    r*   __repr__zCreateSecretRequest.__repr__t  s    {{}}r,   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrb   r   rV   r)   others     r*   __eq__zCreateSecretRequest.__eq__x  s5    %!455 	5||~~00r,   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrt   ru   s     r*   __ne__zCreateSecretRequest.__ne__  s5    %!455 	4||~~00r,   )NNNNNNNNNNN)__name__
__module____qualname____doc__r`   attribute_mapr+   propertyr   setterr	   r
   r   r   r   r   r   r   r   rV   rp   rr   rw   ry    r,   r*   r   r      s        
 % " M 2$)+%/##%% M"- "- "- "-H ( ( X( 6 6 6 ! ! X! ( ( ( $ $ X$ . . . % % X% 0 0 0 " " X" * * * ' ' X' 4 4 4 ! ! X! ( ( ($ ! ! X! ( ( (& " " X" * * * " " X" * * *   6. . .  1 1 11 1 1 1 1r,   r   )r}   rn   rer^   volcenginesdkcore.configurationr   objectr   r   r,   r*   <module>r      s|      				 



 9 9 9 9 9 9n1 n1 n1 n1 n1& n1 n1 n1 n1 n1r,   