Class: Orb::Models::PlanVersionPhase
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::PlanVersionPhase
- Defined in:
- lib/orb/models/plan_version_phase.rb
Defined Under Namespace
Modules: DurationUnit
Instance Attribute Summary collapse
- #description ⇒ String?
-
#duration ⇒ Integer?
How many terms of length ‘duration_unit` this phase is active for.
- #duration_unit ⇒ Symbol, ...
- #id ⇒ String
- #name ⇒ String
-
#order ⇒ Integer
Determines the ordering of the phase in a plan’s lifecycle.
Instance Method Summary collapse
-
#initialize(id: , description: , duration: , duration_unit: , name: , order: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see PlanVersionPhase 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: , description: , duration: , duration_unit: , name: , order: ) ⇒ Object
Some parameter documentations has been truncated, see Orb::Models::PlanVersionPhase for more details.
|
|
# File 'lib/orb/models/plan_version_phase.rb', line 39
|
Instance Attribute Details
#description ⇒ String?
14 |
# File 'lib/orb/models/plan_version_phase.rb', line 14 required :description, String, nil?: true |
#duration ⇒ Integer?
How many terms of length ‘duration_unit` this phase is active for. If null, this phase is evergreen and active indefinitely
21 |
# File 'lib/orb/models/plan_version_phase.rb', line 21 required :duration, Integer, nil?: true |
#duration_unit ⇒ Symbol, ...
26 |
# File 'lib/orb/models/plan_version_phase.rb', line 26 required :duration_unit, enum: -> { Orb::PlanVersionPhase::DurationUnit }, nil?: true |
#id ⇒ String
9 |
# File 'lib/orb/models/plan_version_phase.rb', line 9 required :id, String |
#name ⇒ String
31 |
# File 'lib/orb/models/plan_version_phase.rb', line 31 required :name, String |
#order ⇒ Integer
Determines the ordering of the phase in a plan’s lifecycle. 1 = first phase.
37 |
# File 'lib/orb/models/plan_version_phase.rb', line 37 required :order, Integer |