Sha256: fa4a894fb523b2d9a8f0e1cb6507338338ff133fa098dd291b364b26d1fc295f

Contents?: true

Size: 1.39 KB

Versions: 8

Compression:

Stored size: 1.39 KB

Contents

=begin
#Fastly API

#Via the Fastly API you can perform any of the operations that are possible within the management console,  including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://www.fastly.com/documentation/reference/api/) 

The version of the OpenAPI document: 1.0.0
Contact: oss@fastly.com

=end

require 'date'
require 'time'

module Fastly
  class LoggingPlacement
    NONE = "none".freeze
    WAF_DEBUG = "waf_debug".freeze
    NULL = "null".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 = LoggingPlacement.constants.select { |c| LoggingPlacement::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #LoggingPlacement" if constantValues.empty?
      value
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fastly-9.0.0 lib/fastly/models/logging_placement.rb
fastly-8.10.0 lib/fastly/models/logging_placement.rb
fastly-8.9.0 lib/fastly/models/logging_placement.rb
fastly-8.8.0 lib/fastly/models/logging_placement.rb
fastly-8.7.0 lib/fastly/models/logging_placement.rb
fastly-8.6.0 lib/fastly/models/logging_placement.rb
fastly-8.5.0 lib/fastly/models/logging_placement.rb
fastly-8.4.0 lib/fastly/models/logging_placement.rb