Class: Telnyx::Models::VoiceDesignListParams

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

Overview

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_name: nil, page_number: nil, page_size: nil, sort: nil, request_options: {}) ⇒ Object

Parameters:

  • filter_name (String) (defaults to: nil)

    Case-insensitive substring filter on the name field.

  • page_number (Integer) (defaults to: nil)

    Page number for pagination (1-based).

  • page_size (Integer) (defaults to: nil)

    Number of results per page.

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

    Sort order. Prefix with ‘-` for descending. Defaults to `-created_at`.

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


# File 'lib/telnyx/models/voice_design_list_params.rb', line 34

Instance Attribute Details

#filter_nameString?

Case-insensitive substring filter on the name field.

Returns:

  • (String, nil)


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

optional :filter_name, String

#page_numberInteger?

Page number for pagination (1-based).

Returns:

  • (Integer, nil)


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

optional :page_number, Integer

#page_sizeInteger?

Number of results per page.

Returns:

  • (Integer, nil)


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

optional :page_size, Integer

#sortSymbol, ...

Sort order. Prefix with ‘-` for descending. Defaults to `-created_at`.



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

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