Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 5.73 KB

ProxyUserToken.md

File metadata and controls

186 lines (101 loc) · 5.73 KB

ProxyUserToken

Properties

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]

Methods

NewProxyUserToken

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

NewProxyUserTokenWithDefaults

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

GetCreated

func (o *ProxyUserToken) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

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.

SetCreated

func (o *ProxyUserToken) SetCreated(v time.Time)

SetCreated sets Created field to given value.

HasCreated

func (o *ProxyUserToken) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetExpiry

func (o *ProxyUserToken) GetExpiry() time.Time

GetExpiry returns the Expiry field if non-nil, zero value otherwise.

GetExpiryOk

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.

SetExpiry

func (o *ProxyUserToken) SetExpiry(v time.Time)

SetExpiry sets Expiry field to given value.

HasExpiry

func (o *ProxyUserToken) HasExpiry() bool

HasExpiry returns a boolean if a field has been set.

GetId

func (o *ProxyUserToken) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *ProxyUserToken) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *ProxyUserToken) HasId() bool

HasId returns a boolean if a field has been set.

GetLabel

func (o *ProxyUserToken) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

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.

SetLabel

func (o *ProxyUserToken) SetLabel(v string)

SetLabel sets Label field to given value.

HasLabel

func (o *ProxyUserToken) HasLabel() bool

HasLabel returns a boolean if a field has been set.

GetScopes

func (o *ProxyUserToken) GetScopes() string

GetScopes returns the Scopes field if non-nil, zero value otherwise.

GetScopesOk

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.

SetScopes

func (o *ProxyUserToken) SetScopes(v string)

SetScopes sets Scopes field to given value.

HasScopes

func (o *ProxyUserToken) HasScopes() bool

HasScopes returns a boolean if a field has been set.

GetToken

func (o *ProxyUserToken) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

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.

SetToken

func (o *ProxyUserToken) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *ProxyUserToken) HasToken() bool

HasToken returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]