o
    ³©iõ  ã                   @   s,   d dl mZ d dlmZ G dd„ deƒZdS )é    )Ú
RpcRequest)Úendpoint_datac                   @   sT   e Zd Zdd„ Zdd„ Zdd„ Zdd„ Zd	d
„ Zdd„ Zdd„ Z	dd„ Z
dd„ ZdS )ÚEncryptRequestc                 C   sb   t  | dddd¡ |  d¡ |  d¡ t| dƒr t| dt ¡ ƒ t| dƒr/t| dt ¡ ƒ d S d S )	NÚKmsz
2016-01-20ÚEncryptÚkmsÚhttpsÚPOSTÚendpoint_mapÚendpoint_regional)	r   Ú__init__Úset_protocol_typeÚ
set_methodÚhasattrÚsetattrr   ÚgetEndpointMapÚgetEndpointRegional©Úself© r   úa/home/ubuntu/.local/lib/python3.10/site-packages/aliyunsdkkms/request/v20160120/EncryptRequest.pyr      s   



ÿzEncryptRequest.__init__c                 C   ó   |   ¡  d¡S ©NÚDryRun©Úget_query_paramsÚgetr   r   r   r   Ú
get_DryRun#   ó   zEncryptRequest.get_DryRunc                 C   ó   |   d|¡ d S r   ©Úadd_query_param)r   r   r   r   r   Ú
set_DryRun&   ó   zEncryptRequest.set_DryRunc                 C   r   ©NÚKeyIdr   r   r   r   r   Ú	get_KeyId(   r   zEncryptRequest.get_KeyIdc                 C   r   r$   r    )r   r%   r   r   r   Ú	set_KeyId+   r#   zEncryptRequest.set_KeyIdc                 C   r   ©NÚ	Plaintextr   r   r   r   r   Úget_Plaintext-   r   zEncryptRequest.get_Plaintextc                 C   r   r(   r    )r   r)   r   r   r   Úset_Plaintext0   r#   zEncryptRequest.set_Plaintextc                 C   r   ©NÚEncryptionContextr   r   r   r   r   Úget_EncryptionContext2   r   z$EncryptRequest.get_EncryptionContextc                 C   r   r,   r    )r   r-   r   r   r   Úset_EncryptionContext5   r#   z$EncryptRequest.set_EncryptionContextN)Ú__name__Ú
__module__Ú__qualname__r   r   r"   r&   r'   r*   r+   r.   r/   r   r   r   r   r      s    
r   N)Úaliyunsdkcore.requestr   Úaliyunsdkkms.endpointr   r   r   r   r   r   Ú<module>   s   