Class: Notiflows::Models::UserUpsertParams::ChannelSetting

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

Instance Attribute Summary collapse

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_id:, settings:) ⇒ Object

Parameters:

  • channel_id (String) —

    Channel ID

  • settings (Object) —

    Provider-specific settings



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# File 'lib/notiflows/models/user_upsert_params.rb', line 102

class ChannelSetting < Notiflows::Internal::Type::BaseModel
  # @!attribute channel_id
  #   Channel ID
  #
  #   @return [String]
  required :channel_id, String

  # @!attribute settings
  #   Provider-specific settings
  #
  #   @return [Object]
  required :settings, Notiflows::Internal::Type::Unknown

  # @!method initialize(channel_id:, settings:)
  #   @param channel_id [String] Channel ID
  #
  #   @param settings [Object] Provider-specific settings
end

Instance Attribute Details

#channel_id ⇒ String

Channel ID

Returns:

  • (String)


107
# File 'lib/notiflows/models/user_upsert_params.rb', line 107

required :channel_id, String

#settings ⇒ Object

Provider-specific settings

Returns:

  • (Object)


113
# File 'lib/notiflows/models/user_upsert_params.rb', line 113

required :settings, Notiflows::Internal::Type::Unknown