Name | Type | Description | Notes |
---|---|---|---|
Alg | string | Classic Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384] | |
CertFileData | Pointer to string | Certificate in a PEM format. | [optional] |
DeleteProtection | Pointer to string | Protection from accidental deletion of this item | [optional] |
KeyData | Pointer to string | Base64-encoded classic key value | [optional] |
Metadata | Pointer to string | Metadata about the classic key | [optional] |
Name | string | ClassicKey name | |
ProtectionKeyName | Pointer to string | The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used) | [optional] |
Tags | Pointer to []string | List of the tags attached to this classic key | [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 NewCreateClassicKey(alg string, name string, ) *CreateClassicKey
NewCreateClassicKey instantiates a new CreateClassicKey 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 NewCreateClassicKeyWithDefaults() *CreateClassicKey
NewCreateClassicKeyWithDefaults instantiates a new CreateClassicKey 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 *CreateClassicKey) GetAlg() string
GetAlg returns the Alg field if non-nil, zero value otherwise.
func (o *CreateClassicKey) GetAlgOk() (*string, bool)
GetAlgOk returns a tuple with the Alg field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateClassicKey) SetAlg(v string)
SetAlg sets Alg field to given value.
func (o *CreateClassicKey) GetCertFileData() string
GetCertFileData returns the CertFileData field if non-nil, zero value otherwise.
func (o *CreateClassicKey) GetCertFileDataOk() (*string, bool)
GetCertFileDataOk returns a tuple with the CertFileData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateClassicKey) SetCertFileData(v string)
SetCertFileData sets CertFileData field to given value.
func (o *CreateClassicKey) HasCertFileData() bool
HasCertFileData returns a boolean if a field has been set.
func (o *CreateClassicKey) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *CreateClassicKey) GetDeleteProtectionOk() (*string, bool)
GetDeleteProtectionOk returns a tuple with the DeleteProtection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateClassicKey) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *CreateClassicKey) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *CreateClassicKey) GetKeyData() string
GetKeyData returns the KeyData field if non-nil, zero value otherwise.
func (o *CreateClassicKey) GetKeyDataOk() (*string, bool)
GetKeyDataOk returns a tuple with the KeyData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateClassicKey) SetKeyData(v string)
SetKeyData sets KeyData field to given value.
func (o *CreateClassicKey) HasKeyData() bool
HasKeyData returns a boolean if a field has been set.
func (o *CreateClassicKey) GetMetadata() string
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *CreateClassicKey) GetMetadataOk() (*string, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateClassicKey) SetMetadata(v string)
SetMetadata sets Metadata field to given value.
func (o *CreateClassicKey) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *CreateClassicKey) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateClassicKey) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateClassicKey) SetName(v string)
SetName sets Name field to given value.
func (o *CreateClassicKey) GetProtectionKeyName() string
GetProtectionKeyName returns the ProtectionKeyName field if non-nil, zero value otherwise.
func (o *CreateClassicKey) GetProtectionKeyNameOk() (*string, bool)
GetProtectionKeyNameOk returns a tuple with the ProtectionKeyName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateClassicKey) SetProtectionKeyName(v string)
SetProtectionKeyName sets ProtectionKeyName field to given value.
func (o *CreateClassicKey) HasProtectionKeyName() bool
HasProtectionKeyName returns a boolean if a field has been set.
func (o *CreateClassicKey) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *CreateClassicKey) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateClassicKey) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *CreateClassicKey) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *CreateClassicKey) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateClassicKey) 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 *CreateClassicKey) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateClassicKey) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateClassicKey) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateClassicKey) 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 *CreateClassicKey) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateClassicKey) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.