Class: Trycourier::Models::DefaultPreferences::Item

Inherits:
SubscriptionTopicNew show all
Defined in:
lib/trycourier/models/default_preferences.rb

Instance Attribute Summary collapse

Attributes inherited from SubscriptionTopicNew

#custom_routing, #has_custom_routing, #status

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(id: ) ⇒ Object

Parameters:

  • id (String) (defaults to: )

    Topic ID



16
17
18
19
20
21
22
23
24
25
# File 'lib/trycourier/models/default_preferences.rb', line 16

class Item < Trycourier::Models::SubscriptionTopicNew
  # @!attribute id
  #   Topic ID
  #
  #   @return [String]
  required :id, String

  # @!method initialize(id:)
  #   @param id [String] Topic ID
end

Instance Attribute Details

#idString

Topic ID

Returns:

  • (String)


21
# File 'lib/trycourier/models/default_preferences.rb', line 21

required :id, String