Class: Courier::Models::DefaultPreferences::Item
- Inherits:
-
SubscriptionTopicNew
- Object
- Internal::Type::BaseModel
- SubscriptionTopicNew
- Courier::Models::DefaultPreferences::Item
- Defined in:
- lib/courier/models/default_preferences.rb
Instance Attribute Summary collapse
-
#id ⇒ String
Topic ID.
Attributes inherited from SubscriptionTopicNew
#custom_routing, #has_custom_routing, #status
Instance Method Summary collapse
- #initialize(id:) ⇒ Object constructor
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(id:) ⇒ Object
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/courier/models/default_preferences.rb', line 14 class Item < Courier::Models::SubscriptionTopicNew # @!attribute id # Topic ID # # @return [String] required :id, String # @!method initialize(id:) # @param id [String] Topic ID end |
Instance Attribute Details
#id ⇒ String
Topic ID
19 |
# File 'lib/courier/models/default_preferences.rb', line 19 required :id, String |