o
    ³©iu  ã                   @   s,   d dl mZ d dlmZ G dd„ deƒZdS )é    )Ú
RpcRequest)Úendpoint_datac                   @   s”   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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 )$ÚReEncryptRequestc                 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Ú	ReEncryptÚkmsÚhttpsÚPOSTÚendpoint_mapÚendpoint_regional)	r   Ú__init__Úset_protocol_typeÚ
set_methodÚhasattrÚsetattrr   ÚgetEndpointMapÚgetEndpointRegional©Úself© r   úc/home/ubuntu/.local/lib/python3.10/site-packages/aliyunsdkkms/request/v20160120/ReEncryptRequest.pyr      s   



ÿzReEncryptRequest.__init__c                 C   ó   |   ¡  d¡S ©NÚDestinationEncryptionContext©Úget_query_paramsÚgetr   r   r   r   Ú get_DestinationEncryptionContext#   ó   z1ReEncryptRequest.get_DestinationEncryptionContextc                 C   ó   |   d|¡ d S r   ©Úadd_query_param)r   r   r   r   r   Ú set_DestinationEncryptionContext&   ó   z1ReEncryptRequest.set_DestinationEncryptionContextc                 C   r   ©NÚDryRunr   r   r   r   r   Ú
get_DryRun(   r   zReEncryptRequest.get_DryRunc                 C   r   r$   r    )r   r%   r   r   r   Ú
set_DryRun+   r#   zReEncryptRequest.set_DryRunc                 C   r   ©NÚSourceKeyIdr   r   r   r   r   Úget_SourceKeyId-   r   z ReEncryptRequest.get_SourceKeyIdc                 C   r   r(   r    )r   r)   r   r   r   Úset_SourceKeyId0   r#   z ReEncryptRequest.set_SourceKeyIdc                 C   r   ©NÚSourceEncryptionAlgorithmr   r   r   r   r   Úget_SourceEncryptionAlgorithm2   r   z.ReEncryptRequest.get_SourceEncryptionAlgorithmc                 C   r   r,   r    )r   r-   r   r   r   Úset_SourceEncryptionAlgorithm5   r#   z.ReEncryptRequest.set_SourceEncryptionAlgorithmc                 C   r   ©NÚSourceKeyVersionIdr   r   r   r   r   Úget_SourceKeyVersionId7   r   z'ReEncryptRequest.get_SourceKeyVersionIdc                 C   r   r0   r    )r   r1   r   r   r   Úset_SourceKeyVersionId:   r#   z'ReEncryptRequest.set_SourceKeyVersionIdc                 C   r   ©NÚDestinationKeyIdr   r   r   r   r   Úget_DestinationKeyId<   r   z%ReEncryptRequest.get_DestinationKeyIdc                 C   r   r4   r    )r   r5   r   r   r   Úset_DestinationKeyId?   r#   z%ReEncryptRequest.set_DestinationKeyIdc                 C   r   ©NÚSourceEncryptionContextr   r   r   r   r   Úget_SourceEncryptionContextA   r   z,ReEncryptRequest.get_SourceEncryptionContextc                 C   r   r8   r    )r   r9   r   r   r   Úset_SourceEncryptionContextD   r#   z,ReEncryptRequest.set_SourceEncryptionContextc                 C   r   ©NÚCiphertextBlobr   r   r   r   r   Úget_CiphertextBlobF   r   z#ReEncryptRequest.get_CiphertextBlobc                 C   r   r<   r    )r   r=   r   r   r   Úset_CiphertextBlobI   r#   z#ReEncryptRequest.set_CiphertextBlobN)Ú__name__Ú
__module__Ú__qualname__r   r   r"   r&   r'   r*   r+   r.   r/   r2   r3   r6   r7   r:   r;   r>   r?   r   r   r   r   r      s$    
r   N)Úaliyunsdkcore.requestr   Úaliyunsdkkms.endpointr   r   r   r   r   r   Ú<module>   s   