Class: Trycourier::Models::NotificationGetContent::Channel
Defined Under Namespace
Classes: Content, Locale
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#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
#checksum ⇒ String?
163
|
# File 'lib/trycourier/models/notification_get_content.rb', line 163
optional :checksum, String, nil?: true
|
168
|
# File 'lib/trycourier/models/notification_get_content.rb', line 168
optional :content, -> { Trycourier::NotificationGetContent::Channel::Content }, nil?: true
|
#id ⇒ String
158
|
# File 'lib/trycourier/models/notification_get_content.rb', line 158
required :id, String
|
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
|
#type ⇒ String?
182
|
# File 'lib/trycourier/models/notification_get_content.rb', line 182
optional :type, String, nil?: true
|