Class: Notiflows::Models::Users::UsersPreferences::ChannelTypes

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/notiflows/models/users/preferences.rb

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Notiflows::Internal::Type::BaseModel

Instance Attribute Details

#chat ⇒ Boolean?

Chat notifications (Slack, etc.)

Returns:

  • (Boolean, nil)


38
# File 'lib/notiflows/models/users/preferences.rb', line 38

optional :chat, ::Notiflows::Internal::Type::Boolean

#email ⇒ Boolean?

Email notifications

Returns:

  • (Boolean, nil)


44
# File 'lib/notiflows/models/users/preferences.rb', line 44

optional :email, ::Notiflows::Internal::Type::Boolean

#in_app ⇒ Boolean?

In-app feed notifications

Returns:

  • (Boolean, nil)


50
# File 'lib/notiflows/models/users/preferences.rb', line 50

optional :in_app, ::Notiflows::Internal::Type::Boolean

#mobile_push ⇒ Boolean?

Mobile push notifications (iOS/Android)

Returns:

  • (Boolean, nil)


56
# File 'lib/notiflows/models/users/preferences.rb', line 56

optional :mobile_push, ::Notiflows::Internal::Type::Boolean

#sms ⇒ Boolean?

SMS notifications

Returns:

  • (Boolean, nil)


62
# File 'lib/notiflows/models/users/preferences.rb', line 62

optional :sms, ::Notiflows::Internal::Type::Boolean

#web_push ⇒ Boolean?

Web push notifications

Returns:

  • (Boolean, nil)


68
# File 'lib/notiflows/models/users/preferences.rb', line 68

optional :web_push, ::Notiflows::Internal::Type::Boolean