Class: Telnyx::Models::EmailBlockRetrieveExportParams

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

Overview

See Also:

  • Telnyx::Resources::EmailBlocks#retrieve_export

Defined Under Namespace

Modules: FilterReason, Sort

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(filter_created_after: nil, filter_created_before: nil, filter_domain_id: nil, filter_reason: nil, page_number: nil, page_size: nil, sort: nil, request_options: {}) ⇒ Object

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

Parameters:

  • filter_created_after (Time) (defaults to: nil)

    created_at > value (ISO 8601).

  • filter_created_before (Time) (defaults to: nil)

    created_at < value (ISO 8601).

  • filter_domain_id (String) (defaults to: nil)

    Exact-match filter on domain_id (UUID).

  • filter_reason (Symbol, Telnyx::Models::EmailBlockRetrieveExportParams::FilterReason) (defaults to: nil)

    Exact-match filter on reason.

  • page_number (Integer) (defaults to: nil)

    Offset page number (≥1, default 1).

  • page_size (Integer) (defaults to: nil)

    Page size (1–100, default 25).

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

    Sort field. Leading - = desc; only created_at is sortable. Default `-created

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


# File 'lib/telnyx/models/email_block_retrieve_export_params.rb', line 53

Instance Attribute Details

#filter_created_afterTime?

created_at > value (ISO 8601).

Parameters:

  • (Time)

Returns:

  • (Time, nil)


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

optional :filter_created_after, Time

#filter_created_beforeTime?

created_at < value (ISO 8601).

Parameters:

  • (Time)

Returns:

  • (Time, nil)


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

optional :filter_created_before, Time

#filter_domain_idString?

Exact-match filter on domain_id (UUID).

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :filter_domain_id, String

#filter_reasonSymbol, ...

Exact-match filter on reason.



32
# File 'lib/telnyx/models/email_block_retrieve_export_params.rb', line 32

optional :filter_reason, enum: -> { Telnyx::EmailBlockRetrieveExportParams::FilterReason }

#page_numberInteger?

Offset page number (≥1, default 1).

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :page_number, Integer

#page_sizeInteger?

Page size (1–100, default 25).

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


44
# File 'lib/telnyx/models/email_block_retrieve_export_params.rb', line 44

optional :page_size, Integer

#sortSymbol, ...

Sort field. Leading - = desc; only created_at is sortable. Default -created_at. -- is an error.



51
# File 'lib/telnyx/models/email_block_retrieve_export_params.rb', line 51

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/email_block_retrieve_export_params.rb', line 83

Instance Method Details

#to_hash{

Returns:

  • ({)


62
# File 'sig/telnyx/models/email_block_retrieve_export_params.rbs', line 62

def to_hash: -> {