Skip to content

Latest commit

 

History

History
436 lines (235 loc) · 11.8 KB

UploadRSA.md

File metadata and controls

436 lines (235 loc) · 11.8 KB

UploadRSA

Properties

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]

Methods

NewUploadRSA

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

NewUploadRSAWithDefaults

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

GetAlg

func (o *UploadRSA) GetAlg() string

GetAlg returns the Alg field if non-nil, zero value otherwise.

GetAlgOk

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.

SetAlg

func (o *UploadRSA) SetAlg(v string)

SetAlg sets Alg field to given value.

GetCertFileData

func (o *UploadRSA) GetCertFileData() string

GetCertFileData returns the CertFileData field if non-nil, zero value otherwise.

GetCertFileDataOk

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.

SetCertFileData

func (o *UploadRSA) SetCertFileData(v string)

SetCertFileData sets CertFileData field to given value.

HasCertFileData

func (o *UploadRSA) HasCertFileData() bool

HasCertFileData returns a boolean if a field has been set.

GetCertificateFormat

func (o *UploadRSA) GetCertificateFormat() string

GetCertificateFormat returns the CertificateFormat field if non-nil, zero value otherwise.

GetCertificateFormatOk

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.

SetCertificateFormat

func (o *UploadRSA) SetCertificateFormat(v string)

SetCertificateFormat sets CertificateFormat field to given value.

HasCertificateFormat

func (o *UploadRSA) HasCertificateFormat() bool

HasCertificateFormat returns a boolean if a field has been set.

GetCustomerFrgId

func (o *UploadRSA) GetCustomerFrgId() string

GetCustomerFrgId returns the CustomerFrgId field if non-nil, zero value otherwise.

GetCustomerFrgIdOk

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.

SetCustomerFrgId

func (o *UploadRSA) SetCustomerFrgId(v string)

SetCustomerFrgId sets CustomerFrgId field to given value.

HasCustomerFrgId

func (o *UploadRSA) HasCustomerFrgId() bool

HasCustomerFrgId returns a boolean if a field has been set.

GetDeleteProtection

func (o *UploadRSA) GetDeleteProtection() string

GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.

GetDeleteProtectionOk

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.

SetDeleteProtection

func (o *UploadRSA) SetDeleteProtection(v string)

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *UploadRSA) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *UploadRSA) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

SetDescription

func (o *UploadRSA) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *UploadRSA) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetExpirationEventIn

func (o *UploadRSA) GetExpirationEventIn() []string

GetExpirationEventIn returns the ExpirationEventIn field if non-nil, zero value otherwise.

GetExpirationEventInOk

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.

SetExpirationEventIn

func (o *UploadRSA) SetExpirationEventIn(v []string)

SetExpirationEventIn sets ExpirationEventIn field to given value.

HasExpirationEventIn

func (o *UploadRSA) HasExpirationEventIn() bool

HasExpirationEventIn returns a boolean if a field has been set.

GetJson

func (o *UploadRSA) GetJson() bool

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

GetJsonOk

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.

SetJson

func (o *UploadRSA) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *UploadRSA) HasJson() bool

HasJson returns a boolean if a field has been set.

GetMetadata

func (o *UploadRSA) GetMetadata() string

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

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.

SetMetadata

func (o *UploadRSA) SetMetadata(v string)

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *UploadRSA) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

GetName

func (o *UploadRSA) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *UploadRSA) SetName(v string)

SetName sets Name field to given value.

GetOverwrite

func (o *UploadRSA) GetOverwrite() string

GetOverwrite returns the Overwrite field if non-nil, zero value otherwise.

GetOverwriteOk

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.

SetOverwrite

func (o *UploadRSA) SetOverwrite(v string)

SetOverwrite sets Overwrite field to given value.

HasOverwrite

func (o *UploadRSA) HasOverwrite() bool

HasOverwrite returns a boolean if a field has been set.

GetRsaFileData

func (o *UploadRSA) GetRsaFileData() string

GetRsaFileData returns the RsaFileData field if non-nil, zero value otherwise.

GetRsaFileDataOk

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.

SetRsaFileData

func (o *UploadRSA) SetRsaFileData(v string)

SetRsaFileData sets RsaFileData field to given value.

HasRsaFileData

func (o *UploadRSA) HasRsaFileData() bool

HasRsaFileData returns a boolean if a field has been set.

GetSplitLevel

func (o *UploadRSA) GetSplitLevel() int64

GetSplitLevel returns the SplitLevel field if non-nil, zero value otherwise.

GetSplitLevelOk

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.

SetSplitLevel

func (o *UploadRSA) SetSplitLevel(v int64)

SetSplitLevel sets SplitLevel field to given value.

HasSplitLevel

func (o *UploadRSA) HasSplitLevel() bool

HasSplitLevel returns a boolean if a field has been set.

GetTag

func (o *UploadRSA) GetTag() []string

GetTag returns the Tag field if non-nil, zero value otherwise.

GetTagOk

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.

SetTag

func (o *UploadRSA) SetTag(v []string)

SetTag sets Tag field to given value.

HasTag

func (o *UploadRSA) HasTag() bool

HasTag returns a boolean if a field has been set.

GetToken

func (o *UploadRSA) GetToken() string

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

GetTokenOk

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.

SetToken

func (o *UploadRSA) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *UploadRSA) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *UploadRSA) GetUidToken() string

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

GetUidTokenOk

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.

SetUidToken

func (o *UploadRSA) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *UploadRSA) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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