Skip to content

Latest commit

 

History

History
363 lines (196 loc) · 10.2 KB

CreateCertificate.md

File metadata and controls

363 lines (196 loc) · 10.2 KB

CreateCertificate

Properties

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]

Methods

NewCreateCertificate

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

NewCreateCertificateWithDefaults

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

GetCertificateData

func (o *CreateCertificate) GetCertificateData() string

GetCertificateData returns the CertificateData field if non-nil, zero value otherwise.

GetCertificateDataOk

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.

SetCertificateData

func (o *CreateCertificate) SetCertificateData(v string)

SetCertificateData sets CertificateData field to given value.

HasCertificateData

func (o *CreateCertificate) HasCertificateData() bool

HasCertificateData returns a boolean if a field has been set.

GetDeleteProtection

func (o *CreateCertificate) GetDeleteProtection() string

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

GetDeleteProtectionOk

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.

SetDeleteProtection

func (o *CreateCertificate) SetDeleteProtection(v string)

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *CreateCertificate) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *CreateCertificate) GetDescription() string

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

GetDescriptionOk

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.

SetDescription

func (o *CreateCertificate) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *CreateCertificate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetExpirationEventIn

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

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

GetExpirationEventInOk

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.

SetExpirationEventIn

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

SetExpirationEventIn sets ExpirationEventIn field to given value.

HasExpirationEventIn

func (o *CreateCertificate) HasExpirationEventIn() bool

HasExpirationEventIn returns a boolean if a field has been set.

GetFormat

func (o *CreateCertificate) GetFormat() string

GetFormat returns the Format field if non-nil, zero value otherwise.

GetFormatOk

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.

SetFormat

func (o *CreateCertificate) SetFormat(v string)

SetFormat sets Format field to given value.

HasFormat

func (o *CreateCertificate) HasFormat() bool

HasFormat returns a boolean if a field has been set.

GetJson

func (o *CreateCertificate) GetJson() bool

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

GetJsonOk

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.

SetJson

func (o *CreateCertificate) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *CreateCertificate) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKey

func (o *CreateCertificate) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

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.

SetKey

func (o *CreateCertificate) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *CreateCertificate) HasKey() bool

HasKey returns a boolean if a field has been set.

GetKeyData

func (o *CreateCertificate) GetKeyData() string

GetKeyData returns the KeyData field if non-nil, zero value otherwise.

GetKeyDataOk

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.

SetKeyData

func (o *CreateCertificate) SetKeyData(v string)

SetKeyData sets KeyData field to given value.

HasKeyData

func (o *CreateCertificate) HasKeyData() bool

HasKeyData returns a boolean if a field has been set.

GetMetadata

func (o *CreateCertificate) GetMetadata() string

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

GetMetadataOk

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.

SetMetadata

func (o *CreateCertificate) SetMetadata(v string)

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *CreateCertificate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

GetName

func (o *CreateCertificate) GetName() string

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

GetNameOk

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.

SetName

func (o *CreateCertificate) SetName(v string)

SetName sets Name field to given value.

GetTags

func (o *CreateCertificate) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

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.

SetTags

func (o *CreateCertificate) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *CreateCertificate) HasTags() bool

HasTags returns a boolean if a field has been set.

GetToken

func (o *CreateCertificate) GetToken() string

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

GetTokenOk

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.

SetToken

func (o *CreateCertificate) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *CreateCertificate) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *CreateCertificate) GetUidToken() string

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

GetUidTokenOk

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.

SetUidToken

func (o *CreateCertificate) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *CreateCertificate) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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