Class: MetronomeSDK::Models::V1::Customers::AlertRetrieveParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::Customers::AlertRetrieveParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/metronome_sdk/models/v1/customers/alert_retrieve_params.rb
Overview
Defined Under Namespace
Modules: PlansOrContracts Classes: GroupValue
Instance Attribute Summary collapse
-
#alert_id ⇒ String
The Metronome ID of the threshold notification.
-
#customer_id ⇒ String
The Metronome ID of the customer.
-
#group_values ⇒ Array<MetronomeSDK::Models::V1::Customers::AlertRetrieveParams::GroupValue>?
Only present for ‘spend_threshold_reached` notifications.
-
#plans_or_contracts ⇒ Symbol, ...
When parallel threshold notifications are enabled during migration, this flag denotes whether to fetch notifications for plans or contracts.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(key: , value: ) ⇒ Object
constructor
Scopes threshold notification evaluation to a specific presentation group key on individual line items.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(key: , value: ) ⇒ Object
Scopes threshold notification evaluation to a specific presentation group key on individual line items. Only present for spend notifications.
|
|
# File 'lib/metronome_sdk/models/v1/customers/alert_retrieve_params.rb', line 65
|
Instance Attribute Details
#alert_id ⇒ String
The Metronome ID of the threshold notification
16 |
# File 'lib/metronome_sdk/models/v1/customers/alert_retrieve_params.rb', line 16 required :alert_id, String |
#customer_id ⇒ String
The Metronome ID of the customer
22 |
# File 'lib/metronome_sdk/models/v1/customers/alert_retrieve_params.rb', line 22 required :customer_id, String |
#group_values ⇒ Array<MetronomeSDK::Models::V1::Customers::AlertRetrieveParams::GroupValue>?
Only present for ‘spend_threshold_reached` notifications. Retrieve the notification for a specific group key-value pair.
29 30 |
# File 'lib/metronome_sdk/models/v1/customers/alert_retrieve_params.rb', line 29 optional :group_values, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::Customers::AlertRetrieveParams::GroupValue] } |
#plans_or_contracts ⇒ Symbol, ...
When parallel threshold notifications are enabled during migration, this flag denotes whether to fetch notifications for plans or contracts.
37 38 |
# File 'lib/metronome_sdk/models/v1/customers/alert_retrieve_params.rb', line 37 optional :plans_or_contracts, enum: -> { MetronomeSDK::V1::Customers::AlertRetrieveParams::PlansOrContracts } |