Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | The name of the token. | [optional] |
Role | Pointer to string | [optional] | |
Services | Pointer to []string | (Optional) The service IDs of the services the token will have access to. Separate service IDs with a space. If no services are specified, the token will have access to all services on the account. | [optional] |
Scope | Pointer to string | A space-delimited list of authorization scope. | [optional] [default to "global"] |
ExpiresAt | Pointer to string | (optional) A UTC time-stamp of when the token will expire. | [optional] |
CreatedAt | Pointer to string | A UTC time-stamp of when the token was created. | [optional] |
DeletedAt | Pointer to NullableTime | Date and time in ISO 8601 format. | [optional] [readonly] |
UpdatedAt | Pointer to NullableTime | Date and time in ISO 8601 format. | [optional] [readonly] |
ID | Pointer to ReadOnlyID | [optional] | |
CustomerID | Pointer to ReadOnlyCustomerID | [optional] | |
IP | Pointer to string | The IP address of the client that last used the token. | [optional] |
UserAgent | Pointer to string | The User-Agent header of the client that last used the token. | [optional] |
SudoExpiresAt | Pointer to string | [optional] [readonly] | |
LastUsedAt | Pointer to time.Time | A UTC time-stamp of when the token was last used. | [optional] [readonly] |
func NewAutomationTokenResponse() *AutomationTokenResponse
NewAutomationTokenResponse instantiates a new AutomationTokenResponse 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 NewAutomationTokenResponseWithDefaults() *AutomationTokenResponse
NewAutomationTokenResponseWithDefaults instantiates a new AutomationTokenResponse 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 *AutomationTokenResponse) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) 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.
func (o *AutomationTokenResponse) SetName(v string)
SetName sets Name field to given value.
func (o *AutomationTokenResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (o *AutomationTokenResponse) GetRole() string
GetRole returns the Role field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) 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 *AutomationTokenResponse) SetRole(v string)
SetRole sets Role field to given value.
func (o *AutomationTokenResponse) HasRole() bool
HasRole returns a boolean if a field has been set.
func (o *AutomationTokenResponse) GetServices() []string
GetServices returns the Services field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) GetServicesOk() (*[]string, bool)
GetServicesOk returns a tuple with the Services field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutomationTokenResponse) SetServices(v []string)
SetServices sets Services field to given value.
func (o *AutomationTokenResponse) HasServices() bool
HasServices returns a boolean if a field has been set.
func (o *AutomationTokenResponse) GetScope() string
GetScope returns the Scope field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) 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.
func (o *AutomationTokenResponse) SetScope(v string)
SetScope sets Scope field to given value.
func (o *AutomationTokenResponse) HasScope() bool
HasScope returns a boolean if a field has been set.
func (o *AutomationTokenResponse) GetExpiresAt() string
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) GetExpiresAtOk() (*string, 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.
func (o *AutomationTokenResponse) SetExpiresAt(v string)
SetExpiresAt sets ExpiresAt field to given value.
func (o *AutomationTokenResponse) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (o *AutomationTokenResponse) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) GetCreatedAtOk() (*string, 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.
func (o *AutomationTokenResponse) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
func (o *AutomationTokenResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *AutomationTokenResponse) GetDeletedAt() time.Time
GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) GetDeletedAtOk() (*time.Time, bool)
GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutomationTokenResponse) SetDeletedAt(v time.Time)
SetDeletedAt sets DeletedAt field to given value.
func (o *AutomationTokenResponse) HasDeletedAt() bool
HasDeletedAt returns a boolean if a field has been set.
func (o *AutomationTokenResponse) SetDeletedAtNil(b bool)
SetDeletedAtNil sets the value for DeletedAt to be an explicit nil
func (o *AutomationTokenResponse) UnsetDeletedAt()
UnsetDeletedAt ensures that no value is present for DeletedAt, not even an explicit nil
func (o *AutomationTokenResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) 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.
func (o *AutomationTokenResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *AutomationTokenResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *AutomationTokenResponse) SetUpdatedAtNil(b bool)
SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil
func (o *AutomationTokenResponse) UnsetUpdatedAt()
UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil
func (o *AutomationTokenResponse) GetID() ReadOnlyID
GetID returns the ID field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) GetIDOk() (*ReadOnlyID, 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 *AutomationTokenResponse) SetID(v ReadOnlyID)
SetID sets ID field to given value.
func (o *AutomationTokenResponse) HasID() bool
HasID returns a boolean if a field has been set.
func (o *AutomationTokenResponse) GetCustomerID() ReadOnlyCustomerID
GetCustomerID returns the CustomerID field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) GetCustomerIDOk() (*ReadOnlyCustomerID, bool)
GetCustomerIDOk returns a tuple with the CustomerID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutomationTokenResponse) SetCustomerID(v ReadOnlyCustomerID)
SetCustomerID sets CustomerID field to given value.
func (o *AutomationTokenResponse) HasCustomerID() bool
HasCustomerID returns a boolean if a field has been set.
func (o *AutomationTokenResponse) GetIP() string
GetIP returns the IP field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) GetIPOk() (*string, bool)
GetIPOk returns a tuple with the IP field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutomationTokenResponse) SetIP(v string)
SetIP sets IP field to given value.
func (o *AutomationTokenResponse) HasIP() bool
HasIP returns a boolean if a field has been set.
func (o *AutomationTokenResponse) GetUserAgent() string
GetUserAgent returns the UserAgent field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) GetUserAgentOk() (*string, bool)
GetUserAgentOk returns a tuple with the UserAgent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutomationTokenResponse) SetUserAgent(v string)
SetUserAgent sets UserAgent field to given value.
func (o *AutomationTokenResponse) HasUserAgent() bool
HasUserAgent returns a boolean if a field has been set.
func (o *AutomationTokenResponse) GetSudoExpiresAt() string
GetSudoExpiresAt returns the SudoExpiresAt field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) GetSudoExpiresAtOk() (*string, bool)
GetSudoExpiresAtOk returns a tuple with the SudoExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutomationTokenResponse) SetSudoExpiresAt(v string)
SetSudoExpiresAt sets SudoExpiresAt field to given value.
func (o *AutomationTokenResponse) HasSudoExpiresAt() bool
HasSudoExpiresAt returns a boolean if a field has been set.
func (o *AutomationTokenResponse) GetLastUsedAt() time.Time
GetLastUsedAt returns the LastUsedAt field if non-nil, zero value otherwise.
func (o *AutomationTokenResponse) 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.
func (o *AutomationTokenResponse) SetLastUsedAt(v time.Time)
SetLastUsedAt sets LastUsedAt field to given value.
func (o *AutomationTokenResponse) HasLastUsedAt() bool
HasLastUsedAt returns a boolean if a field has been set.