Class: Courier::Models::MessageProvidersType
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::MessageProvidersType
- Defined in:
- lib/courier/models/message_providers_type.rb
Instance Attribute Summary collapse
-
#if_ ⇒ String?
JS conditional with access to data/profile.
- #metadata ⇒ Courier::Models::Metadata?
-
#override ⇒ Hash{Symbol=>Object}?
Provider-specific overrides.
- #timeouts ⇒ Integer?
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(if_: nil, metadata: nil, override: nil, timeouts: nil) ⇒ Object
|
|
# File 'lib/courier/models/message_providers_type.rb', line 28
|
Instance Attribute Details
#if_ ⇒ String?
JS conditional with access to data/profile.
10 |
# File 'lib/courier/models/message_providers_type.rb', line 10 optional :if_, String, api_name: :if, nil?: true |
#metadata ⇒ Courier::Models::Metadata?
15 |
# File 'lib/courier/models/message_providers_type.rb', line 15 optional :metadata, -> { Courier::Metadata }, nil?: true |
#override ⇒ Hash{Symbol=>Object}?
Provider-specific overrides.
21 |
# File 'lib/courier/models/message_providers_type.rb', line 21 optional :override, Courier::Internal::Type::HashOf[Courier::Internal::Type::Unknown], nil?: true |
#timeouts ⇒ Integer?
26 |
# File 'lib/courier/models/message_providers_type.rb', line 26 optional :timeouts, Integer, nil?: true |