Module: ModerationAPI::Models::ContentStreamParams::SecWebSocketProtocol

Extended by:
Internal::Type::Enum
Defined in:
lib/moderation_api/models/content_stream_params.rb,
sig/moderation_api/models/content_stream_params.rbs

Constant Summary collapse

MODERATIONAPI_V1 =

Returns:

  • (:"moderationapi.v1")
:"moderationapi.v1"

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/moderation_api/models/content_stream_params.rb', line 24

Instance Method Details

#initialize(sec_web_socket_protocol:, request_options: {}) ⇒ Object

Parameters:



19
20
21
22
23
24
25
26
# File 'lib/moderation_api/models/content_stream_params.rb', line 19

module SecWebSocketProtocol
  extend ModerationAPI::Internal::Type::Enum

  MODERATIONAPI_V1 = :"moderationapi.v1"

  # @!method self.values
  #   @return [Array<Symbol>]
end

#self?.values::Array[ModerationAPI::Models::ContentStreamParams::sec_web_socket_protocol]

Returns:

  • (::Array[ModerationAPI::Models::ContentStreamParams::sec_web_socket_protocol])


32
# File 'sig/moderation_api/models/content_stream_params.rbs', line 32

def self?.values: -> ::Array[ModerationAPI::Models::ContentStreamParams::sec_web_socket_protocol]