Class: Telnyx::Models::OutboundVoiceProfileListParams::Filter

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

Defined Under Namespace

Classes: Name

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(name: nil) ⇒ Object

Consolidated filter parameter (deepObject style). Originally: filter[contains]

Parameters:



60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# File 'lib/telnyx/models/outbound_voice_profile_list_params.rb', line 60

class Filter < Telnyx::Internal::Type::BaseModel
  # @!attribute name
  #   Name filtering operations
  #
  #   @return [Telnyx::Models::OutboundVoiceProfileListParams::Filter::Name, nil]
  optional :name, -> { Telnyx::OutboundVoiceProfileListParams::Filter::Name }

  # @!method initialize(name: nil)
  #   Consolidated filter parameter (deepObject style). Originally:
  #   filter[name][contains]
  #
  #   @param name [Telnyx::Models::OutboundVoiceProfileListParams::Filter::Name] Name filtering operations

  # @see Telnyx::Models::OutboundVoiceProfileListParams::Filter#name
  class Name < Telnyx::Internal::Type::BaseModel
    # @!attribute contains
    #   Optional filter on outbound voice profile name.
    #
    #   @return [String, nil]
    optional :contains, String

    # @!method initialize(contains: nil)
    #   Name filtering operations
    #
    #   @param contains [String] Optional filter on outbound voice profile name.
  end
end

Instance Attribute Details

#nameTelnyx::Models::OutboundVoiceProfileListParams::Filter::Name?

Name filtering operations



65
# File 'lib/telnyx/models/outbound_voice_profile_list_params.rb', line 65

optional :name, -> { Telnyx::OutboundVoiceProfileListParams::Filter::Name }

Instance Method Details

#to_hash{

Returns:

  • ({)


66
# File 'sig/telnyx/models/outbound_voice_profile_list_params.rbs', line 66

def to_hash: -> {