# ModelsAPIKey ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CreatedAt** | Pointer to **time.Time** | | [optional] **ExpiresAt** | Pointer to **time.Time** | | [optional] **Id** | Pointer to **string** | | [optional] **LastUsedAt** | Pointer to **time.Time** | | [optional] **Name** | Pointer to **string** | | [optional] **OrgId** | Pointer to **string** | | [optional] **Prefix** | Pointer to **string** | | [optional] **Revoked** | Pointer to **bool** | | [optional] **Scope** | Pointer to **string** | | [optional] **UpdatedAt** | Pointer to **time.Time** | | [optional] **UserId** | Pointer to **string** | | [optional] ## Methods ### NewModelsAPIKey `func NewModelsAPIKey() *ModelsAPIKey` NewModelsAPIKey instantiates a new ModelsAPIKey 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 ### NewModelsAPIKeyWithDefaults `func NewModelsAPIKeyWithDefaults() *ModelsAPIKey` NewModelsAPIKeyWithDefaults instantiates a new ModelsAPIKey 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 ### GetCreatedAt `func (o *ModelsAPIKey) GetCreatedAt() time.Time` GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. ### GetCreatedAtOk `func (o *ModelsAPIKey) GetCreatedAtOk() (*time.Time, bool)` GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedAt `func (o *ModelsAPIKey) SetCreatedAt(v time.Time)` SetCreatedAt sets CreatedAt field to given value. ### HasCreatedAt `func (o *ModelsAPIKey) HasCreatedAt() bool` HasCreatedAt returns a boolean if a field has been set. ### GetExpiresAt `func (o *ModelsAPIKey) GetExpiresAt() time.Time` GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise. ### GetExpiresAtOk `func (o *ModelsAPIKey) 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 *ModelsAPIKey) SetExpiresAt(v time.Time)` SetExpiresAt sets ExpiresAt field to given value. ### HasExpiresAt `func (o *ModelsAPIKey) HasExpiresAt() bool` HasExpiresAt returns a boolean if a field has been set. ### GetId `func (o *ModelsAPIKey) GetId() string` GetId returns the Id field if non-nil, zero value otherwise. ### GetIdOk `func (o *ModelsAPIKey) GetIdOk() (*string, bool)` GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetId `func (o *ModelsAPIKey) SetId(v string)` SetId sets Id field to given value. ### HasId `func (o *ModelsAPIKey) HasId() bool` HasId returns a boolean if a field has been set. ### GetLastUsedAt `func (o *ModelsAPIKey) GetLastUsedAt() time.Time` GetLastUsedAt returns the LastUsedAt field if non-nil, zero value otherwise. ### GetLastUsedAtOk `func (o *ModelsAPIKey) GetLastUsedAtOk() (*time.Time, bool)` GetLastUsedAtOk returns a tuple with the LastUsedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLastUsedAt `func (o *ModelsAPIKey) SetLastUsedAt(v time.Time)` SetLastUsedAt sets LastUsedAt field to given value. ### HasLastUsedAt `func (o *ModelsAPIKey) HasLastUsedAt() bool` HasLastUsedAt returns a boolean if a field has been set. ### GetName `func (o *ModelsAPIKey) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk `func (o *ModelsAPIKey) GetNameOk() (*string, bool)` GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetName `func (o *ModelsAPIKey) SetName(v string)` SetName sets Name field to given value. ### HasName `func (o *ModelsAPIKey) HasName() bool` HasName returns a boolean if a field has been set. ### GetOrgId `func (o *ModelsAPIKey) GetOrgId() string` GetOrgId returns the OrgId field if non-nil, zero value otherwise. ### GetOrgIdOk `func (o *ModelsAPIKey) GetOrgIdOk() (*string, bool)` GetOrgIdOk returns a tuple with the OrgId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOrgId `func (o *ModelsAPIKey) SetOrgId(v string)` SetOrgId sets OrgId field to given value. ### HasOrgId `func (o *ModelsAPIKey) HasOrgId() bool` HasOrgId returns a boolean if a field has been set. ### GetPrefix `func (o *ModelsAPIKey) GetPrefix() string` GetPrefix returns the Prefix field if non-nil, zero value otherwise. ### GetPrefixOk `func (o *ModelsAPIKey) GetPrefixOk() (*string, bool)` GetPrefixOk returns a tuple with the Prefix field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPrefix `func (o *ModelsAPIKey) SetPrefix(v string)` SetPrefix sets Prefix field to given value. ### HasPrefix `func (o *ModelsAPIKey) HasPrefix() bool` HasPrefix returns a boolean if a field has been set. ### GetRevoked `func (o *ModelsAPIKey) GetRevoked() bool` GetRevoked returns the Revoked field if non-nil, zero value otherwise. ### GetRevokedOk `func (o *ModelsAPIKey) GetRevokedOk() (*bool, bool)` GetRevokedOk returns a tuple with the Revoked field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRevoked `func (o *ModelsAPIKey) SetRevoked(v bool)` SetRevoked sets Revoked field to given value. ### HasRevoked `func (o *ModelsAPIKey) HasRevoked() bool` HasRevoked returns a boolean if a field has been set. ### GetScope `func (o *ModelsAPIKey) GetScope() string` GetScope returns the Scope field if non-nil, zero value otherwise. ### GetScopeOk `func (o *ModelsAPIKey) GetScopeOk() (*string, bool)` GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScope `func (o *ModelsAPIKey) SetScope(v string)` SetScope sets Scope field to given value. ### HasScope `func (o *ModelsAPIKey) HasScope() bool` HasScope returns a boolean if a field has been set. ### GetUpdatedAt `func (o *ModelsAPIKey) GetUpdatedAt() time.Time` GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. ### GetUpdatedAtOk `func (o *ModelsAPIKey) GetUpdatedAtOk() (*time.Time, bool)` GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUpdatedAt `func (o *ModelsAPIKey) SetUpdatedAt(v time.Time)` SetUpdatedAt sets UpdatedAt field to given value. ### HasUpdatedAt `func (o *ModelsAPIKey) HasUpdatedAt() bool` HasUpdatedAt returns a boolean if a field has been set. ### GetUserId `func (o *ModelsAPIKey) GetUserId() string` GetUserId returns the UserId field if non-nil, zero value otherwise. ### GetUserIdOk `func (o *ModelsAPIKey) GetUserIdOk() (*string, bool)` GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUserId `func (o *ModelsAPIKey) SetUserId(v string)` SetUserId sets UserId field to given value. ### HasUserId `func (o *ModelsAPIKey) HasUserId() bool` HasUserId returns a boolean if a field has been set. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)