Class: Telnyx::Models::BundlePricing::UserBundleDeactivateResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/bundle_pricing/user_bundle_deactivate_response.rb,
sig/telnyx/models/bundle_pricing/user_bundle_deactivate_response.rbs

Overview

See Also:

  • Telnyx::Resources::BundlePricing::UserBundles#deactivate

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(data:) ⇒ UserBundleDeactivateResponse

Returns a new instance of UserBundleDeactivateResponse.

Parameters:



# File 'lib/telnyx/models/bundle_pricing/user_bundle_deactivate_response.rb', line 13

Instance Attribute Details

#dataTelnyx::Models::BundlePricing::UserBundle

Parameters:

  • value (Telnyx::BundlePricing::UserBundle)

Returns:



11
# File 'lib/telnyx/models/bundle_pricing/user_bundle_deactivate_response.rb', line 11

required :data, -> { Telnyx::BundlePricing::UserBundle }

Instance Method Details

#to_hash{ data: Telnyx::BundlePricing::UserBundle }

Returns:

  • ({ data: Telnyx::BundlePricing::UserBundle })


12
# File 'sig/telnyx/models/bundle_pricing/user_bundle_deactivate_response.rbs', line 12

def to_hash: -> { data: Telnyx::BundlePricing::UserBundle }