Name | Type | Description | Notes |
---|---|---|---|
CertificateData | Pointer to string | Content of the certificate in a Base64 format. | [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] |
Format | Pointer to string | CertificateFormat of the certificate and private key, possible values: cer,crt,pem,pfx,p12. Required when passing inline certificate content with --certificate-data or --key-data, otherwise format is derived from the file extension. | [optional] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
Key | Pointer to string | The name of a key to use to encrypt the certificate's key (if empty, the account default protectionKey key will be used) | [optional] |
KeyData | Pointer to string | Content of the certificate's private key in a Base64 format. | [optional] |
Metadata | Pointer to string | Deprecated - use description | [optional] |
Name | string | Certificate name | |
Tags | Pointer to []string | Add tags attached to this object | [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 NewCreateCertificate(name string, ) *CreateCertificate
NewCreateCertificate instantiates a new CreateCertificate 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 NewCreateCertificateWithDefaults() *CreateCertificate
NewCreateCertificateWithDefaults instantiates a new CreateCertificate 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 *CreateCertificate) GetCertificateData() string
GetCertificateData returns the CertificateData field if non-nil, zero value otherwise.
func (o *CreateCertificate) GetCertificateDataOk() (*string, bool)
GetCertificateDataOk returns a tuple with the CertificateData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateCertificate) SetCertificateData(v string)
SetCertificateData sets CertificateData field to given value.
func (o *CreateCertificate) HasCertificateData() bool
HasCertificateData returns a boolean if a field has been set.
func (o *CreateCertificate) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *CreateCertificate) 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 *CreateCertificate) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *CreateCertificate) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *CreateCertificate) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateCertificate) 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 *CreateCertificate) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateCertificate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateCertificate) GetExpirationEventIn() []string
GetExpirationEventIn returns the ExpirationEventIn field if non-nil, zero value otherwise.
func (o *CreateCertificate) 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 *CreateCertificate) SetExpirationEventIn(v []string)
SetExpirationEventIn sets ExpirationEventIn field to given value.
func (o *CreateCertificate) HasExpirationEventIn() bool
HasExpirationEventIn returns a boolean if a field has been set.
func (o *CreateCertificate) GetFormat() string
GetFormat returns the Format field if non-nil, zero value otherwise.
func (o *CreateCertificate) GetFormatOk() (*string, bool)
GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateCertificate) SetFormat(v string)
SetFormat sets Format field to given value.
func (o *CreateCertificate) HasFormat() bool
HasFormat returns a boolean if a field has been set.
func (o *CreateCertificate) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *CreateCertificate) 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 *CreateCertificate) SetJson(v bool)
SetJson sets Json field to given value.
func (o *CreateCertificate) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *CreateCertificate) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *CreateCertificate) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateCertificate) SetKey(v string)
SetKey sets Key field to given value.
func (o *CreateCertificate) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *CreateCertificate) GetKeyData() string
GetKeyData returns the KeyData field if non-nil, zero value otherwise.
func (o *CreateCertificate) 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 *CreateCertificate) SetKeyData(v string)
SetKeyData sets KeyData field to given value.
func (o *CreateCertificate) HasKeyData() bool
HasKeyData returns a boolean if a field has been set.
func (o *CreateCertificate) GetMetadata() string
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *CreateCertificate) 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 *CreateCertificate) SetMetadata(v string)
SetMetadata sets Metadata field to given value.
func (o *CreateCertificate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *CreateCertificate) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateCertificate) 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 *CreateCertificate) SetName(v string)
SetName sets Name field to given value.
func (o *CreateCertificate) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *CreateCertificate) 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 *CreateCertificate) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *CreateCertificate) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *CreateCertificate) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateCertificate) 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 *CreateCertificate) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateCertificate) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateCertificate) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateCertificate) 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 *CreateCertificate) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateCertificate) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.