Class: Inttegro::Chime::SendRequestCooldown
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Chime::SendRequestCooldown
- Defined in:
- lib/inttegro/chime/send_request_cooldown.rb
Overview
Optional application-scoped delivery cooldown. A repeat send with the same key is rejected until the duration elapses.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#duration_seconds ⇒ Integer
readonly
Rolling cooldown from the first accepted send attempt.
-
#key ⇒ String
readonly
Stable identifier for the notification being sent.
Instance Attribute Details
#duration_seconds ⇒ Integer (readonly)
Rolling cooldown from the first accepted send attempt.
Required in the API payload. Wire name: duration_seconds.
30 31 32 33 |
# File 'lib/inttegro/chime/send_request_cooldown.rb', line 30 class SendRequestCooldown < T::Struct const :key, String const :duration_seconds, Integer end |
#key ⇒ String (readonly)
Stable identifier for the notification being sent.
Required in the API payload. Wire name: key.
30 31 32 33 |
# File 'lib/inttegro/chime/send_request_cooldown.rb', line 30 class SendRequestCooldown < T::Struct const :key, String const :duration_seconds, Integer end |