chore: work save
This commit is contained in:
parent
3e3f13d36d
commit
9752d63f7e
19 changed files with 1003 additions and 209 deletions
|
|
@ -410,8 +410,7 @@ type Key struct {
|
|||
// This date is set when a key is pending deletion and refers to the scheduled date of deletion
|
||||
DeletionDate KeyGetDeletionDateAttributeType `json:"deletionDate,omitempty"`
|
||||
// A user chosen description to distinguish multiple keys.
|
||||
// REQUIRED
|
||||
Description KeyGetDescriptionAttributeType `json:"description" required:"true"`
|
||||
Description KeyGetDescriptionAttributeType `json:"description,omitempty"`
|
||||
// The display name to distinguish multiple keys.
|
||||
// REQUIRED
|
||||
DisplayName KeyGetDisplayNameAttributeType `json:"displayName" required:"true"`
|
||||
|
|
@ -439,13 +438,12 @@ type _Key Key
|
|||
// 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 NewKey(accessScope KeyGetAccessScopeArgType, algorithm KeyGetAlgorithmArgType, backend KeyGetBackendArgType, createdAt KeyGetCreatedAtArgType, description KeyGetDescriptionArgType, displayName KeyGetDisplayNameArgType, id KeyGetIdArgType, importOnly KeygetImportOnlyArgType, keyRingId KeyGetKeyRingIdArgType, protection KeyGetProtectionArgType, purpose KeyGetPurposeArgType, state KeyGetStateArgType) *Key {
|
||||
func NewKey(accessScope KeyGetAccessScopeArgType, algorithm KeyGetAlgorithmArgType, backend KeyGetBackendArgType, createdAt KeyGetCreatedAtArgType, displayName KeyGetDisplayNameArgType, id KeyGetIdArgType, importOnly KeygetImportOnlyArgType, keyRingId KeyGetKeyRingIdArgType, protection KeyGetProtectionArgType, purpose KeyGetPurposeArgType, state KeyGetStateArgType) *Key {
|
||||
this := Key{}
|
||||
setKeyGetAccessScopeAttributeType(&this.AccessScope, accessScope)
|
||||
setKeyGetAlgorithmAttributeType(&this.Algorithm, algorithm)
|
||||
setKeyGetBackendAttributeType(&this.Backend, backend)
|
||||
setKeyGetCreatedAtAttributeType(&this.CreatedAt, createdAt)
|
||||
setKeyGetDescriptionAttributeType(&this.Description, description)
|
||||
setKeyGetDisplayNameAttributeType(&this.DisplayName, displayName)
|
||||
setKeyGetIdAttributeType(&this.Id, id)
|
||||
setKeygetImportOnlyAttributeType(&this.ImportOnly, importOnly)
|
||||
|
|
@ -562,19 +560,25 @@ func (o *Key) SetDeletionDate(v KeyGetDeletionDateRetType) {
|
|||
setKeyGetDeletionDateAttributeType(&o.DeletionDate, v)
|
||||
}
|
||||
|
||||
// GetDescription returns the Description field value
|
||||
func (o *Key) GetDescription() (ret KeyGetDescriptionRetType) {
|
||||
ret, _ = o.GetDescriptionOk()
|
||||
return ret
|
||||
// GetDescription returns the Description field value if set, zero value otherwise.
|
||||
func (o *Key) GetDescription() (res KeyGetDescriptionRetType) {
|
||||
res, _ = o.GetDescriptionOk()
|
||||
return
|
||||
}
|
||||
|
||||
// GetDescriptionOk returns a tuple with the Description field value
|
||||
// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *Key) GetDescriptionOk() (ret KeyGetDescriptionRetType, ok bool) {
|
||||
return getKeyGetDescriptionAttributeTypeOk(o.Description)
|
||||
}
|
||||
|
||||
// SetDescription sets field value
|
||||
// HasDescription returns a boolean if a field has been set.
|
||||
func (o *Key) HasDescription() bool {
|
||||
_, ok := o.GetDescriptionOk()
|
||||
return ok
|
||||
}
|
||||
|
||||
// SetDescription gets a reference to the given string and assigns it to the Description field.
|
||||
func (o *Key) SetDescription(v KeyGetDescriptionRetType) {
|
||||
setKeyGetDescriptionAttributeType(&o.Description, v)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -234,8 +234,7 @@ type KeyRing struct {
|
|||
// REQUIRED
|
||||
CreatedAt KeyRingGetCreatedAtAttributeType `json:"createdAt" required:"true"`
|
||||
// A user chosen description to distinguish multiple key rings.
|
||||
// REQUIRED
|
||||
Description KeyRingGetDescriptionAttributeType `json:"description" required:"true"`
|
||||
Description KeyRingGetDescriptionAttributeType `json:"description,omitempty"`
|
||||
// The display name to distinguish multiple key rings.
|
||||
// REQUIRED
|
||||
DisplayName KeyRingGetDisplayNameAttributeType `json:"displayName" required:"true"`
|
||||
|
|
@ -253,10 +252,9 @@ type _KeyRing KeyRing
|
|||
// 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 NewKeyRing(createdAt KeyRingGetCreatedAtArgType, description KeyRingGetDescriptionArgType, displayName KeyRingGetDisplayNameArgType, id KeyRingGetIdArgType, state KeyRingGetStateArgType) *KeyRing {
|
||||
func NewKeyRing(createdAt KeyRingGetCreatedAtArgType, displayName KeyRingGetDisplayNameArgType, id KeyRingGetIdArgType, state KeyRingGetStateArgType) *KeyRing {
|
||||
this := KeyRing{}
|
||||
setKeyRingGetCreatedAtAttributeType(&this.CreatedAt, createdAt)
|
||||
setKeyRingGetDescriptionAttributeType(&this.Description, description)
|
||||
setKeyRingGetDisplayNameAttributeType(&this.DisplayName, displayName)
|
||||
setKeyRingGetIdAttributeType(&this.Id, id)
|
||||
setKeyRingGetStateAttributeType(&this.State, state)
|
||||
|
|
@ -288,19 +286,25 @@ func (o *KeyRing) SetCreatedAt(v KeyRingGetCreatedAtRetType) {
|
|||
setKeyRingGetCreatedAtAttributeType(&o.CreatedAt, v)
|
||||
}
|
||||
|
||||
// GetDescription returns the Description field value
|
||||
func (o *KeyRing) GetDescription() (ret KeyRingGetDescriptionRetType) {
|
||||
ret, _ = o.GetDescriptionOk()
|
||||
return ret
|
||||
// GetDescription returns the Description field value if set, zero value otherwise.
|
||||
func (o *KeyRing) GetDescription() (res KeyRingGetDescriptionRetType) {
|
||||
res, _ = o.GetDescriptionOk()
|
||||
return
|
||||
}
|
||||
|
||||
// GetDescriptionOk returns a tuple with the Description field value
|
||||
// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *KeyRing) GetDescriptionOk() (ret KeyRingGetDescriptionRetType, ok bool) {
|
||||
return getKeyRingGetDescriptionAttributeTypeOk(o.Description)
|
||||
}
|
||||
|
||||
// SetDescription sets field value
|
||||
// HasDescription returns a boolean if a field has been set.
|
||||
func (o *KeyRing) HasDescription() bool {
|
||||
_, ok := o.GetDescriptionOk()
|
||||
return ok
|
||||
}
|
||||
|
||||
// SetDescription gets a reference to the given string and assigns it to the Description field.
|
||||
func (o *KeyRing) SetDescription(v KeyRingGetDescriptionRetType) {
|
||||
setKeyRingGetDescriptionAttributeType(&o.Description, v)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -407,8 +407,7 @@ type WrappingKey struct {
|
|||
// REQUIRED
|
||||
CreatedAt WrappingKeyGetCreatedAtAttributeType `json:"createdAt" required:"true"`
|
||||
// A user chosen description to distinguish multiple wrapping keys.
|
||||
// REQUIRED
|
||||
Description WrappingKeyGetDescriptionAttributeType `json:"description" required:"true"`
|
||||
Description WrappingKeyGetDescriptionAttributeType `json:"description,omitempty"`
|
||||
// The display name to distinguish multiple wrapping keys.
|
||||
// REQUIRED
|
||||
DisplayName WrappingKeyGetDisplayNameAttributeType `json:"displayName" required:"true"`
|
||||
|
|
@ -438,13 +437,12 @@ type _WrappingKey WrappingKey
|
|||
// 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 NewWrappingKey(accessScope WrappingKeyGetAccessScopeArgType, algorithm WrappingKeyGetAlgorithmArgType, backend WrappingKeyGetBackendArgType, createdAt WrappingKeyGetCreatedAtArgType, description WrappingKeyGetDescriptionArgType, displayName WrappingKeyGetDisplayNameArgType, expiresAt WrappingKeyGetExpiresAtArgType, id WrappingKeyGetIdArgType, keyRingId WrappingKeyGetKeyRingIdArgType, protection WrappingKeyGetProtectionArgType, purpose WrappingKeyGetPurposeArgType, state WrappingKeyGetStateArgType) *WrappingKey {
|
||||
func NewWrappingKey(accessScope WrappingKeyGetAccessScopeArgType, algorithm WrappingKeyGetAlgorithmArgType, backend WrappingKeyGetBackendArgType, createdAt WrappingKeyGetCreatedAtArgType, displayName WrappingKeyGetDisplayNameArgType, expiresAt WrappingKeyGetExpiresAtArgType, id WrappingKeyGetIdArgType, keyRingId WrappingKeyGetKeyRingIdArgType, protection WrappingKeyGetProtectionArgType, purpose WrappingKeyGetPurposeArgType, state WrappingKeyGetStateArgType) *WrappingKey {
|
||||
this := WrappingKey{}
|
||||
setWrappingKeyGetAccessScopeAttributeType(&this.AccessScope, accessScope)
|
||||
setWrappingKeyGetAlgorithmAttributeType(&this.Algorithm, algorithm)
|
||||
setWrappingKeyGetBackendAttributeType(&this.Backend, backend)
|
||||
setWrappingKeyGetCreatedAtAttributeType(&this.CreatedAt, createdAt)
|
||||
setWrappingKeyGetDescriptionAttributeType(&this.Description, description)
|
||||
setWrappingKeyGetDisplayNameAttributeType(&this.DisplayName, displayName)
|
||||
setWrappingKeyGetExpiresAtAttributeType(&this.ExpiresAt, expiresAt)
|
||||
setWrappingKeyGetIdAttributeType(&this.Id, id)
|
||||
|
|
@ -536,19 +534,25 @@ func (o *WrappingKey) SetCreatedAt(v WrappingKeyGetCreatedAtRetType) {
|
|||
setWrappingKeyGetCreatedAtAttributeType(&o.CreatedAt, v)
|
||||
}
|
||||
|
||||
// GetDescription returns the Description field value
|
||||
func (o *WrappingKey) GetDescription() (ret WrappingKeyGetDescriptionRetType) {
|
||||
ret, _ = o.GetDescriptionOk()
|
||||
return ret
|
||||
// GetDescription returns the Description field value if set, zero value otherwise.
|
||||
func (o *WrappingKey) GetDescription() (res WrappingKeyGetDescriptionRetType) {
|
||||
res, _ = o.GetDescriptionOk()
|
||||
return
|
||||
}
|
||||
|
||||
// GetDescriptionOk returns a tuple with the Description field value
|
||||
// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *WrappingKey) GetDescriptionOk() (ret WrappingKeyGetDescriptionRetType, ok bool) {
|
||||
return getWrappingKeyGetDescriptionAttributeTypeOk(o.Description)
|
||||
}
|
||||
|
||||
// SetDescription sets field value
|
||||
// HasDescription returns a boolean if a field has been set.
|
||||
func (o *WrappingKey) HasDescription() bool {
|
||||
_, ok := o.GetDescriptionOk()
|
||||
return ok
|
||||
}
|
||||
|
||||
// SetDescription gets a reference to the given string and assigns it to the Description field.
|
||||
func (o *WrappingKey) SetDescription(v WrappingKeyGetDescriptionRetType) {
|
||||
setWrappingKeyGetDescriptionAttributeType(&o.Description, v)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue