Skip to content

Latest commit

 

History

History
116 lines (65 loc) · 3.39 KB

ClientKey.md

File metadata and controls

116 lines (65 loc) · 3.39 KB

ClientKey

Properties

Name Type Description Notes
ClientKey Pointer to string A Base64-encoded X25519 public key that can be used with a libsodium-compatible sealed box to encrypt secrets before upload. [optional]
Signature Pointer to string A Base64-encoded signature of the client key. The signature is generated using the signing key and must be verified before using the client key. [optional]
ExpiresAt Pointer to NullableTime Date and time in ISO 8601 format. [optional] [readonly]

Methods

NewClientKey

func NewClientKey() *ClientKey

NewClientKey instantiates a new ClientKey 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

NewClientKeyWithDefaults

func NewClientKeyWithDefaults() *ClientKey

NewClientKeyWithDefaults instantiates a new ClientKey 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

GetClientKey

func (o *ClientKey) GetClientKey() string

GetClientKey returns the ClientKey field if non-nil, zero value otherwise.

GetClientKeyOk

func (o *ClientKey) GetClientKeyOk() (*string, bool)

GetClientKeyOk returns a tuple with the ClientKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClientKey

func (o *ClientKey) SetClientKey(v string)

SetClientKey sets ClientKey field to given value.

HasClientKey

func (o *ClientKey) HasClientKey() bool

HasClientKey returns a boolean if a field has been set.

GetSignature

func (o *ClientKey) GetSignature() string

GetSignature returns the Signature field if non-nil, zero value otherwise.

GetSignatureOk

func (o *ClientKey) GetSignatureOk() (*string, bool)

GetSignatureOk returns a tuple with the Signature field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSignature

func (o *ClientKey) SetSignature(v string)

SetSignature sets Signature field to given value.

HasSignature

func (o *ClientKey) HasSignature() bool

HasSignature returns a boolean if a field has been set.

GetExpiresAt

func (o *ClientKey) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.

GetExpiresAtOk

func (o *ClientKey) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExpiresAt

func (o *ClientKey) SetExpiresAt(v time.Time)

SetExpiresAt sets ExpiresAt field to given value.

HasExpiresAt

func (o *ClientKey) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

SetExpiresAtNil

func (o *ClientKey) SetExpiresAtNil(b bool)

SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil

UnsetExpiresAt

func (o *ClientKey) UnsetExpiresAt()

UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil

Back to API list | Back to README