Class: Telnyx::Models::MessagingOptoutListResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/messaging_optout_list_response.rb

Overview

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(created_at: nil, from: nil, keyword: nil, messaging_profile_id: nil, to: nil) ⇒ Object

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

Parameters:

  • created_at (Time) (defaults to: nil)

    The timestamp when the opt-out was created

  • from (String) (defaults to: nil)

    Sending address (+E.164 formatted phone number, alphanumeric sender ID, or short

  • keyword (String, nil) (defaults to: nil)

    The keyword that triggered the opt-out.

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

    Unique identifier for a messaging profile.

  • to (String) (defaults to: nil)

    Receiving address (+E.164 formatted phone number or short code).



# File 'lib/telnyx/models/messaging_optout_list_response.rb', line 38

Instance Attribute Details

#created_atTime?

The timestamp when the opt-out was created

Returns:

  • (Time, nil)


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

optional :created_at, Time

#fromString?

Sending address (+E.164 formatted phone number, alphanumeric sender ID, or short code).

Returns:

  • (String, nil)


18
# File 'lib/telnyx/models/messaging_optout_list_response.rb', line 18

optional :from, String

#keywordString?

The keyword that triggered the opt-out.

Returns:

  • (String, nil)


24
# File 'lib/telnyx/models/messaging_optout_list_response.rb', line 24

optional :keyword, String, nil?: true

#messaging_profile_idString?

Unique identifier for a messaging profile.

Returns:

  • (String, nil)


30
# File 'lib/telnyx/models/messaging_optout_list_response.rb', line 30

optional :messaging_profile_id, String, nil?: true

#toString?

Receiving address (+E.164 formatted phone number or short code).

Returns:

  • (String, nil)


36
# File 'lib/telnyx/models/messaging_optout_list_response.rb', line 36

optional :to, String