Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.75 KB

File metadata and controls

98 lines (53 loc) · 2.75 KB

V2StoreItemRequest

Properties

Name Type Description Notes
Key string Item key
Value string Item value (can be JSON string)
Secret Pointer to bool Store as secret with KMS encryption. Secrets cannot be retrieved via GET operations (returns [ENCRYPTED]). Ideal for API keys, passwords, and credentials. [optional] [default to false]

Methods

NewV2StoreItemRequest

func NewV2StoreItemRequest(key string, value string, ) *V2StoreItemRequest

NewV2StoreItemRequest instantiates a new V2StoreItemRequest 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

NewV2StoreItemRequestWithDefaults

func NewV2StoreItemRequestWithDefaults() *V2StoreItemRequest

NewV2StoreItemRequestWithDefaults instantiates a new V2StoreItemRequest 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

GetKey

func (o *V2StoreItemRequest) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *V2StoreItemRequest) GetKeyOk() (*string, bool)

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

SetKey

func (o *V2StoreItemRequest) SetKey(v string)

SetKey sets Key field to given value.

GetValue

func (o *V2StoreItemRequest) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

func (o *V2StoreItemRequest) GetValueOk() (*string, bool)

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

SetValue

func (o *V2StoreItemRequest) SetValue(v string)

SetValue sets Value field to given value.

GetSecret

func (o *V2StoreItemRequest) GetSecret() bool

GetSecret returns the Secret field if non-nil, zero value otherwise.

GetSecretOk

func (o *V2StoreItemRequest) GetSecretOk() (*bool, bool)

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

SetSecret

func (o *V2StoreItemRequest) SetSecret(v bool)

SetSecret sets Secret field to given value.

HasSecret

func (o *V2StoreItemRequest) HasSecret() bool

HasSecret returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]