Class: MetronomeSDK::Models::V1::Customers::AlertRetrieveParams::GroupValue

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

Instance Attribute 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(alert_id: , customer_id: , group_values: nil, plans_or_contracts: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see MetronomeSDK::Models::V1::Customers::AlertRetrieveParams for more details.

Parameters:



54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# File 'lib/metronome_sdk/models/v1/customers/alert_retrieve_params.rb', line 54

class GroupValue < MetronomeSDK::Internal::Type::BaseModel
  # @!attribute key
  #
  #   @return [String]
  required :key, String

  # @!attribute value
  #
  #   @return [String]
  required :value, String

  # @!method initialize(key:, value:)
  #   Scopes threshold notification evaluation to a specific presentation group key on
  #   individual line items. Only present for spend notifications.
  #
  #   @param key [String]
  #   @param value [String]
end

Instance Attribute Details

#keyString

Returns:

  • (String)


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

required :key, String

#valueString

Returns:

  • (String)


63
# File 'lib/metronome_sdk/models/v1/customers/alert_retrieve_params.rb', line 63

required :value, String