Sha256: 7914832a6f78a927f3bd1ef9cb90c33bc8e6015174a88273bcf7382de7ffca80
Contents?: true
Size: 1.09 KB
Versions: 5
Compression:
Stored size: 1.09 KB
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 Operator EQUAL = 'OPERATOR_EQUAL'.freeze MORE_THAN = 'OPERATOR_MORE_THAN'.freeze MORE_THAN_OR_EQUAL = 'OPERATOR_MORE_THAN_OR_EQUAL'.freeze LESS_THAN = 'OPERATOR_LESS_THAN'.freeze LESS_THAN_OR_EQUAL = 'OPERATOR_LESS_THAN_OR_EQUAL'.freeze CONTAINS = 'OPERATOR_CONTAINS'.freeze NOT_EQUAL = 'OPERATOR_NOT_EQUAL'.freeze IN = 'OPERATOR_IN'.freeze NOT_IN = 'OPERATOR_NOT_IN'.freeze CONTAINS_ONE = 'OPERATOR_CONTAINS_ONE'.freeze CONTAINS_ALL = 'OPERATOR_CONTAINS_ALL'.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 = Operator.constants.select { |c| Operator::const_get(c) == value } raise "Invalid ENUM value #{value} for class #Operator" if constantValues.empty? value end end end
Version data entries
5 entries across 5 versions & 1 rubygems