Class: Orb::Models::SubscriptionAlertDisabledWebhookEvent::Properties::AlertConfiguration::ThresholdOverride
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::SubscriptionAlertDisabledWebhookEvent::Properties::AlertConfiguration::ThresholdOverride
- Defined in:
- lib/orb/models/subscription_alert_disabled_webhook_event.rb,
sig/orb/models/subscription_alert_disabled_webhook_event.rbs
Defined Under Namespace
Classes: Threshold
Instance Attribute Summary collapse
-
#group_keys ⇒ Array<String>?
The subset of the alert's grouping_keys this override binds.
-
#group_values ⇒ Array<String>
The values identifying this group, ordered to match group_keys when set and the alert's grouping_keys otherwise.
-
#thresholds ⇒ Array<Orb::Models::SubscriptionAlertDisabledWebhookEvent::Properties::AlertConfiguration::ThresholdOverride::Threshold>
The thresholds applied to this group.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
321 |
# File 'sig/orb/models/subscription_alert_disabled_webhook_event.rbs', line 321
def initialize: (
|
Instance Attribute Details
#group_keys ⇒ Array<String>?
The subset of the alert's grouping_keys this override binds. Null when the override targets one exact group across every grouping key.
469 |
# File 'lib/orb/models/subscription_alert_disabled_webhook_event.rb', line 469 optional :group_keys, Orb::Internal::Type::ArrayOf[String], nil?: true |
#group_values ⇒ Array<String>
The values identifying this group, ordered to match group_keys when set and the alert's grouping_keys otherwise.
455 |
# File 'lib/orb/models/subscription_alert_disabled_webhook_event.rb', line 455 required :group_values, Orb::Internal::Type::ArrayOf[String] |
#thresholds ⇒ Array<Orb::Models::SubscriptionAlertDisabledWebhookEvent::Properties::AlertConfiguration::ThresholdOverride::Threshold>
The thresholds applied to this group. An empty list means the group is silenced.
461 462 |
# File 'lib/orb/models/subscription_alert_disabled_webhook_event.rb', line 461 required :thresholds, -> { Orb::Internal::Type::ArrayOf[Orb::SubscriptionAlertDisabledWebhookEvent::Properties::AlertConfiguration::ThresholdOverride::Threshold] } |
Instance Method Details
#to_hash ⇒ {
327 |
# File 'sig/orb/models/subscription_alert_disabled_webhook_event.rbs', line 327
def to_hash: -> {
|