Class: Notiflows::Models::Users::UsersPreferences::Notiflow
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Notiflows::Models::Users::UsersPreferences::Notiflow
- Defined in:
- lib/notiflows/models/users/preferences.rb
Instance Attribute Summary collapse
-
#channel_types ⇒ Hash{Symbol=>Boolean}?
Channel-specific overrides for this notiflow.
-
#enabled ⇒ Boolean?
Whether this notiflow is enabled for the user.
-
#name ⇒ String?
Notiflow name (read-only, for display).
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(channel_types: nil, enabled: nil, name: nil) ⇒ Object
|
|
# File 'lib/notiflows/models/users/preferences.rb', line 106
|
Instance Attribute Details
#channel_types ⇒ Hash{Symbol=>Boolean}?
Channel-specific overrides for this notiflow
92 |
# File 'lib/notiflows/models/users/preferences.rb', line 92 optional :channel_types, ::Notiflows::Internal::Type::HashOf[::Notiflows::Internal::Type::Boolean] |
#enabled ⇒ Boolean?
Whether this notiflow is enabled for the user
98 |
# File 'lib/notiflows/models/users/preferences.rb', line 98 optional :enabled, ::Notiflows::Internal::Type::Boolean |
#name ⇒ String?
Notiflow name (read-only, for display)
104 |
# File 'lib/notiflows/models/users/preferences.rb', line 104 optional :name, String |