Class: VitableConnect::Models::AuthIssueAccessTokenResponse::BoundEntity
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- VitableConnect::Models::AuthIssueAccessTokenResponse::BoundEntity
- Defined in:
- lib/vitable_connect/models/auth_issue_access_token_response.rb
Overview
Instance Attribute Summary collapse
-
#id ⇒ String
Prefixed entity ID the token is bound to (empr** or empl**).
-
#type ⇒ Symbol, VitableConnect::Models::Type
-
‘employer` - employer - `employee` - employee.
-
Instance Method Summary collapse
-
#initialize(id:, type:) ⇒ Object
constructor
Some parameter documentations has been truncated, see BoundEntity for more details.
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(id:, type:) ⇒ Object
Some parameter documentations has been truncated, see VitableConnect::Models::AuthIssueAccessTokenResponse::BoundEntity for more details.
Entity the token is bound to, if any
|
|
# File 'lib/vitable_connect/models/auth_issue_access_token_response.rb', line 57
|
Instance Attribute Details
#id ⇒ String
Prefixed entity ID the token is bound to (empr** or empl**)
48 |
# File 'lib/vitable_connect/models/auth_issue_access_token_response.rb', line 48 required :id, String |
#type ⇒ Symbol, VitableConnect::Models::Type
-
‘employer` - employer
-
‘employee` - employee
55 |
# File 'lib/vitable_connect/models/auth_issue_access_token_response.rb', line 55 required :type, enum: -> { VitableConnect::Type } |