Sha256: 21091ca4961ad88bb8a78ad1177382719a23fc9cfb378824b64d2ca59af8df3f

Contents?: true

Size: 982 Bytes

Versions: 1

Compression:

Stored size: 982 Bytes

Contents

=begin
#LaunchDarkly REST API

#Build custom integrations with the LaunchDarkly REST API

OpenAPI spec version: 5.0.1
Contact: support@launchdarkly.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 2.4.8

=end

require 'date'

module LaunchDarklyApi
  class CopyActions
    
    UPDATE_ON = 'updateOn'.freeze
    UPDATE_PREREQUISITES = 'updatePrerequisites'.freeze
    UPDATE_TARGETS = 'updateTargets'.freeze
    UPDATE_RULES = 'updateRules'.freeze
    UPDATE_FALLTHROUGH = 'updateFallthrough'.freeze
    UPDATE_OFF_VARIATION = 'updateOffVariation'.freeze

    # 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 = CopyActions.constants.select { |c| CopyActions::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #CopyActions" if constantValues.empty?
      value
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
launchdarkly_api-5.0.1 lib/launchdarkly_api/models/copy_actions.rb