Class: Telnyx::Models::ChargesBreakdownRetrieveResponse::Data::Result::Service
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::ChargesBreakdownRetrieveResponse::Data::Result::Service
- Defined in:
- lib/telnyx/models/charges_breakdown_retrieve_response.rb
Instance Attribute Summary collapse
-
#cost ⇒ String
Cost per unit as decimal string.
-
#cost_type ⇒ String
Type of cost (MRC or OTC).
-
#name ⇒ String
Service name.
Instance Method Summary collapse
- #initialize(cost:, cost_type:, name:) ⇒ Object constructor
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(cost:, cost_type:, name:) ⇒ Object
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/telnyx/models/charges_breakdown_retrieve_response.rb', line 110 class Service < Telnyx::Internal::Type::BaseModel # @!attribute cost # Cost per unit as decimal string # # @return [String] required :cost, String # @!attribute cost_type # Type of cost (MRC or OTC) # # @return [String] required :cost_type, String # @!attribute name # Service name # # @return [String] required :name, String # @!method initialize(cost:, cost_type:, name:) # @param cost [String] Cost per unit as decimal string # # @param cost_type [String] Type of cost (MRC or OTC) # # @param name [String] Service name end |
Instance Attribute Details
#cost ⇒ String
Cost per unit as decimal string
115 |
# File 'lib/telnyx/models/charges_breakdown_retrieve_response.rb', line 115 required :cost, String |
#cost_type ⇒ String
Type of cost (MRC or OTC)
121 |
# File 'lib/telnyx/models/charges_breakdown_retrieve_response.rb', line 121 required :cost_type, String |
#name ⇒ String
Service name
127 |
# File 'lib/telnyx/models/charges_breakdown_retrieve_response.rb', line 127 required :name, String |