Sha256: c2e55413481c6d7a3fb6c867bbe9e76c91f18bead42439b507a05de00854cbc5
Contents?: true
Size: 1.04 KB
Versions: 14
Compression:
Stored size: 1.04 KB
Contents
=begin #Svix API #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) The version of the OpenAPI document: 1.1.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.2.0 =end require 'date' require 'time' module Svix class KafkaSecurityProtocolType PLAINTEXT = "plaintext".freeze SSL = "ssl".freeze SASL_SSL = "sasl-ssl".freeze # 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) constantValues = KafkaSecurityProtocolType.constants.select { |c| KafkaSecurityProtocolType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #KafkaSecurityProtocolType" if constantValues.empty? value end end end
Version data entries
14 entries across 14 versions & 1 rubygems