Class: MetronomeSDK::Models::ContractV2::HierarchyConfiguration::ParentHierarchyConfiguration
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::ContractV2::HierarchyConfiguration::ParentHierarchyConfiguration
- Defined in:
- lib/metronome_sdk/models/contract_v2.rb
Defined Under Namespace
Classes: Child, ParentBehavior
Instance Attribute Summary collapse
-
#children ⇒ Array<MetronomeSDK::Models::ContractV2::HierarchyConfiguration::ParentHierarchyConfiguration::Child>
List of contracts that belong to this parent.
- #parent_behavior ⇒ MetronomeSDK::Models::ContractV2::HierarchyConfiguration::ParentHierarchyConfiguration::ParentBehavior?
Instance Method Summary collapse
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(contract_id: , customer_id: ) ⇒ Object
|
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 2242
|
Instance Attribute Details
#children ⇒ Array<MetronomeSDK::Models::ContractV2::HierarchyConfiguration::ParentHierarchyConfiguration::Child>
List of contracts that belong to this parent.
2217 2218 |
# File 'lib/metronome_sdk/models/contract_v2.rb', line 2217 required :children, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::ContractV2::HierarchyConfiguration::ParentHierarchyConfiguration::Child] } |
#parent_behavior ⇒ MetronomeSDK::Models::ContractV2::HierarchyConfiguration::ParentHierarchyConfiguration::ParentBehavior?
2223 2224 |
# File 'lib/metronome_sdk/models/contract_v2.rb', line 2223 optional :parent_behavior, -> { MetronomeSDK::ContractV2::HierarchyConfiguration::ParentHierarchyConfiguration::ParentBehavior } |