Sha256: 97faff21f13cd6741dcb64d1e76f65e2623899910d8b896e61d681ce290a5206

Contents?: true

Size: 1.06 KB

Versions: 10

Compression:

Stored size: 1.06 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
OpenAPI Generator version: 5.3.0

=end

require 'date'
require 'time'

module Dropbox
end

module Dropbox::Sign
  class SignatureRequestResponseCustomFieldTypeEnum
    TEXT = "text".freeze
    CHECKBOX = "checkbox".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 = SignatureRequestResponseCustomFieldTypeEnum.constants.select { |c| SignatureRequestResponseCustomFieldTypeEnum::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #SignatureRequestResponseCustomFieldTypeEnum" if constantValues.empty?
      value
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dropbox-sign-1.4.1 lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb
dropbox-sign-1.4.0 lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb
dropbox-sign-1.3.0 lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb
dropbox-sign-1.2.0 lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb
dropbox-sign-1.1.2 lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb
dropbox-sign-1.1.1 lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb
dropbox-sign-1.1.0 lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb
dropbox-sign-1.0.1 lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb
dropbox-sign-1.0.0 lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb
dropbox-sign-1.0.0.pre.beta2301 lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb