Class: Telnyx::Models::TrafficPolicyProfileListParams

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

Overview

Defined Under Namespace

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

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

Parameters:



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

Instance Attribute Details

#filter_serviceString?

Filter by service ID.

Returns:

  • (String, nil)


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

optional :filter_service, String

#filter_typeSymbol, ...

Filter by traffic policy profile type.



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

optional :filter_type, enum: -> { Telnyx::TrafficPolicyProfileListParams::FilterType }

#page_numberInteger?

The page number to load.

Returns:

  • (Integer, nil)


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

optional :page_number, Integer

#page_sizeInteger?

The size of the page.

Returns:

  • (Integer, nil)


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

optional :page_size, Integer

#sortSymbol, ...

Sorts traffic policy profiles by the given field. Defaults to ascending order unless field is prefixed with a minus sign.



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

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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