Name | Type | Description | Notes |
---|---|---|---|
Description | Pointer to string | A name or brief explanation of what this api key is used for | [optional] |
Role | string |
func NewApiKeyRequest(role string, ) *ApiKeyRequest
NewApiKeyRequest instantiates a new ApiKeyRequest 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
func NewApiKeyRequestWithDefaults() *ApiKeyRequest
NewApiKeyRequestWithDefaults instantiates a new ApiKeyRequest 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
func (o *ApiKeyRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ApiKeyRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiKeyRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ApiKeyRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ApiKeyRequest) GetRole() string
GetRole returns the Role field if non-nil, zero value otherwise.
func (o *ApiKeyRequest) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiKeyRequest) SetRole(v string)
SetRole sets Role field to given value.