Class: MetronomeSDK::Models::V1::UsageSearchResponseItem

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v1/usage_search_response.rb

Defined Under Namespace

Classes: MatchedBillableMetric, MatchedCustomer

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from MetronomeSDK::Internal::Type::BaseModel

Instance Attribute Details

#customer_idString

The ID of the customer in the ingest event body

Returns:

  • (String)


16
# File 'lib/metronome_sdk/models/v1/usage_search_response.rb', line 16

required :customer_id, String

#event_typeString

Returns:

  • (String)


21
# File 'lib/metronome_sdk/models/v1/usage_search_response.rb', line 21

required :event_type, String

#idString

Returns:

  • (String)


10
# File 'lib/metronome_sdk/models/v1/usage_search_response.rb', line 10

required :id, String

#is_duplicateBoolean?

Returns:

  • (Boolean, nil)


36
# File 'lib/metronome_sdk/models/v1/usage_search_response.rb', line 36

optional :is_duplicate, MetronomeSDK::Internal::Type::Boolean

#matched_billable_metricsArray<MetronomeSDK::Models::V1::UsageSearchResponseItem::MatchedBillableMetric>?



41
42
# File 'lib/metronome_sdk/models/v1/usage_search_response.rb', line 41

optional :matched_billable_metrics,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::Models::V1::UsageSearchResponseItem::MatchedBillableMetric] }

#matched_customerMetronomeSDK::Models::V1::UsageSearchResponseItem::MatchedCustomer?

The customer the event was matched to if a match was found



48
# File 'lib/metronome_sdk/models/v1/usage_search_response.rb', line 48

optional :matched_customer, -> { MetronomeSDK::Models::V1::UsageSearchResponseItem::MatchedCustomer }

#processed_atTime?

Returns:

  • (Time, nil)


53
# File 'lib/metronome_sdk/models/v1/usage_search_response.rb', line 53

optional :processed_at, Time

#propertiesHash{Symbol=>Object}?

Returns:

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


58
# File 'lib/metronome_sdk/models/v1/usage_search_response.rb', line 58

optional :properties, MetronomeSDK::Internal::Type::HashOf[MetronomeSDK::Internal::Type::Unknown]

#timestampTime

Returns:

  • (Time)


26
# File 'lib/metronome_sdk/models/v1/usage_search_response.rb', line 26

required :timestamp, Time

#transaction_idString

Returns:

  • (String)


31
# File 'lib/metronome_sdk/models/v1/usage_search_response.rb', line 31

required :transaction_id, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/metronome_sdk/models/v1/usage_search_response.rb', line 216