Class: MetronomeSDK::Models::V1::Customers::AlertRetrieveParams::SeatFilter

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

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(seat_group_key:, seat_group_value:) ⇒ Object

Only allowed for low_remaining_seat_balance_reached notifications. This filters alerts by the seat group key-value pair.

Parameters:

  • seat_group_key (String)

    The seat group key (e.g., "seat_id", "user_id")

  • seat_group_value (String)

    The specific seat identifier to filter by



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


Instance Attribute Details

#seat_group_keyString

The seat group key (e.g., "seat_id", "user_id")

Parameters:

  • value (String)

Returns:

  • (String)


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

required :seat_group_key, String

#seat_group_valueString

The specific seat identifier to filter by

Parameters:

  • value (String)

Returns:

  • (String)


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

required :seat_group_value, String

Instance Method Details

#to_hash{ seat_group_key: String, seat_group_value: String }

Returns:

  • ({ seat_group_key: String, seat_group_value: String })


236
# File 'sig/metronome_sdk/models/v1/customers/alert_retrieve_params.rbs', line 236

def to_hash: -> { seat_group_key: String, seat_group_value: String }