| Name | Type | Description | Notes |
|---|---|---|---|
| Active | bool | Whether the token is currently active and usable. | |
| Scope | string | A space-separated list of scopes associated with this token | |
| ClientId | string | The app ID of the OAuth application that requested this token | |
| TokenType | string | The type of token, always Bearer for tokens acquired via the OAuth 2.0 flow. | |
| Exp | float32 | The time at which this token will expire, if set, as a number of seconds since January 1 1970 UTC. | |
| Iat | float32 | The time at which this token was issued, as a number of seconds since January 1 1970 UTC. | |
| Sub | string | Since Bearer tokens grant Workspace-level permissions, this property contains the workspace_id. | |
| Aud | string | The intended audience for this token, for Bearer tokens this is the same as the client_id. | |
| Iss | string | The issuer of the token. Always attio.com | |
| AuthorizedByWorkspaceMemberId | string | The ID of the workspace member who authorised this token initially. | |
| WorkspaceId | string | The ID of the workspace the token is scoped to. | |
| WorkspaceName | string | The name of the workspace the token is scoped to. | |
| WorkspaceSlug | string | The slug of the workspace the token is scoped to. | |
| WorkspaceLogoUrl | string | The logo URL of the workspace the token is scoped to. |
func NewV2SelfGet200Response(active bool, scope string, clientId string, tokenType string, exp float32, iat float32, sub string, aud string, iss string, authorizedByWorkspaceMemberId string, workspaceId string, workspaceName string, workspaceSlug string, workspaceLogoUrl string, ) *V2SelfGet200Response
NewV2SelfGet200Response instantiates a new V2SelfGet200Response 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 NewV2SelfGet200ResponseWithDefaults() *V2SelfGet200Response
NewV2SelfGet200ResponseWithDefaults instantiates a new V2SelfGet200Response 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 *V2SelfGet200Response) GetActive() bool
GetActive returns the Active field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetActive(v bool)
SetActive sets Active field to given value.
func (o *V2SelfGet200Response) GetScope() string
GetScope returns the Scope field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) 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 *V2SelfGet200Response) SetScope(v string)
SetScope sets Scope field to given value.
func (o *V2SelfGet200Response) GetClientId() string
GetClientId returns the ClientId field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetClientId(v string)
SetClientId sets ClientId field to given value.
func (o *V2SelfGet200Response) GetTokenType() string
GetTokenType returns the TokenType field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetTokenTypeOk() (*string, bool)
GetTokenTypeOk returns a tuple with the TokenType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetTokenType(v string)
SetTokenType sets TokenType field to given value.
func (o *V2SelfGet200Response) GetExp() float32
GetExp returns the Exp field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetExpOk() (*float32, bool)
GetExpOk returns a tuple with the Exp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetExp(v float32)
SetExp sets Exp field to given value.
func (o *V2SelfGet200Response) GetIat() float32
GetIat returns the Iat field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetIatOk() (*float32, bool)
GetIatOk returns a tuple with the Iat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetIat(v float32)
SetIat sets Iat field to given value.
func (o *V2SelfGet200Response) GetSub() string
GetSub returns the Sub field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetSubOk() (*string, bool)
GetSubOk returns a tuple with the Sub field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetSub(v string)
SetSub sets Sub field to given value.
func (o *V2SelfGet200Response) GetAud() string
GetAud returns the Aud field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetAudOk() (*string, bool)
GetAudOk returns a tuple with the Aud field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetAud(v string)
SetAud sets Aud field to given value.
func (o *V2SelfGet200Response) GetIss() string
GetIss returns the Iss field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetIssOk() (*string, bool)
GetIssOk returns a tuple with the Iss field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetIss(v string)
SetIss sets Iss field to given value.
func (o *V2SelfGet200Response) GetAuthorizedByWorkspaceMemberId() string
GetAuthorizedByWorkspaceMemberId returns the AuthorizedByWorkspaceMemberId field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetAuthorizedByWorkspaceMemberIdOk() (*string, bool)
GetAuthorizedByWorkspaceMemberIdOk returns a tuple with the AuthorizedByWorkspaceMemberId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetAuthorizedByWorkspaceMemberId(v string)
SetAuthorizedByWorkspaceMemberId sets AuthorizedByWorkspaceMemberId field to given value.
func (o *V2SelfGet200Response) GetWorkspaceId() string
GetWorkspaceId returns the WorkspaceId field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetWorkspaceIdOk() (*string, bool)
GetWorkspaceIdOk returns a tuple with the WorkspaceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetWorkspaceId(v string)
SetWorkspaceId sets WorkspaceId field to given value.
func (o *V2SelfGet200Response) GetWorkspaceName() string
GetWorkspaceName returns the WorkspaceName field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetWorkspaceNameOk() (*string, bool)
GetWorkspaceNameOk returns a tuple with the WorkspaceName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetWorkspaceName(v string)
SetWorkspaceName sets WorkspaceName field to given value.
func (o *V2SelfGet200Response) GetWorkspaceSlug() string
GetWorkspaceSlug returns the WorkspaceSlug field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetWorkspaceSlugOk() (*string, bool)
GetWorkspaceSlugOk returns a tuple with the WorkspaceSlug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetWorkspaceSlug(v string)
SetWorkspaceSlug sets WorkspaceSlug field to given value.
func (o *V2SelfGet200Response) GetWorkspaceLogoUrl() string
GetWorkspaceLogoUrl returns the WorkspaceLogoUrl field if non-nil, zero value otherwise.
func (o *V2SelfGet200Response) GetWorkspaceLogoUrlOk() (*string, bool)
GetWorkspaceLogoUrlOk returns a tuple with the WorkspaceLogoUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2SelfGet200Response) SetWorkspaceLogoUrl(v string)
SetWorkspaceLogoUrl sets WorkspaceLogoUrl field to given value.