Class: Telnyx::Models::SubNumberOrderRetrieveParams::Filter

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/sub_number_order_retrieve_params.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(include_phone_numbers: nil) ⇒ Object

Consolidated filter parameter (deepObject style). Originally: filter

Parameters:

  • include_phone_numbers (Boolean) (defaults to: nil)

    Include the first 50 phone number objects in the results



32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/telnyx/models/sub_number_order_retrieve_params.rb', line 32

class Filter < Telnyx::Internal::Type::BaseModel
  # @!attribute include_phone_numbers
  #   Include the first 50 phone number objects in the results
  #
  #   @return [Boolean, nil]
  optional :include_phone_numbers, Telnyx::Internal::Type::Boolean

  # @!method initialize(include_phone_numbers: nil)
  #   Consolidated filter parameter (deepObject style). Originally:
  #   filter[include_phone_numbers]
  #
  #   @param include_phone_numbers [Boolean] Include the first 50 phone number objects in the results
end

Instance Attribute Details

#include_phone_numbersBoolean?

Include the first 50 phone number objects in the results

Returns:

  • (Boolean, nil)


37
# File 'lib/telnyx/models/sub_number_order_retrieve_params.rb', line 37

optional :include_phone_numbers, Telnyx::Internal::Type::Boolean