Name | Type | Description | Notes |
---|---|---|---|
Active | Pointer to bool | If selected this is the active key for this repository. | [optional] [readonly] |
Comment | string | ||
CreatedAt | Pointer to time.Time | [optional] [readonly] | |
Default | Pointer to bool | If selected this is the default key for this repository. | [optional] [readonly] |
Fingerprint | Pointer to string | The long identifier used by GPG for this key. | [optional] [readonly] |
FingerprintShort | Pointer to string | [optional] [readonly] | |
PublicKey | Pointer to string | The public key given to repository users. | [optional] [readonly] |
func NewRepositoryGpgKey(comment string, ) *RepositoryGpgKey
NewRepositoryGpgKey instantiates a new RepositoryGpgKey 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 NewRepositoryGpgKeyWithDefaults() *RepositoryGpgKey
NewRepositoryGpgKeyWithDefaults instantiates a new RepositoryGpgKey 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 *RepositoryGpgKey) GetActive() bool
GetActive returns the Active field if non-nil, zero value otherwise.
func (o *RepositoryGpgKey) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryGpgKey) SetActive(v bool)
SetActive sets Active field to given value.
func (o *RepositoryGpgKey) HasActive() bool
HasActive returns a boolean if a field has been set.
func (o *RepositoryGpgKey) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *RepositoryGpgKey) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryGpgKey) SetComment(v string)
SetComment sets Comment field to given value.
func (o *RepositoryGpgKey) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *RepositoryGpgKey) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryGpgKey) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *RepositoryGpgKey) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *RepositoryGpgKey) GetDefault() bool
GetDefault returns the Default field if non-nil, zero value otherwise.
func (o *RepositoryGpgKey) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryGpgKey) SetDefault(v bool)
SetDefault sets Default field to given value.
func (o *RepositoryGpgKey) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (o *RepositoryGpgKey) GetFingerprint() string
GetFingerprint returns the Fingerprint field if non-nil, zero value otherwise.
func (o *RepositoryGpgKey) GetFingerprintOk() (*string, bool)
GetFingerprintOk returns a tuple with the Fingerprint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryGpgKey) SetFingerprint(v string)
SetFingerprint sets Fingerprint field to given value.
func (o *RepositoryGpgKey) HasFingerprint() bool
HasFingerprint returns a boolean if a field has been set.
func (o *RepositoryGpgKey) GetFingerprintShort() string
GetFingerprintShort returns the FingerprintShort field if non-nil, zero value otherwise.
func (o *RepositoryGpgKey) GetFingerprintShortOk() (*string, bool)
GetFingerprintShortOk returns a tuple with the FingerprintShort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryGpgKey) SetFingerprintShort(v string)
SetFingerprintShort sets FingerprintShort field to given value.
func (o *RepositoryGpgKey) HasFingerprintShort() bool
HasFingerprintShort returns a boolean if a field has been set.
func (o *RepositoryGpgKey) GetPublicKey() string
GetPublicKey returns the PublicKey field if non-nil, zero value otherwise.
func (o *RepositoryGpgKey) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryGpgKey) SetPublicKey(v string)
SetPublicKey sets PublicKey field to given value.
func (o *RepositoryGpgKey) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.