Name | Type | Description | Notes |
---|---|---|---|
DisplayId | Pointer to string | The display id of the key to use in the encryption process | [optional] |
EncryptionContext | Pointer to map[string]string | name-value pair that specifies the encryption context to be used for authenticated encryption. If used here, the same value must be supplied to the decrypt command or decryption will fail | [optional] |
KeyName | Pointer to string | The name of the key to use in the encryption process | [optional] |
Plaintext | Pointer to string | Data to be encrypted | [optional] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
func NewEncrypt() *Encrypt
NewEncrypt instantiates a new Encrypt object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEncryptWithDefaults() *Encrypt
NewEncryptWithDefaults instantiates a new Encrypt object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Encrypt) GetDisplayId() string
GetDisplayId returns the DisplayId field if non-nil, zero value otherwise.
func (o *Encrypt) GetDisplayIdOk() (*string, bool)
GetDisplayIdOk returns a tuple with the DisplayId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Encrypt) SetDisplayId(v string)
SetDisplayId sets DisplayId field to given value.
func (o *Encrypt) HasDisplayId() bool
HasDisplayId returns a boolean if a field has been set.
func (o *Encrypt) GetEncryptionContext() map[string]string
GetEncryptionContext returns the EncryptionContext field if non-nil, zero value otherwise.
func (o *Encrypt) GetEncryptionContextOk() (*map[string]string, bool)
GetEncryptionContextOk returns a tuple with the EncryptionContext field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Encrypt) SetEncryptionContext(v map[string]string)
SetEncryptionContext sets EncryptionContext field to given value.
func (o *Encrypt) HasEncryptionContext() bool
HasEncryptionContext returns a boolean if a field has been set.
func (o *Encrypt) GetKeyName() string
GetKeyName returns the KeyName field if non-nil, zero value otherwise.
func (o *Encrypt) GetKeyNameOk() (*string, bool)
GetKeyNameOk returns a tuple with the KeyName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Encrypt) SetKeyName(v string)
SetKeyName sets KeyName field to given value.
func (o *Encrypt) HasKeyName() bool
HasKeyName returns a boolean if a field has been set.
func (o *Encrypt) GetPlaintext() string
GetPlaintext returns the Plaintext field if non-nil, zero value otherwise.
func (o *Encrypt) GetPlaintextOk() (*string, bool)
GetPlaintextOk returns a tuple with the Plaintext field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Encrypt) SetPlaintext(v string)
SetPlaintext sets Plaintext field to given value.
func (o *Encrypt) HasPlaintext() bool
HasPlaintext returns a boolean if a field has been set.
func (o *Encrypt) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *Encrypt) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Encrypt) SetToken(v string)
SetToken sets Token field to given value.
func (o *Encrypt) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *Encrypt) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *Encrypt) GetUidTokenOk() (*string, bool)
GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Encrypt) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *Encrypt) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.