Class: Telnyx::Models::FaxApplicationListParams::Filter

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

Defined Under Namespace

Classes: ApplicationName

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(application_name: nil, outbound_voice_profile_id: nil) ⇒ Object

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

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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'lib/telnyx/models/fax_application_list_params.rb', line 60

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

  # @!attribute outbound_voice_profile_id
  #   Identifies the associated outbound voice profile.
  #
  #   @return [String, nil]
  optional :outbound_voice_profile_id, String

  # @!method initialize(application_name: nil, outbound_voice_profile_id: nil)
  #   Consolidated filter parameter (deepObject style). Originally:
  #   filter[application_name][contains], filter[outbound_voice_profile_id]
  #
  #   @param application_name [Telnyx::Models::FaxApplicationListParams::Filter::ApplicationName] Application name filtering operations
  #
  #   @param outbound_voice_profile_id [String] Identifies the associated outbound voice profile.

  # @see Telnyx::Models::FaxApplicationListParams::Filter#application_name
  class ApplicationName < Telnyx::Internal::Type::BaseModel
    # @!attribute contains
    #   If present, applications with <code>application_name</code> containing the given
    #   value will be returned. Matching is not case-sensitive. Requires at least three
    #   characters.
    #
    #   @return [String, nil]
    optional :contains, String

    # @!method initialize(contains: nil)
    #   Some parameter documentations has been truncated, see
    #   {Telnyx::Models::FaxApplicationListParams::Filter::ApplicationName} for more
    #   details.
    #
    #   Application name filtering operations
    #
    #   @param contains [String] If present, applications with <code>application_name</code> containing the given
  end
end

Instance Attribute Details

#application_nameTelnyx::Models::FaxApplicationListParams::Filter::ApplicationName?

Application name filtering operations



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

optional :application_name, -> { Telnyx::FaxApplicationListParams::Filter::ApplicationName }

#outbound_voice_profile_idString?

Identifies the associated outbound voice profile.

Parameters:

  • (String)

Returns:

  • (String, nil)


71
# File 'lib/telnyx/models/fax_application_list_params.rb', line 71

optional :outbound_voice_profile_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


74
# File 'sig/telnyx/models/fax_application_list_params.rbs', line 74

def to_hash: -> {