Class: Telnyx::Models::EmailMessages::RecipientListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/telnyx/models/email_messages/recipient_list_params.rb,
sig/telnyx/models/email_messages/recipient_list_params.rbs

Overview

See Also:

  • Telnyx::Resources::EmailMessages::Recipients#list

Defined Under Namespace

Modules: Kind, Status

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(email_id:, kind: nil, page_cursor: nil, page_size: nil, status: nil, request_options: {}) ⇒ Object

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

Parameters:



# File 'lib/telnyx/models/email_messages/recipient_list_params.rb', line 41

Instance Attribute Details

#email_idString

Parameters:

  • value (String)

Returns:

  • (String)


14
# File 'lib/telnyx/models/email_messages/recipient_list_params.rb', line 14

required :email_id, String

#kindSymbol, ...

Filter recipients by address kind.



20
# File 'lib/telnyx/models/email_messages/recipient_list_params.rb', line 20

optional :kind, enum: -> { Telnyx::EmailMessages::RecipientListParams::Kind }

#page_cursorString?

Opaque URL-safe Base64 cursor returned by a previous list response.

Parameters:

  • (String)

Returns:

  • (String, nil)


26
# File 'lib/telnyx/models/email_messages/recipient_list_params.rb', line 26

optional :page_cursor, String

#page_sizeInteger?

Number of results to return. Defaults to 25; maximum is 100. Invalid values are clamped to the valid range.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


33
# File 'lib/telnyx/models/email_messages/recipient_list_params.rb', line 33

optional :page_size, Integer

#statusSymbol, ...

Filter recipients by status.



39
# File 'lib/telnyx/models/email_messages/recipient_list_params.rb', line 39

optional :status, enum: -> { Telnyx::EmailMessages::RecipientListParams::Status }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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

Instance Method Details

#to_hash{

Returns:

  • ({)


49
# File 'sig/telnyx/models/email_messages/recipient_list_params.rbs', line 49

def to_hash: -> {