Class: Trycourier::Models::NotificationGetContent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Trycourier::Models::NotificationGetContent
- Defined in:
- lib/trycourier/models/notification_get_content.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
- #blocks ⇒ Array<Trycourier::Models::NotificationGetContent::Block>?
- #channels ⇒ Array<Trycourier::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/trycourier/models/notification_get_content.rb', line 144
|
Instance Attribute Details
#blocks ⇒ Array<Trycourier::Models::NotificationGetContent::Block>?
10 11 12 |
# File 'lib/trycourier/models/notification_get_content.rb', line 10 optional :blocks, -> { Trycourier::Internal::Type::ArrayOf[Trycourier::NotificationGetContent::Block] }, nil?: true |
#channels ⇒ Array<Trycourier::Models::NotificationGetContent::Channel>?
17 18 19 |
# File 'lib/trycourier/models/notification_get_content.rb', line 17 optional :channels, -> { Trycourier::Internal::Type::ArrayOf[Trycourier::NotificationGetContent::Channel] }, nil?: true |
#checksum ⇒ String?
24 |
# File 'lib/trycourier/models/notification_get_content.rb', line 24 optional :checksum, String, nil?: true |
Class Method Details
.variants ⇒ Array(String, Trycourier::Models::NotificationGetContent::Block::Locale::NotificationContentHierarchy)
|
|
# File 'lib/trycourier/models/notification_get_content.rb', line 149
|