Class: MetronomeSDK::Models::V1::UsageListResponse
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(billable_metric_id: , billable_metric_name: , customer_id: , end_timestamp: , start_timestamp: , value: , groups: nil) ⇒ Object
|
# File 'lib/metronome_sdk/models/v1/usage_list_response.rb', line 45
|
Instance Attribute Details
#billable_metric_id ⇒ String
11
|
# File 'lib/metronome_sdk/models/v1/usage_list_response.rb', line 11
required :billable_metric_id, String
|
#billable_metric_name ⇒ String
16
|
# File 'lib/metronome_sdk/models/v1/usage_list_response.rb', line 16
required :billable_metric_name, String
|
#customer_id ⇒ String
21
|
# File 'lib/metronome_sdk/models/v1/usage_list_response.rb', line 21
required :customer_id, String
|
#end_timestamp ⇒ Time
26
|
# File 'lib/metronome_sdk/models/v1/usage_list_response.rb', line 26
required :end_timestamp, Time
|
#groups ⇒ Hash{Symbol=>Float, nil}?
Values will be either a number or null. Null indicates that there were no matches for the group_by value.
#start_timestamp ⇒ Time
31
|
# File 'lib/metronome_sdk/models/v1/usage_list_response.rb', line 31
required :start_timestamp, Time
|
#value ⇒ Float?
36
|
# File 'lib/metronome_sdk/models/v1/usage_list_response.rb', line 36
required :value, Float, nil?: true
|