Name | Type | Description | Notes |
---|---|---|---|
Pk | string | [readonly] | |
Name | string | ||
FingerprintSha256 | NullableString | Get certificate Hash (SHA256) | [readonly] |
FingerprintSha1 | NullableString | Get certificate Hash (SHA1) | [readonly] |
CertExpiry | NullableTime | Get certificate expiry | [readonly] |
CertSubject | NullableString | Get certificate subject as full rfc4514 | [readonly] |
PrivateKeyAvailable | bool | Show if this keypair has a private key configured or not | [readonly] |
PrivateKeyType | NullableString | Get the private key's type, if set | [readonly] |
CertificateDownloadUrl | string | Get URL to download certificate | [readonly] |
PrivateKeyDownloadUrl | string | Get URL to download private key | [readonly] |
Managed | NullableString | Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update. | [readonly] |
func NewCertificateKeyPair(pk string, name string, fingerprintSha256 NullableString, fingerprintSha1 NullableString, certExpiry NullableTime, certSubject NullableString, privateKeyAvailable bool, privateKeyType NullableString, certificateDownloadUrl string, privateKeyDownloadUrl string, managed NullableString, ) *CertificateKeyPair
NewCertificateKeyPair instantiates a new CertificateKeyPair 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 NewCertificateKeyPairWithDefaults() *CertificateKeyPair
NewCertificateKeyPairWithDefaults instantiates a new CertificateKeyPair 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 *CertificateKeyPair) GetPk() string
GetPk returns the Pk field if non-nil, zero value otherwise.
func (o *CertificateKeyPair) GetPkOk() (*string, bool)
GetPkOk returns a tuple with the Pk field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CertificateKeyPair) SetPk(v string)
SetPk sets Pk field to given value.
func (o *CertificateKeyPair) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CertificateKeyPair) 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 *CertificateKeyPair) SetName(v string)
SetName sets Name field to given value.
func (o *CertificateKeyPair) GetFingerprintSha256() string
GetFingerprintSha256 returns the FingerprintSha256 field if non-nil, zero value otherwise.
func (o *CertificateKeyPair) GetFingerprintSha256Ok() (*string, bool)
GetFingerprintSha256Ok returns a tuple with the FingerprintSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CertificateKeyPair) SetFingerprintSha256(v string)
SetFingerprintSha256 sets FingerprintSha256 field to given value.
func (o *CertificateKeyPair) SetFingerprintSha256Nil(b bool)
SetFingerprintSha256Nil sets the value for FingerprintSha256 to be an explicit nil
func (o *CertificateKeyPair) UnsetFingerprintSha256()
UnsetFingerprintSha256 ensures that no value is present for FingerprintSha256, not even an explicit nil
func (o *CertificateKeyPair) GetFingerprintSha1() string
GetFingerprintSha1 returns the FingerprintSha1 field if non-nil, zero value otherwise.
func (o *CertificateKeyPair) GetFingerprintSha1Ok() (*string, bool)
GetFingerprintSha1Ok returns a tuple with the FingerprintSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CertificateKeyPair) SetFingerprintSha1(v string)
SetFingerprintSha1 sets FingerprintSha1 field to given value.
func (o *CertificateKeyPair) SetFingerprintSha1Nil(b bool)
SetFingerprintSha1Nil sets the value for FingerprintSha1 to be an explicit nil
func (o *CertificateKeyPair) UnsetFingerprintSha1()
UnsetFingerprintSha1 ensures that no value is present for FingerprintSha1, not even an explicit nil
func (o *CertificateKeyPair) GetCertExpiry() time.Time
GetCertExpiry returns the CertExpiry field if non-nil, zero value otherwise.
func (o *CertificateKeyPair) GetCertExpiryOk() (*time.Time, bool)
GetCertExpiryOk returns a tuple with the CertExpiry field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CertificateKeyPair) SetCertExpiry(v time.Time)
SetCertExpiry sets CertExpiry field to given value.
func (o *CertificateKeyPair) SetCertExpiryNil(b bool)
SetCertExpiryNil sets the value for CertExpiry to be an explicit nil
func (o *CertificateKeyPair) UnsetCertExpiry()
UnsetCertExpiry ensures that no value is present for CertExpiry, not even an explicit nil
func (o *CertificateKeyPair) GetCertSubject() string
GetCertSubject returns the CertSubject field if non-nil, zero value otherwise.
func (o *CertificateKeyPair) GetCertSubjectOk() (*string, bool)
GetCertSubjectOk returns a tuple with the CertSubject field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CertificateKeyPair) SetCertSubject(v string)
SetCertSubject sets CertSubject field to given value.
func (o *CertificateKeyPair) SetCertSubjectNil(b bool)
SetCertSubjectNil sets the value for CertSubject to be an explicit nil
func (o *CertificateKeyPair) UnsetCertSubject()
UnsetCertSubject ensures that no value is present for CertSubject, not even an explicit nil
func (o *CertificateKeyPair) GetPrivateKeyAvailable() bool
GetPrivateKeyAvailable returns the PrivateKeyAvailable field if non-nil, zero value otherwise.
func (o *CertificateKeyPair) GetPrivateKeyAvailableOk() (*bool, bool)
GetPrivateKeyAvailableOk returns a tuple with the PrivateKeyAvailable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CertificateKeyPair) SetPrivateKeyAvailable(v bool)
SetPrivateKeyAvailable sets PrivateKeyAvailable field to given value.
func (o *CertificateKeyPair) GetPrivateKeyType() string
GetPrivateKeyType returns the PrivateKeyType field if non-nil, zero value otherwise.
func (o *CertificateKeyPair) GetPrivateKeyTypeOk() (*string, bool)
GetPrivateKeyTypeOk returns a tuple with the PrivateKeyType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CertificateKeyPair) SetPrivateKeyType(v string)
SetPrivateKeyType sets PrivateKeyType field to given value.
func (o *CertificateKeyPair) SetPrivateKeyTypeNil(b bool)
SetPrivateKeyTypeNil sets the value for PrivateKeyType to be an explicit nil
func (o *CertificateKeyPair) UnsetPrivateKeyType()
UnsetPrivateKeyType ensures that no value is present for PrivateKeyType, not even an explicit nil
func (o *CertificateKeyPair) GetCertificateDownloadUrl() string
GetCertificateDownloadUrl returns the CertificateDownloadUrl field if non-nil, zero value otherwise.
func (o *CertificateKeyPair) GetCertificateDownloadUrlOk() (*string, bool)
GetCertificateDownloadUrlOk returns a tuple with the CertificateDownloadUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CertificateKeyPair) SetCertificateDownloadUrl(v string)
SetCertificateDownloadUrl sets CertificateDownloadUrl field to given value.
func (o *CertificateKeyPair) GetPrivateKeyDownloadUrl() string
GetPrivateKeyDownloadUrl returns the PrivateKeyDownloadUrl field if non-nil, zero value otherwise.
func (o *CertificateKeyPair) GetPrivateKeyDownloadUrlOk() (*string, bool)
GetPrivateKeyDownloadUrlOk returns a tuple with the PrivateKeyDownloadUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CertificateKeyPair) SetPrivateKeyDownloadUrl(v string)
SetPrivateKeyDownloadUrl sets PrivateKeyDownloadUrl field to given value.
func (o *CertificateKeyPair) GetManaged() string
GetManaged returns the Managed field if non-nil, zero value otherwise.
func (o *CertificateKeyPair) GetManagedOk() (*string, bool)
GetManagedOk returns a tuple with the Managed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CertificateKeyPair) SetManaged(v string)
SetManaged sets Managed field to given value.
func (o *CertificateKeyPair) SetManagedNil(b bool)
SetManagedNil sets the value for Managed to be an explicit nil
func (o *CertificateKeyPair) UnsetManaged()
UnsetManaged ensures that no value is present for Managed, not even an explicit nil