Name | Type | Description | Notes |
---|---|---|---|
Ciphertext | Pointer to string | Ciphertext to be decrypted in base64 encoded format | [optional] |
DisplayId | Pointer to string | The display id of the key to use in the decryption process | [optional] |
EncryptionContext | Pointer to map[string]string | The encryption context. If this was specified in the encrypt command, it must be specified here or the decryption operation will fail | [optional] |
ItemId | Pointer to int64 | The item id of the key to use in the decryption process | [optional] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
KeyName | string | The name of the key to use in the decryption process | |
OutputFormat | Pointer to string | If specified, the output will be formatted accordingly. options: [base64] | [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] |
Version | Pointer to int32 | key version (relevant only for classic key) | [optional] |
func NewDecrypt(keyName string, ) *Decrypt
NewDecrypt instantiates a new Decrypt 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 NewDecryptWithDefaults() *Decrypt
NewDecryptWithDefaults instantiates a new Decrypt 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 *Decrypt) GetCiphertext() string
GetCiphertext returns the Ciphertext field if non-nil, zero value otherwise.
func (o *Decrypt) GetCiphertextOk() (*string, bool)
GetCiphertextOk returns a tuple with the Ciphertext field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Decrypt) SetCiphertext(v string)
SetCiphertext sets Ciphertext field to given value.
func (o *Decrypt) HasCiphertext() bool
HasCiphertext returns a boolean if a field has been set.
func (o *Decrypt) GetDisplayId() string
GetDisplayId returns the DisplayId field if non-nil, zero value otherwise.
func (o *Decrypt) 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 *Decrypt) SetDisplayId(v string)
SetDisplayId sets DisplayId field to given value.
func (o *Decrypt) HasDisplayId() bool
HasDisplayId returns a boolean if a field has been set.
func (o *Decrypt) GetEncryptionContext() map[string]string
GetEncryptionContext returns the EncryptionContext field if non-nil, zero value otherwise.
func (o *Decrypt) 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 *Decrypt) SetEncryptionContext(v map[string]string)
SetEncryptionContext sets EncryptionContext field to given value.
func (o *Decrypt) HasEncryptionContext() bool
HasEncryptionContext returns a boolean if a field has been set.
func (o *Decrypt) GetItemId() int64
GetItemId returns the ItemId field if non-nil, zero value otherwise.
func (o *Decrypt) GetItemIdOk() (*int64, bool)
GetItemIdOk returns a tuple with the ItemId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Decrypt) SetItemId(v int64)
SetItemId sets ItemId field to given value.
func (o *Decrypt) HasItemId() bool
HasItemId returns a boolean if a field has been set.
func (o *Decrypt) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *Decrypt) GetJsonOk() (*bool, bool)
GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Decrypt) SetJson(v bool)
SetJson sets Json field to given value.
func (o *Decrypt) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *Decrypt) GetKeyName() string
GetKeyName returns the KeyName field if non-nil, zero value otherwise.
func (o *Decrypt) 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 *Decrypt) SetKeyName(v string)
SetKeyName sets KeyName field to given value.
func (o *Decrypt) GetOutputFormat() string
GetOutputFormat returns the OutputFormat field if non-nil, zero value otherwise.
func (o *Decrypt) GetOutputFormatOk() (*string, bool)
GetOutputFormatOk returns a tuple with the OutputFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Decrypt) SetOutputFormat(v string)
SetOutputFormat sets OutputFormat field to given value.
func (o *Decrypt) HasOutputFormat() bool
HasOutputFormat returns a boolean if a field has been set.
func (o *Decrypt) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *Decrypt) 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 *Decrypt) SetToken(v string)
SetToken sets Token field to given value.
func (o *Decrypt) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *Decrypt) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *Decrypt) 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 *Decrypt) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *Decrypt) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *Decrypt) GetVersion() int32
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *Decrypt) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Decrypt) SetVersion(v int32)
SetVersion sets Version field to given value.
func (o *Decrypt) HasVersion() bool
HasVersion returns a boolean if a field has been set.