Name | Type | Description | Notes |
---|---|---|---|
AltNames | Pointer to string | The Subject Alternative Names to be included in the PKI certificate (in a comma-separated list) (if CSR is supplied this flag is ignored and any DNS.* names are taken from it) | [optional] |
CertIssuerName | string | The name of the PKI certificate issuer | |
CommonName | Pointer to string | The common name to be included in the PKI certificate (if CSR is supplied this flag is ignored and the CSR subject CN is taken) | [optional] |
CsrDataBase64 | Pointer to string | Certificate Signing Request contents encoded in base64 to generate the certificate with | [optional] |
ExtendedKeyUsage | Pointer to string | A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'. If critical is present the extension will be marked as critical | [optional] |
ExtraExtensions | Pointer to string | A json string that defines the requested extra extensions for the certificate | [optional] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
KeyDataBase64 | Pointer to string | PKI key file contents. If this option is used, the certificate will be printed to stdout | [optional] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
Ttl | Pointer to string | Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL) | [optional] |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
UriSans | Pointer to string | The URI Subject Alternative Names to be included in the PKI certificate (in a comma-separated list) (if CSR is supplied this flag is ignored and any URI.* names are taken from it) | [optional] |
func NewGetPKICertificate(certIssuerName string, ) *GetPKICertificate
NewGetPKICertificate instantiates a new GetPKICertificate 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 NewGetPKICertificateWithDefaults() *GetPKICertificate
NewGetPKICertificateWithDefaults instantiates a new GetPKICertificate 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 *GetPKICertificate) GetAltNames() string
GetAltNames returns the AltNames field if non-nil, zero value otherwise.
func (o *GetPKICertificate) GetAltNamesOk() (*string, bool)
GetAltNamesOk returns a tuple with the AltNames field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPKICertificate) SetAltNames(v string)
SetAltNames sets AltNames field to given value.
func (o *GetPKICertificate) HasAltNames() bool
HasAltNames returns a boolean if a field has been set.
func (o *GetPKICertificate) GetCertIssuerName() string
GetCertIssuerName returns the CertIssuerName field if non-nil, zero value otherwise.
func (o *GetPKICertificate) GetCertIssuerNameOk() (*string, bool)
GetCertIssuerNameOk returns a tuple with the CertIssuerName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPKICertificate) SetCertIssuerName(v string)
SetCertIssuerName sets CertIssuerName field to given value.
func (o *GetPKICertificate) GetCommonName() string
GetCommonName returns the CommonName field if non-nil, zero value otherwise.
func (o *GetPKICertificate) GetCommonNameOk() (*string, bool)
GetCommonNameOk returns a tuple with the CommonName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPKICertificate) SetCommonName(v string)
SetCommonName sets CommonName field to given value.
func (o *GetPKICertificate) HasCommonName() bool
HasCommonName returns a boolean if a field has been set.
func (o *GetPKICertificate) GetCsrDataBase64() string
GetCsrDataBase64 returns the CsrDataBase64 field if non-nil, zero value otherwise.
func (o *GetPKICertificate) GetCsrDataBase64Ok() (*string, bool)
GetCsrDataBase64Ok returns a tuple with the CsrDataBase64 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPKICertificate) SetCsrDataBase64(v string)
SetCsrDataBase64 sets CsrDataBase64 field to given value.
func (o *GetPKICertificate) HasCsrDataBase64() bool
HasCsrDataBase64 returns a boolean if a field has been set.
func (o *GetPKICertificate) GetExtendedKeyUsage() string
GetExtendedKeyUsage returns the ExtendedKeyUsage field if non-nil, zero value otherwise.
func (o *GetPKICertificate) GetExtendedKeyUsageOk() (*string, bool)
GetExtendedKeyUsageOk returns a tuple with the ExtendedKeyUsage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPKICertificate) SetExtendedKeyUsage(v string)
SetExtendedKeyUsage sets ExtendedKeyUsage field to given value.
func (o *GetPKICertificate) HasExtendedKeyUsage() bool
HasExtendedKeyUsage returns a boolean if a field has been set.
func (o *GetPKICertificate) GetExtraExtensions() string
GetExtraExtensions returns the ExtraExtensions field if non-nil, zero value otherwise.
func (o *GetPKICertificate) GetExtraExtensionsOk() (*string, bool)
GetExtraExtensionsOk returns a tuple with the ExtraExtensions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPKICertificate) SetExtraExtensions(v string)
SetExtraExtensions sets ExtraExtensions field to given value.
func (o *GetPKICertificate) HasExtraExtensions() bool
HasExtraExtensions returns a boolean if a field has been set.
func (o *GetPKICertificate) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *GetPKICertificate) 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 *GetPKICertificate) SetJson(v bool)
SetJson sets Json field to given value.
func (o *GetPKICertificate) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *GetPKICertificate) GetKeyDataBase64() string
GetKeyDataBase64 returns the KeyDataBase64 field if non-nil, zero value otherwise.
func (o *GetPKICertificate) GetKeyDataBase64Ok() (*string, bool)
GetKeyDataBase64Ok returns a tuple with the KeyDataBase64 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPKICertificate) SetKeyDataBase64(v string)
SetKeyDataBase64 sets KeyDataBase64 field to given value.
func (o *GetPKICertificate) HasKeyDataBase64() bool
HasKeyDataBase64 returns a boolean if a field has been set.
func (o *GetPKICertificate) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *GetPKICertificate) 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 *GetPKICertificate) SetToken(v string)
SetToken sets Token field to given value.
func (o *GetPKICertificate) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *GetPKICertificate) GetTtl() string
GetTtl returns the Ttl field if non-nil, zero value otherwise.
func (o *GetPKICertificate) GetTtlOk() (*string, bool)
GetTtlOk returns a tuple with the Ttl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPKICertificate) SetTtl(v string)
SetTtl sets Ttl field to given value.
func (o *GetPKICertificate) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (o *GetPKICertificate) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *GetPKICertificate) 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 *GetPKICertificate) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *GetPKICertificate) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *GetPKICertificate) GetUriSans() string
GetUriSans returns the UriSans field if non-nil, zero value otherwise.
func (o *GetPKICertificate) GetUriSansOk() (*string, bool)
GetUriSansOk returns a tuple with the UriSans field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPKICertificate) SetUriSans(v string)
SetUriSans sets UriSans field to given value.
func (o *GetPKICertificate) HasUriSans() bool
HasUriSans returns a boolean if a field has been set.