GoodMem
ReferenceClient SDKsGo SDKResponses

CreateApiKeyResponse

CreateApiKeyResponse documentation for Go SDK

Properties

NameTypeDescriptionNotes
ApiKeyMetadataPointer to ApiKeyResponse[optional]
RawApiKeyPointer to stringThe actual API key value. This is only returned once and cannot be retrieved again.[optional]

Methods

NewCreateApiKeyResponse

func NewCreateApiKeyResponse() *CreateApiKeyResponse

NewCreateApiKeyResponse instantiates a new CreateApiKeyResponse 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

NewCreateApiKeyResponseWithDefaults

func NewCreateApiKeyResponseWithDefaults() *CreateApiKeyResponse

NewCreateApiKeyResponseWithDefaults instantiates a new CreateApiKeyResponse 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

GetApiKeyMetadata

func (o *CreateApiKeyResponse) GetApiKeyMetadata() ApiKeyResponse

GetApiKeyMetadata returns the ApiKeyMetadata field if non-nil, zero value otherwise.

GetApiKeyMetadataOk

func (o *CreateApiKeyResponse) GetApiKeyMetadataOk() (*ApiKeyResponse, bool)

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

SetApiKeyMetadata

func (o *CreateApiKeyResponse) SetApiKeyMetadata(v ApiKeyResponse)

SetApiKeyMetadata sets ApiKeyMetadata field to given value.

HasApiKeyMetadata

func (o *CreateApiKeyResponse) HasApiKeyMetadata() bool

HasApiKeyMetadata returns a boolean if a field has been set.

GetRawApiKey

func (o *CreateApiKeyResponse) GetRawApiKey() string

GetRawApiKey returns the RawApiKey field if non-nil, zero value otherwise.

GetRawApiKeyOk

func (o *CreateApiKeyResponse) GetRawApiKeyOk() (*string, bool)

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

SetRawApiKey

func (o *CreateApiKeyResponse) SetRawApiKey(v string)

SetRawApiKey sets RawApiKey field to given value.

HasRawApiKey

func (o *CreateApiKeyResponse) HasRawApiKey() bool

HasRawApiKey returns a boolean if a field has been set.

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