Class: Orb::Models::MatrixValue
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::MatrixValue
- Defined in:
- lib/orb/models/matrix_value.rb
Instance Attribute Summary collapse
-
#dimension_values ⇒ Array<String, nil>
One or two matrix keys to filter usage to this Matrix value by.
-
#unit_amount ⇒ String
Unit price for the specified dimension_values.
Instance Method Summary collapse
-
#initialize(dimension_values: , unit_amount: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see MatrixValue 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(dimension_values: , unit_amount: ) ⇒ Object
Some parameter documentations has been truncated, see Orb::Models::MatrixValue for more details.
|
|
# File 'lib/orb/models/matrix_value.rb', line 20
|
Instance Attribute Details
#dimension_values ⇒ Array<String, nil>
One or two matrix keys to filter usage to this Matrix value by. For example,
- “region”, “tier”
-
could be used to filter cloud usage by a cloud region and an
instance tier.
12 |
# File 'lib/orb/models/matrix_value.rb', line 12 required :dimension_values, Orb::Internal::Type::ArrayOf[String, nil?: true] |
#unit_amount ⇒ String
Unit price for the specified dimension_values
18 |
# File 'lib/orb/models/matrix_value.rb', line 18 required :unit_amount, String |