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,
sig/vitable_connect/models/auth_issue_access_token_response.rbs
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#id ⇒ String
Prefixed entity ID the token is bound to (empr* or empl*).
-
#type ⇒ Symbol, VitableConnect::Models::AuthIssueAccessTokenResponse::BoundEntity::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.
- #to_hash ⇒ {
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::AuthIssueAccessTokenResponse::BoundEntity::Type
employer- employeremployee- employee
55 |
# File 'lib/vitable_connect/models/auth_issue_access_token_response.rb', line 55 required :type, enum: -> { VitableConnect::Models::AuthIssueAccessTokenResponse::BoundEntity::Type } |
Instance Method Details
#to_hash ⇒ {
50 |
# File 'sig/vitable_connect/models/auth_issue_access_token_response.rbs', line 50
def to_hash: -> {
|