Class: Telnyx::Models::Legacy::Reporting::UsageReports::NumberLookupCreateParams

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

Overview

Defined Under Namespace

Modules: AggregationType

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(aggregation_type: nil, end_date: nil, managed_accounts: nil, start_date: nil, request_options: {}) ⇒ Object

Parameters:



# File 'lib/telnyx/models/legacy/reporting/usage_reports/number_lookup_create_params.rb', line 41

Instance Attribute Details

#aggregation_typeSymbol, ...

Type of aggregation for the report



17
18
19
20
21
# File 'lib/telnyx/models/legacy/reporting/usage_reports/number_lookup_create_params.rb', line 17

optional :aggregation_type,
enum: -> {
  Telnyx::Legacy::Reporting::UsageReports::NumberLookupCreateParams::AggregationType
},
api_name: :aggregationType

#end_dateDate?

End date for the usage report

Returns:

  • (Date, nil)


27
# File 'lib/telnyx/models/legacy/reporting/usage_reports/number_lookup_create_params.rb', line 27

optional :end_date, Date, api_name: :endDate

#managed_accountsArray<String>?

List of managed accounts to include in the report

Returns:

  • (Array<String>, nil)


33
# File 'lib/telnyx/models/legacy/reporting/usage_reports/number_lookup_create_params.rb', line 33

optional :managed_accounts, Telnyx::Internal::Type::ArrayOf[String], api_name: :managedAccounts

#start_dateDate?

Start date for the usage report

Returns:

  • (Date, nil)


39
# File 'lib/telnyx/models/legacy/reporting/usage_reports/number_lookup_create_params.rb', line 39

optional :start_date, Date, api_name: :startDate