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 expires. This is default set to 15 minutes from the time of creation. Proxy user tokens can't be renewed. After this time, Akamai revokes the token and you need to generate a new one. | [optional] [readonly] |
Id | Pointer to int32 | The proxy user token's unique ID, which can be used to revoke it. | [optional] [readonly] |
Label | Pointer to string | The name of the token. The API automatically sets this to `<username><uid><time>`. It's composed of the `username` for your parent account user, the unique `uid` Akamai assigned to identify your user, and the `time` the API generated the token. This is for display purposes only, but you can use it to help track how you're using each proxy user token. | [optional] |
Scopes | Pointer to string | The scopes this token was created with. Defaults to `*`. Proxy user tokens automatically inherit all the permissions of the proxy user. | [optional] [readonly] |
Token | Pointer to string | The proxy user token that can be used to access the API and CLI. After you create a token, you can see the full token in the response. All other operations that contain this token only show the first 16 characters in their response. | [optional] [readonly] |
func NewProxyUserToken() *ProxyUserToken
NewProxyUserToken instantiates a new ProxyUserToken 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 NewProxyUserTokenWithDefaults() *ProxyUserToken
NewProxyUserTokenWithDefaults instantiates a new ProxyUserToken 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 *ProxyUserToken) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *ProxyUserToken) 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 *ProxyUserToken) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *ProxyUserToken) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *ProxyUserToken) GetExpiry() time.Time
GetExpiry returns the Expiry field if non-nil, zero value otherwise.
func (o *ProxyUserToken) 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 *ProxyUserToken) SetExpiry(v time.Time)
SetExpiry sets Expiry field to given value.
func (o *ProxyUserToken) HasExpiry() bool
HasExpiry returns a boolean if a field has been set.
func (o *ProxyUserToken) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ProxyUserToken) 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 *ProxyUserToken) SetId(v int32)
SetId sets Id field to given value.
func (o *ProxyUserToken) HasId() bool
HasId returns a boolean if a field has been set.
func (o *ProxyUserToken) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *ProxyUserToken) 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 *ProxyUserToken) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *ProxyUserToken) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *ProxyUserToken) GetScopes() string
GetScopes returns the Scopes field if non-nil, zero value otherwise.
func (o *ProxyUserToken) 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 *ProxyUserToken) SetScopes(v string)
SetScopes sets Scopes field to given value.
func (o *ProxyUserToken) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (o *ProxyUserToken) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *ProxyUserToken) 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 *ProxyUserToken) SetToken(v string)
SetToken sets Token field to given value.
func (o *ProxyUserToken) HasToken() bool
HasToken returns a boolean if a field has been set.