Class: Telnyx::Models::BundlePricing::UserBundleListUnusedResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/bundle_pricing/user_bundle_list_unused_response.rb

Instance Attribute Summary collapse

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(billing_bundle:, user_bundle_ids:) ⇒ Object

Parameters:



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/telnyx/models/bundle_pricing/user_bundle_list_unused_response.rb', line 17

class Data < Telnyx::Internal::Type::BaseModel
  # @!attribute billing_bundle
  #
  #   @return [Telnyx::Models::BundlePricing::BillingBundleSummary]
  required :billing_bundle, -> { Telnyx::BundlePricing::BillingBundleSummary }

  # @!attribute user_bundle_ids
  #   List of user bundle IDs for given bundle.
  #
  #   @return [Array<String>]
  required :user_bundle_ids, Telnyx::Internal::Type::ArrayOf[String]

  # @!method initialize(billing_bundle:, user_bundle_ids:)
  #   @param billing_bundle [Telnyx::Models::BundlePricing::BillingBundleSummary]
  #
  #   @param user_bundle_ids [Array<String>] List of user bundle IDs for given bundle.
end

Instance Attribute Details

#billing_bundleTelnyx::Models::BundlePricing::BillingBundleSummary



21
# File 'lib/telnyx/models/bundle_pricing/user_bundle_list_unused_response.rb', line 21

required :billing_bundle, -> { Telnyx::BundlePricing::BillingBundleSummary }

#user_bundle_idsArray<String>

List of user bundle IDs for given bundle.

Returns:

  • (Array<String>)


27
# File 'lib/telnyx/models/bundle_pricing/user_bundle_list_unused_response.rb', line 27

required :user_bundle_ids, Telnyx::Internal::Type::ArrayOf[String]