Name | Type | Description | Notes |
---|---|---|---|
Alg | string | Key type. options: [RSA1024, RSA2048, RSA3072, RSA4096] | |
CertFileData | Pointer to string | Certificate in a PEM format. | [optional] |
CertificateFormat | Pointer to string | [optional] | |
CustomerFrgId | Pointer to string | The customer fragment ID that will be used to split 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 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] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
Metadata | Pointer to string | Deprecated - use description | [optional] |
Name | string | Name of key to be created | |
Overwrite | Pointer to string | When the overwrite flag is set, this command will only update an existing key [true/false] | [optional] [default to "false"] |
RsaFileData | Pointer to string | RSA private key data, base64 encoded | [optional] |
SplitLevel | Pointer to int64 | The number of fragments that the item will be split into | [optional] [default to 3] |
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 NewUploadRSA(alg string, name string, ) *UploadRSA
NewUploadRSA instantiates a new UploadRSA 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 NewUploadRSAWithDefaults() *UploadRSA
NewUploadRSAWithDefaults instantiates a new UploadRSA 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 *UploadRSA) GetAlg() string
GetAlg returns the Alg field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetAlg(v string)
SetAlg sets Alg field to given value.
func (o *UploadRSA) GetCertFileData() string
GetCertFileData returns the CertFileData field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetCertFileData(v string)
SetCertFileData sets CertFileData field to given value.
func (o *UploadRSA) HasCertFileData() bool
HasCertFileData returns a boolean if a field has been set.
func (o *UploadRSA) GetCertificateFormat() string
GetCertificateFormat returns the CertificateFormat field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetCertificateFormat(v string)
SetCertificateFormat sets CertificateFormat field to given value.
func (o *UploadRSA) HasCertificateFormat() bool
HasCertificateFormat returns a boolean if a field has been set.
func (o *UploadRSA) GetCustomerFrgId() string
GetCustomerFrgId returns the CustomerFrgId field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetCustomerFrgId(v string)
SetCustomerFrgId sets CustomerFrgId field to given value.
func (o *UploadRSA) HasCustomerFrgId() bool
HasCustomerFrgId returns a boolean if a field has been set.
func (o *UploadRSA) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *UploadRSA) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *UploadRSA) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *UploadRSA) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *UploadRSA) GetExpirationEventIn() []string
GetExpirationEventIn returns the ExpirationEventIn field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetExpirationEventIn(v []string)
SetExpirationEventIn sets ExpirationEventIn field to given value.
func (o *UploadRSA) HasExpirationEventIn() bool
HasExpirationEventIn returns a boolean if a field has been set.
func (o *UploadRSA) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetJson(v bool)
SetJson sets Json field to given value.
func (o *UploadRSA) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *UploadRSA) GetMetadata() string
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetMetadata(v string)
SetMetadata sets Metadata field to given value.
func (o *UploadRSA) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *UploadRSA) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetName(v string)
SetName sets Name field to given value.
func (o *UploadRSA) GetOverwrite() string
GetOverwrite returns the Overwrite field if non-nil, zero value otherwise.
func (o *UploadRSA) GetOverwriteOk() (*string, bool)
GetOverwriteOk returns a tuple with the Overwrite field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadRSA) SetOverwrite(v string)
SetOverwrite sets Overwrite field to given value.
func (o *UploadRSA) HasOverwrite() bool
HasOverwrite returns a boolean if a field has been set.
func (o *UploadRSA) GetRsaFileData() string
GetRsaFileData returns the RsaFileData field if non-nil, zero value otherwise.
func (o *UploadRSA) GetRsaFileDataOk() (*string, bool)
GetRsaFileDataOk returns a tuple with the RsaFileData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadRSA) SetRsaFileData(v string)
SetRsaFileData sets RsaFileData field to given value.
func (o *UploadRSA) HasRsaFileData() bool
HasRsaFileData returns a boolean if a field has been set.
func (o *UploadRSA) GetSplitLevel() int64
GetSplitLevel returns the SplitLevel field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetSplitLevel(v int64)
SetSplitLevel sets SplitLevel field to given value.
func (o *UploadRSA) HasSplitLevel() bool
HasSplitLevel returns a boolean if a field has been set.
func (o *UploadRSA) GetTag() []string
GetTag returns the Tag field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetTag(v []string)
SetTag sets Tag field to given value.
func (o *UploadRSA) HasTag() bool
HasTag returns a boolean if a field has been set.
func (o *UploadRSA) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetToken(v string)
SetToken sets Token field to given value.
func (o *UploadRSA) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *UploadRSA) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *UploadRSA) 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 *UploadRSA) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *UploadRSA) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.