Sha256: f146cc0048f77c498e567080cdebfc499bc6a6059fe5d356f5bf9160527ecde4
Contents?: true
Size: 1.02 KB
Versions: 4
Compression:
Stored size: 1.02 KB
Contents
=begin #Dropbox Sign API #Dropbox Sign v3 API The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech Generator version: 7.8.0 =end require 'date' require 'time' module Dropbox end module Dropbox::Sign class SignatureRequestResponseCustomFieldTypeEnum TEXT = "text".freeze CHECKBOX = "checkbox".freeze def self.all_vars @all_vars ||= [TEXT, CHECKBOX].freeze end # 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) return value if SignatureRequestResponseCustomFieldTypeEnum.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #SignatureRequestResponseCustomFieldTypeEnum" end end end
Version data entries
4 entries across 4 versions & 1 rubygems