Sha256: 8c9f17d9f67d9ca3a7828bae3b70d30f9455697dfd73fb5e02e0ba2344b16da1
Contents?: true
Size: 964 Bytes
Versions: 13
Compression:
Stored size: 964 Bytes
Contents
# Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. require 'date' require 'time' module Algolia module Ingestion class StreamingTriggerType STREAMING = "streaming".freeze def self.all_vars @all_vars ||= [STREAMING].freeze end # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def self.build_from_hash(value) new.build_from_hash(value) end # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def build_from_hash(value) return value if StreamingTriggerType.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #StreamingTriggerType" end end end end
Version data entries
13 entries across 13 versions & 1 rubygems