Class: Telnyx::Models::EmailDomainListParams

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

Overview

See Also:

  • Telnyx::Resources::EmailDomains#list

Defined Under Namespace

Modules: Sort

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

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(filter_domain: nil, filter_profile_id: nil, filter_status: nil, filter_type: nil, filter_usable_for_inbound: nil, filter_usable_for_sending: nil, page_after: nil, page_before: nil, page_number: nil, page_size: nil, sort: nil, request_options: {}) ⇒ Object

Parameters:

  • filter_domain (String) (defaults to: nil)

    Partial match on domain name (case-insensitive)

  • filter_profile_id (String) (defaults to: nil)

    Filter by profile UUID

  • filter_status (Symbol, Telnyx::Models::EmailDomainStatus) (defaults to: nil)
  • filter_type (Symbol, Telnyx::Models::EmailDomainType) (defaults to: nil)
  • filter_usable_for_inbound (Boolean) (defaults to: nil)
  • filter_usable_for_sending (Boolean) (defaults to: nil)
  • page_after (String) (defaults to: nil)

    Cursor for records after the provided value (cursor pagination)

  • page_before (String) (defaults to: nil)

    Cursor for records before the provided value (cursor pagination)

  • page_number (Integer) (defaults to: nil)

    Page number to return (offset pagination)

  • page_size (Integer) (defaults to: nil)

    Number of records per page

  • sort (Symbol, Telnyx::Models::EmailDomainListParams::Sort) (defaults to: nil)

    Field to sort by. Prefix with - for descending order.

  • request_options (Telnyx::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/telnyx/models/email_domain_list_params.rb', line 72

Instance Attribute Details

#filter_domainString?

Partial match on domain name (case-insensitive)

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :filter_domain, String

#filter_profile_idString?

Filter by profile UUID

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :filter_profile_id, String

#filter_statusSymbol, ...

Returns:



25
# File 'lib/telnyx/models/email_domain_list_params.rb', line 25

optional :filter_status, enum: -> { Telnyx::EmailDomainStatus }

#filter_typeSymbol, ...

Returns:



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

optional :filter_type, enum: -> { Telnyx::EmailDomainType }

#filter_usable_for_inboundBoolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


35
# File 'lib/telnyx/models/email_domain_list_params.rb', line 35

optional :filter_usable_for_inbound, Telnyx::Internal::Type::Boolean

#filter_usable_for_sendingBoolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


40
# File 'lib/telnyx/models/email_domain_list_params.rb', line 40

optional :filter_usable_for_sending, Telnyx::Internal::Type::Boolean

#page_afterString?

Cursor for records after the provided value (cursor pagination)

Parameters:

  • (String)

Returns:

  • (String, nil)


46
# File 'lib/telnyx/models/email_domain_list_params.rb', line 46

optional :page_after, String

#page_beforeString?

Cursor for records before the provided value (cursor pagination)

Parameters:

  • (String)

Returns:

  • (String, nil)


52
# File 'lib/telnyx/models/email_domain_list_params.rb', line 52

optional :page_before, String

#page_numberInteger?

Page number to return (offset pagination)

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


58
# File 'lib/telnyx/models/email_domain_list_params.rb', line 58

optional :page_number, Integer

#page_sizeInteger?

Number of records per page

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


64
# File 'lib/telnyx/models/email_domain_list_params.rb', line 64

optional :page_size, Integer

#sortSymbol, ...

Field to sort by. Prefix with - for descending order.



70
# File 'lib/telnyx/models/email_domain_list_params.rb', line 70

optional :sort, enum: -> { Telnyx::EmailDomainListParams::Sort }

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {