GoodMem
ReferenceClient SDKsGo SDKRequests

UpdateApiKeyRequest

UpdateApiKeyRequest documentation for Go SDK

Properties

NameTypeDescriptionNotes
ValidateLabelStrategyPointer to map[string]interface[optional]
StatusPointer to NullableStringNew status for the API key. Allowed values: ACTIVE, INACTIVE.[optional]
ReplaceLabelsPointer to map[string]stringReplace all existing labels with this set. Mutually exclusive with mergeLabels.[optional]
MergeLabelsPointer to map[string]stringMerge these labels with existing ones. Mutually exclusive with replaceLabels.[optional]

Methods

NewUpdateApiKeyRequest

func NewUpdateApiKeyRequest() *UpdateApiKeyRequest

NewUpdateApiKeyRequest instantiates a new UpdateApiKeyRequest 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

NewUpdateApiKeyRequestWithDefaults

func NewUpdateApiKeyRequestWithDefaults() *UpdateApiKeyRequest

NewUpdateApiKeyRequestWithDefaults instantiates a new UpdateApiKeyRequest 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

GetValidateLabelStrategy

func (o *UpdateApiKeyRequest) GetValidateLabelStrategy() map[string]interface{}

GetValidateLabelStrategy returns the ValidateLabelStrategy field if non-nil, zero value otherwise.

GetValidateLabelStrategyOk

func (o *UpdateApiKeyRequest) GetValidateLabelStrategyOk() (*map[string]interface{}, bool)

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

SetValidateLabelStrategy

func (o *UpdateApiKeyRequest) SetValidateLabelStrategy(v map[string]interface{})

SetValidateLabelStrategy sets ValidateLabelStrategy field to given value.

HasValidateLabelStrategy

func (o *UpdateApiKeyRequest) HasValidateLabelStrategy() bool

HasValidateLabelStrategy returns a boolean if a field has been set.

GetStatus

func (o *UpdateApiKeyRequest) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *UpdateApiKeyRequest) GetStatusOk() (*string, bool)

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

SetStatus

func (o *UpdateApiKeyRequest) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *UpdateApiKeyRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

SetStatusNil

func (o *UpdateApiKeyRequest) SetStatusNil(b bool)

SetStatusNil sets the value for Status to be an explicit nil

UnsetStatus

func (o *UpdateApiKeyRequest) UnsetStatus()

UnsetStatus ensures that no value is present for Status, not even an explicit nil

GetReplaceLabels

func (o *UpdateApiKeyRequest) GetReplaceLabels() map[string]string

GetReplaceLabels returns the ReplaceLabels field if non-nil, zero value otherwise.

GetReplaceLabelsOk

func (o *UpdateApiKeyRequest) GetReplaceLabelsOk() (*map[string]string, bool)

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

SetReplaceLabels

func (o *UpdateApiKeyRequest) SetReplaceLabels(v map[string]string)

SetReplaceLabels sets ReplaceLabels field to given value.

HasReplaceLabels

func (o *UpdateApiKeyRequest) HasReplaceLabels() bool

HasReplaceLabels returns a boolean if a field has been set.

SetReplaceLabelsNil

func (o *UpdateApiKeyRequest) SetReplaceLabelsNil(b bool)

SetReplaceLabelsNil sets the value for ReplaceLabels to be an explicit nil

UnsetReplaceLabels

func (o *UpdateApiKeyRequest) UnsetReplaceLabels()

UnsetReplaceLabels ensures that no value is present for ReplaceLabels, not even an explicit nil

GetMergeLabels

func (o *UpdateApiKeyRequest) GetMergeLabels() map[string]string

GetMergeLabels returns the MergeLabels field if non-nil, zero value otherwise.

GetMergeLabelsOk

func (o *UpdateApiKeyRequest) GetMergeLabelsOk() (*map[string]string, bool)

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

SetMergeLabels

func (o *UpdateApiKeyRequest) SetMergeLabels(v map[string]string)

SetMergeLabels sets MergeLabels field to given value.

HasMergeLabels

func (o *UpdateApiKeyRequest) HasMergeLabels() bool

HasMergeLabels returns a boolean if a field has been set.

SetMergeLabelsNil

func (o *UpdateApiKeyRequest) SetMergeLabelsNil(b bool)

SetMergeLabelsNil sets the value for MergeLabels to be an explicit nil

UnsetMergeLabels

func (o *UpdateApiKeyRequest) UnsetMergeLabels()

UnsetMergeLabels ensures that no value is present for MergeLabels, not even an explicit nil

↑ Back to Go SDK ↑ Back to Go SDK ↑ Back to Go SDK