Class: Telnyx::Models::Legacy::Reporting::Filter

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/legacy/reporting/filter.rb,
sig/telnyx/models/legacy/reporting/filter.rbs

Defined Under Namespace

Modules: CldFilter, CliFilter, FilterType

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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(billing_group: nil, cld: nil, cld_filter: nil, cli: nil, cli_filter: nil, filter_type: nil, tags_list: nil) ⇒ Object

Query filter criteria. Note: The first filter object must specify filter_type as 'and'. You cannot follow an 'or' with another 'and'.

Parameters:



# File 'lib/telnyx/models/legacy/reporting/filter.rb', line 50


Instance Attribute Details

#billing_groupString?

Billing group UUID to filter by

Parameters:

  • (String)

Returns:

  • (String, nil)


12
# File 'lib/telnyx/models/legacy/reporting/filter.rb', line 12

optional :billing_group, String

#cldString?

Called line identification (destination number)

Parameters:

  • (String)

Returns:

  • (String, nil)


18
# File 'lib/telnyx/models/legacy/reporting/filter.rb', line 18

optional :cld, String

#cld_filterSymbol, ...

Filter type for CLD matching



24
# File 'lib/telnyx/models/legacy/reporting/filter.rb', line 24

optional :cld_filter, enum: -> { Telnyx::Legacy::Reporting::Filter::CldFilter }

#cliString?

Calling line identification (caller ID)

Parameters:

  • (String)

Returns:

  • (String, nil)


30
# File 'lib/telnyx/models/legacy/reporting/filter.rb', line 30

optional :cli, String

#cli_filterSymbol, ...

Filter type for CLI matching



36
# File 'lib/telnyx/models/legacy/reporting/filter.rb', line 36

optional :cli_filter, enum: -> { Telnyx::Legacy::Reporting::Filter::CliFilter }

#filter_typeSymbol, ...

Logical operator for combining filters



42
# File 'lib/telnyx/models/legacy/reporting/filter.rb', line 42

optional :filter_type, enum: -> { Telnyx::Legacy::Reporting::Filter::FilterType }

#tags_listString?

Tag name to filter by

Parameters:

  • (String)

Returns:

  • (String, nil)


48
# File 'lib/telnyx/models/legacy/reporting/filter.rb', line 48

optional :tags_list, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/legacy/reporting/filter.rb', line 78


Instance Method Details

#to_hash{

Returns:

  • ({)


61
# File 'sig/telnyx/models/legacy/reporting/filter.rbs', line 61

def to_hash: -> {