Name | Type | Description | Notes |
---|---|---|---|
Alg | string | DFCKey type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096] | |
AutoRotate | Pointer to string | Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation [true/false] | [optional] |
CertificateCommonName | Pointer to string | Common name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
CertificateCountry | Pointer to string | Country name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
CertificateDigestAlgo | Pointer to string | Digest algorithm to be used for the certificate key signing. Currently, we support only "sha256" so we hide this option for CLI. | [optional] |
CertificateFormat | Pointer to string | [optional] | |
CertificateLocality | Pointer to string | Locality for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
CertificateOrganization | Pointer to string | Organization name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
CertificateProvince | Pointer to string | Province name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
CertificateTtl | Pointer to int64 | TTL in days for the generated certificate. Required only for generate-self-signed-certificate. | [optional] |
ConfFileData | Pointer to string | The csr config data in base64 encoding | [optional] |
CustomerFrgId | Pointer to string | The customer fragment ID that will be used to create the DFC key (if empty, the key will be created independently of a customer fragment) | [optional] |
DeleteProtection | Pointer to string | Protection from accidental deletion of this object [true/false] | [optional] |
Description | Pointer to string | Description of the object | [optional] |
ExpirationEventIn | Pointer to []string | How many days before the expiration of the certificate would you like to be notified. | [optional] |
GenerateSelfSignedCertificate | Pointer to bool | Whether to generate a self signed certificate with the key. If set, --certificate-ttl must be provided. | [optional] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
Metadata | Pointer to string | Deprecated - use description | [optional] |
Name | string | DFCKey name | |
RotationEventIn | Pointer to []string | How many days before the rotation of the item would you like to be notified | [optional] |
RotationInterval | Pointer to string | The number of days to wait between every automatic rotation (7-365) | [optional] |
SplitLevel | Pointer to int64 | The number of fragments that the item will be split into (not includes customer fragment) | [optional] [default to 3] |
Tag | Pointer to []string | List of the tags attached to this DFC 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 NewCreateDFCKey(alg string, name string, ) *CreateDFCKey
NewCreateDFCKey instantiates a new CreateDFCKey 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 NewCreateDFCKeyWithDefaults() *CreateDFCKey
NewCreateDFCKeyWithDefaults instantiates a new CreateDFCKey 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 *CreateDFCKey) GetAlg() string
GetAlg returns the Alg field if non-nil, zero value otherwise.
func (o *CreateDFCKey) 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 *CreateDFCKey) SetAlg(v string)
SetAlg sets Alg field to given value.
func (o *CreateDFCKey) GetAutoRotate() string
GetAutoRotate returns the AutoRotate field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetAutoRotateOk() (*string, bool)
GetAutoRotateOk returns a tuple with the AutoRotate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetAutoRotate(v string)
SetAutoRotate sets AutoRotate field to given value.
func (o *CreateDFCKey) HasAutoRotate() bool
HasAutoRotate returns a boolean if a field has been set.
func (o *CreateDFCKey) GetCertificateCommonName() string
GetCertificateCommonName returns the CertificateCommonName field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetCertificateCommonNameOk() (*string, bool)
GetCertificateCommonNameOk returns a tuple with the CertificateCommonName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetCertificateCommonName(v string)
SetCertificateCommonName sets CertificateCommonName field to given value.
func (o *CreateDFCKey) HasCertificateCommonName() bool
HasCertificateCommonName returns a boolean if a field has been set.
func (o *CreateDFCKey) GetCertificateCountry() string
GetCertificateCountry returns the CertificateCountry field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetCertificateCountryOk() (*string, bool)
GetCertificateCountryOk returns a tuple with the CertificateCountry field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetCertificateCountry(v string)
SetCertificateCountry sets CertificateCountry field to given value.
func (o *CreateDFCKey) HasCertificateCountry() bool
HasCertificateCountry returns a boolean if a field has been set.
func (o *CreateDFCKey) GetCertificateDigestAlgo() string
GetCertificateDigestAlgo returns the CertificateDigestAlgo field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetCertificateDigestAlgoOk() (*string, bool)
GetCertificateDigestAlgoOk returns a tuple with the CertificateDigestAlgo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetCertificateDigestAlgo(v string)
SetCertificateDigestAlgo sets CertificateDigestAlgo field to given value.
func (o *CreateDFCKey) HasCertificateDigestAlgo() bool
HasCertificateDigestAlgo returns a boolean if a field has been set.
func (o *CreateDFCKey) GetCertificateFormat() string
GetCertificateFormat returns the CertificateFormat field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetCertificateFormatOk() (*string, bool)
GetCertificateFormatOk returns a tuple with the CertificateFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetCertificateFormat(v string)
SetCertificateFormat sets CertificateFormat field to given value.
func (o *CreateDFCKey) HasCertificateFormat() bool
HasCertificateFormat returns a boolean if a field has been set.
func (o *CreateDFCKey) GetCertificateLocality() string
GetCertificateLocality returns the CertificateLocality field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetCertificateLocalityOk() (*string, bool)
GetCertificateLocalityOk returns a tuple with the CertificateLocality field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetCertificateLocality(v string)
SetCertificateLocality sets CertificateLocality field to given value.
func (o *CreateDFCKey) HasCertificateLocality() bool
HasCertificateLocality returns a boolean if a field has been set.
func (o *CreateDFCKey) GetCertificateOrganization() string
GetCertificateOrganization returns the CertificateOrganization field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetCertificateOrganizationOk() (*string, bool)
GetCertificateOrganizationOk returns a tuple with the CertificateOrganization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetCertificateOrganization(v string)
SetCertificateOrganization sets CertificateOrganization field to given value.
func (o *CreateDFCKey) HasCertificateOrganization() bool
HasCertificateOrganization returns a boolean if a field has been set.
func (o *CreateDFCKey) GetCertificateProvince() string
GetCertificateProvince returns the CertificateProvince field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetCertificateProvinceOk() (*string, bool)
GetCertificateProvinceOk returns a tuple with the CertificateProvince field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetCertificateProvince(v string)
SetCertificateProvince sets CertificateProvince field to given value.
func (o *CreateDFCKey) HasCertificateProvince() bool
HasCertificateProvince returns a boolean if a field has been set.
func (o *CreateDFCKey) GetCertificateTtl() int64
GetCertificateTtl returns the CertificateTtl field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetCertificateTtlOk() (*int64, bool)
GetCertificateTtlOk returns a tuple with the CertificateTtl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetCertificateTtl(v int64)
SetCertificateTtl sets CertificateTtl field to given value.
func (o *CreateDFCKey) HasCertificateTtl() bool
HasCertificateTtl returns a boolean if a field has been set.
func (o *CreateDFCKey) GetConfFileData() string
GetConfFileData returns the ConfFileData field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetConfFileDataOk() (*string, bool)
GetConfFileDataOk returns a tuple with the ConfFileData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetConfFileData(v string)
SetConfFileData sets ConfFileData field to given value.
func (o *CreateDFCKey) HasConfFileData() bool
HasConfFileData returns a boolean if a field has been set.
func (o *CreateDFCKey) GetCustomerFrgId() string
GetCustomerFrgId returns the CustomerFrgId field if non-nil, zero value otherwise.
func (o *CreateDFCKey) 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 *CreateDFCKey) SetCustomerFrgId(v string)
SetCustomerFrgId sets CustomerFrgId field to given value.
func (o *CreateDFCKey) HasCustomerFrgId() bool
HasCustomerFrgId returns a boolean if a field has been set.
func (o *CreateDFCKey) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *CreateDFCKey) 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 *CreateDFCKey) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *CreateDFCKey) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *CreateDFCKey) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateDFCKey) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateDFCKey) GetExpirationEventIn() []string
GetExpirationEventIn returns the ExpirationEventIn field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetExpirationEventInOk() (*[]string, bool)
GetExpirationEventInOk returns a tuple with the ExpirationEventIn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetExpirationEventIn(v []string)
SetExpirationEventIn sets ExpirationEventIn field to given value.
func (o *CreateDFCKey) HasExpirationEventIn() bool
HasExpirationEventIn returns a boolean if a field has been set.
func (o *CreateDFCKey) GetGenerateSelfSignedCertificate() bool
GetGenerateSelfSignedCertificate returns the GenerateSelfSignedCertificate field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetGenerateSelfSignedCertificateOk() (*bool, bool)
GetGenerateSelfSignedCertificateOk returns a tuple with the GenerateSelfSignedCertificate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetGenerateSelfSignedCertificate(v bool)
SetGenerateSelfSignedCertificate sets GenerateSelfSignedCertificate field to given value.
func (o *CreateDFCKey) HasGenerateSelfSignedCertificate() bool
HasGenerateSelfSignedCertificate returns a boolean if a field has been set.
func (o *CreateDFCKey) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *CreateDFCKey) 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 *CreateDFCKey) SetJson(v bool)
SetJson sets Json field to given value.
func (o *CreateDFCKey) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *CreateDFCKey) GetMetadata() string
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *CreateDFCKey) 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 *CreateDFCKey) SetMetadata(v string)
SetMetadata sets Metadata field to given value.
func (o *CreateDFCKey) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *CreateDFCKey) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateDFCKey) 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 *CreateDFCKey) SetName(v string)
SetName sets Name field to given value.
func (o *CreateDFCKey) GetRotationEventIn() []string
GetRotationEventIn returns the RotationEventIn field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetRotationEventInOk() (*[]string, bool)
GetRotationEventInOk returns a tuple with the RotationEventIn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetRotationEventIn(v []string)
SetRotationEventIn sets RotationEventIn field to given value.
func (o *CreateDFCKey) HasRotationEventIn() bool
HasRotationEventIn returns a boolean if a field has been set.
func (o *CreateDFCKey) GetRotationInterval() string
GetRotationInterval returns the RotationInterval field if non-nil, zero value otherwise.
func (o *CreateDFCKey) GetRotationIntervalOk() (*string, bool)
GetRotationIntervalOk returns a tuple with the RotationInterval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDFCKey) SetRotationInterval(v string)
SetRotationInterval sets RotationInterval field to given value.
func (o *CreateDFCKey) HasRotationInterval() bool
HasRotationInterval returns a boolean if a field has been set.
func (o *CreateDFCKey) GetSplitLevel() int64
GetSplitLevel returns the SplitLevel field if non-nil, zero value otherwise.
func (o *CreateDFCKey) 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 *CreateDFCKey) SetSplitLevel(v int64)
SetSplitLevel sets SplitLevel field to given value.
func (o *CreateDFCKey) HasSplitLevel() bool
HasSplitLevel returns a boolean if a field has been set.
func (o *CreateDFCKey) GetTag() []string
GetTag returns the Tag field if non-nil, zero value otherwise.
func (o *CreateDFCKey) 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 *CreateDFCKey) SetTag(v []string)
SetTag sets Tag field to given value.
func (o *CreateDFCKey) HasTag() bool
HasTag returns a boolean if a field has been set.
func (o *CreateDFCKey) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateDFCKey) 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 *CreateDFCKey) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateDFCKey) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateDFCKey) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateDFCKey) 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 *CreateDFCKey) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateDFCKey) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.