Class: Stigg::Models::V1::PlanListResponse::Entitlement
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::PlanListResponse::Entitlement
- Defined in:
- lib/stigg/models/v1/plan_list_response.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#id ⇒ String
The unique identifier for the entity.
- #type ⇒ Symbol, Stigg::Models::V1::PlanListResponse::Entitlement::Type
Instance Method Summary collapse
-
#initialize(id:, type:) ⇒ Object
constructor
Entitlement reference with type and identifier.
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
Entitlement reference with type and identifier
|
|
# File 'lib/stigg/models/v1/plan_list_response.rb', line 249
|
Instance Attribute Details
#id ⇒ String
The unique identifier for the entity
242 |
# File 'lib/stigg/models/v1/plan_list_response.rb', line 242 required :id, String |
#type ⇒ Symbol, Stigg::Models::V1::PlanListResponse::Entitlement::Type
247 |
# File 'lib/stigg/models/v1/plan_list_response.rb', line 247 required :type, enum: -> { Stigg::Models::V1::PlanListResponse::Entitlement::Type } |