Class: VitableConnect::Models::AuthIssueAccessTokenResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/vitable_connect/models/auth_issue_access_token_response.rb

Overview

Defined Under Namespace

Classes: BoundEntity

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(access_token:, expires_in:, token_type:, bound_entity: nil) ⇒ Object

Parameters:



# File 'lib/vitable_connect/models/auth_issue_access_token_response.rb', line 33

Instance Attribute Details

#access_tokenString

The issued access token (vit*at**)

Returns:

  • (String)


11
# File 'lib/vitable_connect/models/auth_issue_access_token_response.rb', line 11

required :access_token, String

#bound_entityVitableConnect::Models::AuthIssueAccessTokenResponse::BoundEntity?

Entity the token is bound to, if any



29
30
31
# File 'lib/vitable_connect/models/auth_issue_access_token_response.rb', line 29

optional :bound_entity,
-> { VitableConnect::Models::AuthIssueAccessTokenResponse::BoundEntity },
nil?: true

#expires_inInteger

Token lifetime in seconds

Returns:

  • (Integer)


17
# File 'lib/vitable_connect/models/auth_issue_access_token_response.rb', line 17

required :expires_in, Integer

#token_typeString

Token type, always ‘Bearer’

Returns:

  • (String)


23
# File 'lib/vitable_connect/models/auth_issue_access_token_response.rb', line 23

required :token_type, String