
    ~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
    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ZdddZd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 )DecryptRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strzdict(str, str))ciphertext_blobencryption_contextCiphertextBlobEncryptionContextNc                     |t                      }|| _        d| _        d| _        d| _        || _        |	|| _        dS dS )z+DecryptRequest - a model defined in SwaggerN)r   _configuration_ciphertext_blob_encryption_contextdiscriminatorr   r   )selfr   r   r   s       p/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkkms/models/decrypt_request.py__init__zDecryptRequest.__init__-   sU    !*__N, $#' !.)&8D### *)    c                     | j         S )zGets the ciphertext_blob of this DecryptRequest.  # noqa: E501


        :return: The ciphertext_blob of this DecryptRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   zDecryptRequest.ciphertext_blob;   s     $$r   c                     | j         j        r|t          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the ciphertext_blob of this DecryptRequest.


        :param ciphertext_blob: The ciphertext_blob of this DecryptRequest.  # noqa: E501
        :type: str
        Nz7Invalid value for `ciphertext_blob`, must not be `None`   zQInvalid value for `ciphertext_blob`, length must be greater than or equal to `19`)r   client_side_validation
ValueErrorlenr   )r   r   s     r   r   zDecryptRequest.ciphertext_blobE   sk     5 	X/:QVWWW6 	r+O0D0Dr0I0Ipqqq /r   c                     | j         S )zGets the encryption_context of this DecryptRequest.  # noqa: E501


        :return: The encryption_context of this DecryptRequest.  # noqa: E501
        :rtype: dict(str, str)
        r   r   s    r   r   z!DecryptRequest.encryption_contextU   s     ''r   c                     || _         dS )zSets the encryption_context of this DecryptRequest.


        :param encryption_context: The encryption_context of this DecryptRequest.  # noqa: E501
        :type: dict(str, str)
        Nr   )r   r   s     r   r   z!DecryptRequest.encryption_context_   s     $6   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>z(DecryptRequest.to_dict.<locals>.<lambda>r   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$   z(DecryptRequest.to_dict.<locals>.<lambda>y   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DecryptRequest.to_dictj   s+   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %tnd++ 	$"jjll $ $
U#sr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr    r   s    r   to_strzDecryptRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)r:   r   s    r   __repr__zDecryptRequest.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr,   r   r    r   others     r   __eq__zDecryptRequest.__eq__   s4    %00 	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DecryptRequest.__ne__   s4    %00 	4||~~00r   )NNN)__name__
__module____qualname____doc__r*   attribute_mapr   propertyr   setterr   r    r:   r<   rA   rC    r   r   r   r      s        
 !. M ,1 M
9 9 9 9 % % X% 0 0 0 ( ( X( 6 6 6  6. . .  1 1 11 1 1 1 1r   r   )rG   r8   rer(   volcenginesdkcore.configurationr   objectr   rK   r   r   <module>rO      s|      				 



 9 9 9 9 9 9C1 C1 C1 C1 C1V C1 C1 C1 C1 C1r   