Sha256: b2f8cf7531a960a3aad2b760c49e13261f5a0c299a6a202162e9b7a3ad6c5d0a
Contents?: true
Size: 908 Bytes
Versions: 5
Compression:
Stored size: 908 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 GoogleDriveWhiteLabelInputDataSourceType GOOGLE_DRIVE = "GOOGLE_DRIVE".freeze def self.all_vars @all_vars ||= [GOOGLE_DRIVE].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 GoogleDriveWhiteLabelInputDataSourceType.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #GoogleDriveWhiteLabelInputDataSourceType" end end end
Version data entries
5 entries across 5 versions & 1 rubygems