Name | Type | Description | Notes |
---|---|---|---|
Type | Pointer to ServiceTokenType | [optional] | |
Href | Pointer to string | An absolute URL that is the subject of the link's context. | [optional] [readonly] |
Uuid | string | Equinix-assigned service token identifier | |
Name | Pointer to string | Customer-provided service token name | [optional] |
Description | Pointer to string | Customer-provided service token description | [optional] |
ExpirationDateTime | Pointer to time.Time | Expiration date and time of the service token. | [optional] |
Connection | Pointer to ServiceTokenConnection | [optional] | |
State | Pointer to ServiceTokenState | [optional] | |
Notifications | Pointer to []SimplifiedNotification | Service token related notifications | [optional] |
Account | Pointer to SimplifiedAccount | [optional] | |
Changelog | Pointer to Changelog | [optional] | |
Project | Pointer to Project | [optional] |
func NewServiceToken(uuid string, ) *ServiceToken
NewServiceToken instantiates a new ServiceToken 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 NewServiceTokenWithDefaults() *ServiceToken
NewServiceTokenWithDefaults instantiates a new ServiceToken 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 *ServiceToken) GetType() ServiceTokenType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ServiceToken) GetTypeOk() (*ServiceTokenType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceToken) SetType(v ServiceTokenType)
SetType sets Type field to given value.
func (o *ServiceToken) HasType() bool
HasType returns a boolean if a field has been set.
func (o *ServiceToken) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
func (o *ServiceToken) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceToken) SetHref(v string)
SetHref sets Href field to given value.
func (o *ServiceToken) HasHref() bool
HasHref returns a boolean if a field has been set.
func (o *ServiceToken) GetUuid() string
GetUuid returns the Uuid field if non-nil, zero value otherwise.
func (o *ServiceToken) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceToken) SetUuid(v string)
SetUuid sets Uuid field to given value.
func (o *ServiceToken) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ServiceToken) 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 *ServiceToken) SetName(v string)
SetName sets Name field to given value.
func (o *ServiceToken) HasName() bool
HasName returns a boolean if a field has been set.
func (o *ServiceToken) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ServiceToken) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceToken) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ServiceToken) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ServiceToken) GetExpirationDateTime() time.Time
GetExpirationDateTime returns the ExpirationDateTime field if non-nil, zero value otherwise.
func (o *ServiceToken) GetExpirationDateTimeOk() (*time.Time, bool)
GetExpirationDateTimeOk returns a tuple with the ExpirationDateTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceToken) SetExpirationDateTime(v time.Time)
SetExpirationDateTime sets ExpirationDateTime field to given value.
func (o *ServiceToken) HasExpirationDateTime() bool
HasExpirationDateTime returns a boolean if a field has been set.
func (o *ServiceToken) GetConnection() ServiceTokenConnection
GetConnection returns the Connection field if non-nil, zero value otherwise.
func (o *ServiceToken) GetConnectionOk() (*ServiceTokenConnection, bool)
GetConnectionOk returns a tuple with the Connection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceToken) SetConnection(v ServiceTokenConnection)
SetConnection sets Connection field to given value.
func (o *ServiceToken) HasConnection() bool
HasConnection returns a boolean if a field has been set.
func (o *ServiceToken) GetState() ServiceTokenState
GetState returns the State field if non-nil, zero value otherwise.
func (o *ServiceToken) GetStateOk() (*ServiceTokenState, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceToken) SetState(v ServiceTokenState)
SetState sets State field to given value.
func (o *ServiceToken) HasState() bool
HasState returns a boolean if a field has been set.
func (o *ServiceToken) GetNotifications() []SimplifiedNotification
GetNotifications returns the Notifications field if non-nil, zero value otherwise.
func (o *ServiceToken) GetNotificationsOk() (*[]SimplifiedNotification, bool)
GetNotificationsOk returns a tuple with the Notifications field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceToken) SetNotifications(v []SimplifiedNotification)
SetNotifications sets Notifications field to given value.
func (o *ServiceToken) HasNotifications() bool
HasNotifications returns a boolean if a field has been set.
func (o *ServiceToken) GetAccount() SimplifiedAccount
GetAccount returns the Account field if non-nil, zero value otherwise.
func (o *ServiceToken) GetAccountOk() (*SimplifiedAccount, bool)
GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceToken) SetAccount(v SimplifiedAccount)
SetAccount sets Account field to given value.
func (o *ServiceToken) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (o *ServiceToken) GetChangelog() Changelog
GetChangelog returns the Changelog field if non-nil, zero value otherwise.
func (o *ServiceToken) GetChangelogOk() (*Changelog, bool)
GetChangelogOk returns a tuple with the Changelog field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceToken) SetChangelog(v Changelog)
SetChangelog sets Changelog field to given value.
func (o *ServiceToken) HasChangelog() bool
HasChangelog returns a boolean if a field has been set.
func (o *ServiceToken) GetProject() Project
GetProject returns the Project field if non-nil, zero value otherwise.
func (o *ServiceToken) GetProjectOk() (*Project, bool)
GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceToken) SetProject(v Project)
SetProject sets Project field to given value.
func (o *ServiceToken) HasProject() bool
HasProject returns a boolean if a field has been set.