=begin #Harness feature flag service client apis #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) The version of the OpenAPI document: 1.0.0 Contact: cf@harness.io Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.2.1 =end require 'date' require 'time' module OpenapiClient class FeatureState ON = "on".freeze OFF = "off".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 = FeatureState.constants.select { |c| FeatureState::const_get(c) == value } raise "Invalid ENUM value #{value} for class #FeatureState" if constantValues.empty? value end end end