Sha256: 6db90e8f401795e3a410f5f29d13b1298ccbe5eb56b9df6dab2ea0fdaba7b3c5
Contents?: true
Size: 921 Bytes
Versions: 12
Compression:
Stored size: 921 Bytes
Contents
=begin #Carbon #Connect external data to LLMs, no matter the source. The version of the OpenAPI document: 1.0.0 =end require 'date' require 'time' module Carbon class WhiteLabelOrderByColumns CREATED_AT = "created_at".freeze DATA_SOURCE_TYPE = "data_source_type".freeze def self.all_vars @all_vars ||= [CREATED_AT, DATA_SOURCE_TYPE].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 WhiteLabelOrderByColumns.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #WhiteLabelOrderByColumns" end end end
Version data entries
12 entries across 12 versions & 1 rubygems