Skip to content

Latest commit

 

History

History
285 lines (154 loc) · 7.59 KB

Decrypt.md

File metadata and controls

285 lines (154 loc) · 7.59 KB

Decrypt

Properties

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]

Methods

NewDecrypt

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

NewDecryptWithDefaults

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

GetCiphertext

func (o *Decrypt) GetCiphertext() string

GetCiphertext returns the Ciphertext field if non-nil, zero value otherwise.

GetCiphertextOk

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.

SetCiphertext

func (o *Decrypt) SetCiphertext(v string)

SetCiphertext sets Ciphertext field to given value.

HasCiphertext

func (o *Decrypt) HasCiphertext() bool

HasCiphertext returns a boolean if a field has been set.

GetDisplayId

func (o *Decrypt) GetDisplayId() string

GetDisplayId returns the DisplayId field if non-nil, zero value otherwise.

GetDisplayIdOk

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.

SetDisplayId

func (o *Decrypt) SetDisplayId(v string)

SetDisplayId sets DisplayId field to given value.

HasDisplayId

func (o *Decrypt) HasDisplayId() bool

HasDisplayId returns a boolean if a field has been set.

GetEncryptionContext

func (o *Decrypt) GetEncryptionContext() map[string]string

GetEncryptionContext returns the EncryptionContext field if non-nil, zero value otherwise.

GetEncryptionContextOk

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.

SetEncryptionContext

func (o *Decrypt) SetEncryptionContext(v map[string]string)

SetEncryptionContext sets EncryptionContext field to given value.

HasEncryptionContext

func (o *Decrypt) HasEncryptionContext() bool

HasEncryptionContext returns a boolean if a field has been set.

GetItemId

func (o *Decrypt) GetItemId() int64

GetItemId returns the ItemId field if non-nil, zero value otherwise.

GetItemIdOk

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.

SetItemId

func (o *Decrypt) SetItemId(v int64)

SetItemId sets ItemId field to given value.

HasItemId

func (o *Decrypt) HasItemId() bool

HasItemId returns a boolean if a field has been set.

GetJson

func (o *Decrypt) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

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.

SetJson

func (o *Decrypt) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *Decrypt) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKeyName

func (o *Decrypt) GetKeyName() string

GetKeyName returns the KeyName field if non-nil, zero value otherwise.

GetKeyNameOk

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.

SetKeyName

func (o *Decrypt) SetKeyName(v string)

SetKeyName sets KeyName field to given value.

GetOutputFormat

func (o *Decrypt) GetOutputFormat() string

GetOutputFormat returns the OutputFormat field if non-nil, zero value otherwise.

GetOutputFormatOk

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.

SetOutputFormat

func (o *Decrypt) SetOutputFormat(v string)

SetOutputFormat sets OutputFormat field to given value.

HasOutputFormat

func (o *Decrypt) HasOutputFormat() bool

HasOutputFormat returns a boolean if a field has been set.

GetToken

func (o *Decrypt) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

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.

SetToken

func (o *Decrypt) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *Decrypt) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *Decrypt) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

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.

SetUidToken

func (o *Decrypt) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *Decrypt) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetVersion

func (o *Decrypt) GetVersion() int32

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

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.

SetVersion

func (o *Decrypt) SetVersion(v int32)

SetVersion sets Version field to given value.

HasVersion

func (o *Decrypt) HasVersion() bool

HasVersion returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]