Class: Courier::Models::NotificationGetContent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::NotificationGetContent
- Defined in:
- lib/courier/models/notification_get_content.rb
Defined Under Namespace
Instance Attribute Summary collapse
- #blocks ⇒ Array<Courier::Models::NotificationGetContent::Block>?
- #channels ⇒ Array<Courier::Models::NotificationGetContent::Channel>?
- #checksum ⇒ String?
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(children: nil, parent: nil) ⇒ 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(children: nil, parent: nil) ⇒ Object
|
|
# File 'lib/courier/models/notification_get_content.rb', line 143
|
Instance Attribute Details
#blocks ⇒ Array<Courier::Models::NotificationGetContent::Block>?
9 10 11 |
# File 'lib/courier/models/notification_get_content.rb', line 9 optional :blocks, -> { Courier::Internal::Type::ArrayOf[Courier::NotificationGetContent::Block] }, nil?: true |
#channels ⇒ Array<Courier::Models::NotificationGetContent::Channel>?
16 17 18 |
# File 'lib/courier/models/notification_get_content.rb', line 16 optional :channels, -> { Courier::Internal::Type::ArrayOf[Courier::NotificationGetContent::Channel] }, nil?: true |
#checksum ⇒ String?
23 |
# File 'lib/courier/models/notification_get_content.rb', line 23 optional :checksum, String, nil?: true |
Class Method Details
.variants ⇒ Array(String, Courier::Models::NotificationGetContent::Block::Locale::NotificationContentHierarchy)
|
|
# File 'lib/courier/models/notification_get_content.rb', line 148
|