Class: MetronomeSDK::Models::V1::UsageIngestParams::Usage
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(customer_id: , event_type: , timestamp: , transaction_id: , properties: nil) ⇒ Object
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# File 'lib/metronome_sdk/models/v1/usage_ingest_params.rb', line 20
class Usage < MetronomeSDK::Internal::Type::BaseModel
required :customer_id, String
required :event_type, String
required :timestamp, String
required :transaction_id, String
optional :properties, MetronomeSDK::Internal::Type::HashOf[MetronomeSDK::Internal::Type::Unknown]
end
|
Instance Attribute Details
#customer_id ⇒ String
24
|
# File 'lib/metronome_sdk/models/v1/usage_ingest_params.rb', line 24
required :customer_id, String
|
#event_type ⇒ String
29
|
# File 'lib/metronome_sdk/models/v1/usage_ingest_params.rb', line 29
required :event_type, String
|
#properties ⇒ Hash{Symbol=>Object}?
45
|
# File 'lib/metronome_sdk/models/v1/usage_ingest_params.rb', line 45
optional :properties, MetronomeSDK::Internal::Type::HashOf[MetronomeSDK::Internal::Type::Unknown]
|
#timestamp ⇒ String
35
|
# File 'lib/metronome_sdk/models/v1/usage_ingest_params.rb', line 35
required :timestamp, String
|
#transaction_id ⇒ String
40
|
# File 'lib/metronome_sdk/models/v1/usage_ingest_params.rb', line 40
required :transaction_id, String
|