Name | Type | Description | Notes |
---|---|---|---|
Created | Pointer to time.Time | The date and time this token was created. | [optional] [readonly] |
Expiry | Pointer to time.Time | When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with `null` as their expiry and will never expire unless revoked. | [optional] [readonly] |
Id | Pointer to int32 | This token's unique ID, which can be used to revoke it. | [optional] [readonly] |
Label | Pointer to string | This token's label. This is for display purposes only, but can be used to more easily track what you're using each token for. | [optional] |
Scopes | Pointer to string | The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to `*`. Tokens with more restrictive scopes are generally more secure. | [optional] [readonly] |
Token | Pointer to string | The token used to access the API. When the token is created, the full token is returned here. Otherwise, only the first 16 characters are returned. | [optional] [readonly] |
func NewGetPersonalAccessTokens200ResponseDataInner() *GetPersonalAccessTokens200ResponseDataInner
NewGetPersonalAccessTokens200ResponseDataInner instantiates a new GetPersonalAccessTokens200ResponseDataInner 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 NewGetPersonalAccessTokens200ResponseDataInnerWithDefaults() *GetPersonalAccessTokens200ResponseDataInner
NewGetPersonalAccessTokens200ResponseDataInnerWithDefaults instantiates a new GetPersonalAccessTokens200ResponseDataInner 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 *GetPersonalAccessTokens200ResponseDataInner) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *GetPersonalAccessTokens200ResponseDataInner) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPersonalAccessTokens200ResponseDataInner) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *GetPersonalAccessTokens200ResponseDataInner) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *GetPersonalAccessTokens200ResponseDataInner) GetExpiry() time.Time
GetExpiry returns the Expiry field if non-nil, zero value otherwise.
func (o *GetPersonalAccessTokens200ResponseDataInner) GetExpiryOk() (*time.Time, bool)
GetExpiryOk returns a tuple with the Expiry field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPersonalAccessTokens200ResponseDataInner) SetExpiry(v time.Time)
SetExpiry sets Expiry field to given value.
func (o *GetPersonalAccessTokens200ResponseDataInner) HasExpiry() bool
HasExpiry returns a boolean if a field has been set.
func (o *GetPersonalAccessTokens200ResponseDataInner) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *GetPersonalAccessTokens200ResponseDataInner) GetIdOk() (*int32, 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.
func (o *GetPersonalAccessTokens200ResponseDataInner) SetId(v int32)
SetId sets Id field to given value.
func (o *GetPersonalAccessTokens200ResponseDataInner) HasId() bool
HasId returns a boolean if a field has been set.
func (o *GetPersonalAccessTokens200ResponseDataInner) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *GetPersonalAccessTokens200ResponseDataInner) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPersonalAccessTokens200ResponseDataInner) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *GetPersonalAccessTokens200ResponseDataInner) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *GetPersonalAccessTokens200ResponseDataInner) GetScopes() string
GetScopes returns the Scopes field if non-nil, zero value otherwise.
func (o *GetPersonalAccessTokens200ResponseDataInner) GetScopesOk() (*string, bool)
GetScopesOk returns a tuple with the Scopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPersonalAccessTokens200ResponseDataInner) SetScopes(v string)
SetScopes sets Scopes field to given value.
func (o *GetPersonalAccessTokens200ResponseDataInner) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (o *GetPersonalAccessTokens200ResponseDataInner) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *GetPersonalAccessTokens200ResponseDataInner) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetPersonalAccessTokens200ResponseDataInner) SetToken(v string)
SetToken sets Token field to given value.
func (o *GetPersonalAccessTokens200ResponseDataInner) HasToken() bool
HasToken returns a boolean if a field has been set.