Class: Telnyx::Models::Pricing::ProductListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Pricing::ProductListResponse
- Defined in:
- lib/telnyx/models/pricing/product_list_response.rb,
sig/telnyx/models/pricing/product_list_response.rbs
Overview
Instance Attribute Summary collapse
-
#description ⇒ String
Human-readable description of the product.
-
#name ⇒ String
Display name of the product.
-
#slug ⇒ String
Product identifier used in the per-product pricing endpoint.
Instance Method Summary collapse
- #initialize(description:, name:, slug:) ⇒ Object constructor
- #to_hash ⇒ { description: String, name: String, slug: String }
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(description:, name:, slug:) ⇒ Object
|
|
# File 'lib/telnyx/models/pricing/product_list_response.rb', line 26
|
Instance Attribute Details
#description ⇒ String
Human-readable description of the product.
12 |
# File 'lib/telnyx/models/pricing/product_list_response.rb', line 12 required :description, String |
#name ⇒ String
Display name of the product.
18 |
# File 'lib/telnyx/models/pricing/product_list_response.rb', line 18 required :name, String |
#slug ⇒ String
Product identifier used in the per-product pricing endpoint.
24 |
# File 'lib/telnyx/models/pricing/product_list_response.rb', line 24 required :slug, String |
Instance Method Details
#to_hash ⇒ { description: String, name: String, slug: String }
20 |
# File 'sig/telnyx/models/pricing/product_list_response.rbs', line 20
def to_hash: -> { description: String, name: String, slug: String }
|