Sha256: b36583678a0867b123a0c676513f626d7d497ef152509e796465c862a1c8c85a

Contents?: true

Size: 695 Bytes

Versions: 4

Compression:

Stored size: 695 Bytes

Contents

=begin
#API Reference

#Review our [API Introduction](../api-introduction) to get started.

OpenAPI spec version: 1.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
=end

require 'date'

module TurnkeyClient
  class TagType
    USER = 'TAG_TYPE_USER'.freeze
    PRIVATE_KEY = 'TAG_TYPE_PRIVATE_KEY'.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 = TagType.constants.select { |c| TagType::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #TagType" if constantValues.empty?
      value
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
turnkey_client-0.0.9 lib/turnkey_client/models/tag_type.rb
turnkey_client-0.0.8 lib/turnkey_client/models/tag_type.rb
turnkey_client-0.0.7 lib/turnkey_client/models/tag_type.rb
turnkey_client-0.0.4 lib/turnkey_client/models/tag_type.rb