Class: Telnyx::Models::MessagingOptoutListParams::Filter

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

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(from: nil, messaging_profile_id: nil) ⇒ Filter

Some parameter documentations has been truncated, see Telnyx::Models::MessagingOptoutListParams::Filter for more details.

Consolidated filter parameter (deepObject style). Originally: filter, filter

Parameters:

  • from (String) (defaults to: nil)

    The sending address (+E.164 formatted phone number, alphanumeric sender ID, or s

  • messaging_profile_id (String) (defaults to: nil)

    The ID of the messaging profile to retrieve opt-outs for

  • from: (String) (defaults to: nil)
  • messaging_profile_id: (String) (defaults to: nil)


# File 'lib/telnyx/models/messaging_optout_list_params.rb', line 92

Instance Attribute Details

#fromString?

The sending address (+E.164 formatted phone number, alphanumeric sender ID, or short code) to retrieve opt-outs for

Parameters:

  • (String)

Returns:

  • (String, nil)


84
# File 'lib/telnyx/models/messaging_optout_list_params.rb', line 84

optional :from, String

#messaging_profile_idString?

The ID of the messaging profile to retrieve opt-outs for

Parameters:

  • (String)

Returns:

  • (String, nil)


90
# File 'lib/telnyx/models/messaging_optout_list_params.rb', line 90

optional :messaging_profile_id, String

Instance Method Details

#to_hash{ from: String, messaging_profile_id: String }

Returns:

  • ({ from: String, messaging_profile_id: String })


88
# File 'sig/telnyx/models/messaging_optout_list_params.rbs', line 88

def to_hash: -> { from: String, messaging_profile_id: String }