Sha256: 7dbdb5a9e2edda435da149925888855e840cb4e20e62e4f115fc67254d513d7d

Contents?: true

Size: 1 KB

Versions: 23

Compression:

Stored size: 1 KB

Contents

=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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ff-ruby-server-sdk-1.4.6 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.4.5 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.4.4 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.4.3 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.4.2 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.4.1 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.4.0 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.3.2 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.3.1 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.2.1 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.2.0 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.1.4 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.1.3 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.1.2 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.1.1 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.1.0 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.0.6 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.0.5 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.0.4 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
ff-ruby-server-sdk-1.0.3 lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb