Class: Courier::Models::SendMessageParams::Message::Preferences
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::SendMessageParams::Message::Preferences
- Defined in:
- lib/courier/models/send_message_params.rb,
sig/courier/models/send_message_params.rbs
Overview
Instance Attribute Summary collapse
-
#subscription_topic_id ⇒ String
The subscription topic to apply to the message.
Instance Method Summary collapse
-
#initialize ⇒ Preferences
constructor
A new instance of Preferences.
- #to_hash ⇒ { subscription_topic_id: String }
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 ⇒ Preferences
Returns a new instance of Preferences.
206 |
# File 'sig/courier/models/send_message_params.rbs', line 206
def initialize: (subscription_topic_id: String) -> void
|
Instance Attribute Details
#subscription_topic_id ⇒ String
The subscription topic to apply to the message.
255 |
# File 'lib/courier/models/send_message_params.rb', line 255 required :subscription_topic_id, String |
Instance Method Details
#to_hash ⇒ { subscription_topic_id: String }
208 |
# File 'sig/courier/models/send_message_params.rbs', line 208
def to_hash: -> { subscription_topic_id: String }
|