Class: Trycourier::Models::NotificationGetContent::Channel

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/trycourier/models/notification_get_content.rb

Defined Under Namespace

Classes: Content, Locale

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(subject: nil, title: nil) ⇒ Object



# File 'lib/trycourier/models/notification_get_content.rb', line 184


Instance Attribute Details

#checksumString?



163
# File 'lib/trycourier/models/notification_get_content.rb', line 163

optional :checksum, String, nil?: true

#contentTrycourier::Models::NotificationGetContent::Channel::Content?



168
# File 'lib/trycourier/models/notification_get_content.rb', line 168

optional :content, -> { Trycourier::NotificationGetContent::Channel::Content }, nil?: true

#idString



158
# File 'lib/trycourier/models/notification_get_content.rb', line 158

required :id, String

#localesHash{Symbol=>Trycourier::Models::NotificationGetContent::Channel::Locale}?



173
174
175
176
177
# File 'lib/trycourier/models/notification_get_content.rb', line 173

optional :locales,
-> {
  Trycourier::Internal::Type::HashOf[Trycourier::NotificationGetContent::Channel::Locale]
},
nil?: true

#typeString?



182
# File 'lib/trycourier/models/notification_get_content.rb', line 182

optional :type, String, nil?: true