Class: VitableConnect::Models::AuthIssueAccessTokenParams::BoundEntity
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- VitableConnect::Models::AuthIssueAccessTokenParams::BoundEntity
- Defined in:
- lib/vitable_connect/models/auth_issue_access_token_params.rb
Instance Attribute Summary collapse
-
#id ⇒ String
Prefixed entity ID to bind the token to (empr** for employer, empl** for employee).
-
#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::AuthIssueAccessTokenParams::BoundEntity for more details.
Optional entity to bind the token to for scoped access
employe
|
|
# File 'lib/vitable_connect/models/auth_issue_access_token_params.rb', line 54
|
Instance Attribute Details
#id ⇒ String
Prefixed entity ID to bind the token to (empr** for employer, empl** for employee)
45 |
# File 'lib/vitable_connect/models/auth_issue_access_token_params.rb', line 45 required :id, String |
#type ⇒ Symbol, VitableConnect::Models::Type
-
‘employer` - employer
-
‘employee` - employee
52 |
# File 'lib/vitable_connect/models/auth_issue_access_token_params.rb', line 52 required :type, enum: -> { VitableConnect::Type } |