Name | Type | Description | Notes |
---|---|---|---|
Alg | string | Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, RSA1024, RSA2048, RSA3072, RSA4096] | |
CustomerFrgId | Pointer to string | The customer fragment ID that will be used to create the key (if empty, the key will be created independently of a customer fragment) | [optional] |
DeleteProtection | Pointer to string | Protection from accidental deletion of this item | [optional] |
Metadata | Pointer to string | Metadata about the key | [optional] |
Name | string | Key name | |
SplitLevel | Pointer to int64 | The number of fragments that the item will be split into (not includes customer fragment) | [optional] [default to 2] |
Tag | Pointer to []string | List of the tags attached to this 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 NewCreateKey(alg string, name string, ) *CreateKey
NewCreateKey instantiates a new CreateKey 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 NewCreateKeyWithDefaults() *CreateKey
NewCreateKeyWithDefaults instantiates a new CreateKey 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 *CreateKey) GetAlg() string
GetAlg returns the Alg field if non-nil, zero value otherwise.
func (o *CreateKey) 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 *CreateKey) SetAlg(v string)
SetAlg sets Alg field to given value.
func (o *CreateKey) GetCustomerFrgId() string
GetCustomerFrgId returns the CustomerFrgId field if non-nil, zero value otherwise.
func (o *CreateKey) GetCustomerFrgIdOk() (*string, bool)
GetCustomerFrgIdOk returns a tuple with the CustomerFrgId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateKey) SetCustomerFrgId(v string)
SetCustomerFrgId sets CustomerFrgId field to given value.
func (o *CreateKey) HasCustomerFrgId() bool
HasCustomerFrgId returns a boolean if a field has been set.
func (o *CreateKey) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *CreateKey) 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 *CreateKey) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *CreateKey) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *CreateKey) GetMetadata() string
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *CreateKey) 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 *CreateKey) SetMetadata(v string)
SetMetadata sets Metadata field to given value.
func (o *CreateKey) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *CreateKey) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateKey) 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 *CreateKey) SetName(v string)
SetName sets Name field to given value.
func (o *CreateKey) GetSplitLevel() int64
GetSplitLevel returns the SplitLevel field if non-nil, zero value otherwise.
func (o *CreateKey) GetSplitLevelOk() (*int64, bool)
GetSplitLevelOk returns a tuple with the SplitLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateKey) SetSplitLevel(v int64)
SetSplitLevel sets SplitLevel field to given value.
func (o *CreateKey) HasSplitLevel() bool
HasSplitLevel returns a boolean if a field has been set.
func (o *CreateKey) GetTag() []string
GetTag returns the Tag field if non-nil, zero value otherwise.
func (o *CreateKey) GetTagOk() (*[]string, bool)
GetTagOk returns a tuple with the Tag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateKey) SetTag(v []string)
SetTag sets Tag field to given value.
func (o *CreateKey) HasTag() bool
HasTag returns a boolean if a field has been set.
func (o *CreateKey) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateKey) 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 *CreateKey) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateKey) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateKey) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateKey) 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 *CreateKey) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateKey) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.