Class: Telnyx::Models::Reports::CdrUsageReportFetchSyncResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb

Overview

See Also:

Defined Under Namespace

Modules: AggregationType, ProductBreakdown, Status

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(id: nil, aggregation_type: nil, connections: nil, created_at: nil, end_time: nil, product_breakdown: nil, record_type: nil, report_url: nil, result: nil, start_time: nil, status: nil, updated_at: nil) ⇒ Object

Parameters:



# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 81

Instance Attribute Details

#aggregation_typeSymbol, ...



27
28
# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 27

optional :aggregation_type,
enum: -> { Telnyx::Models::Reports::CdrUsageReportFetchSyncResponse::Data::AggregationType }

#connectionsArray<Integer>?

Returns:

  • (Array<Integer>, nil)


33
# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 33

optional :connections, Telnyx::Internal::Type::ArrayOf[Integer]

#created_atTime?

Returns:

  • (Time, nil)


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

optional :created_at, Time

#end_timeTime?

Returns:

  • (Time, nil)


43
# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 43

optional :end_time, Time

#idString?

Identifies the resource

Returns:

  • (String, nil)


22
# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 22

optional :id, String

#product_breakdownSymbol, ...



48
49
# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 48

optional :product_breakdown,
enum: -> { Telnyx::Models::Reports::CdrUsageReportFetchSyncResponse::Data::ProductBreakdown }

#record_typeString?

Returns:

  • (String, nil)


54
# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 54

optional :record_type, String

#report_urlString?

Returns:

  • (String, nil)


59
# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 59

optional :report_url, String

#resultHash{Symbol=>Object}?

Returns:

  • (Hash{Symbol=>Object}, nil)


64
# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 64

optional :result, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]

#start_timeTime?

Returns:

  • (Time, nil)


69
# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 69

optional :start_time, Time

#statusSymbol, ...



74
# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 74

optional :status, enum: -> { Telnyx::Models::Reports::CdrUsageReportFetchSyncResponse::Data::Status }

#updated_atTime?

Returns:

  • (Time, nil)


79
# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 79

optional :updated_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/reports/cdr_usage_report_fetch_sync_response.rb', line 115