Sha256: bd5b8f2e08a8d2d8968b1e2b95a7f0e50ed460a3adb5cd56f6a30ee44c6c8e02

Contents?: true

Size: 1.52 KB

Versions: 4

Compression:

Stored size: 1.52 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 SubFormFieldsPerDocumentFontEnum
    HELVETICA = "helvetica".freeze
    ARIAL = "arial".freeze
    COURIER = "courier".freeze
    CALIBRI = "calibri".freeze
    CAMBRIA = "cambria".freeze
    GEORGIA = "georgia".freeze
    TIMES = "times".freeze
    TREBUCHET = "trebuchet".freeze
    VERDANA = "verdana".freeze
    ROBOTO = "roboto".freeze
    ROBOTO_MONO = "robotoMono".freeze
    NOTO_SANS = "notoSans".freeze
    NOTO_SERIF = "notoSerif".freeze
    NOTO_CJK_JP_REGULAR = "notoCJK-JP-Regular".freeze
    NOTO_HEBREW_REGULAR = "notoHebrew-Regular".freeze
    NOTO_SAN_THAI_MERGED = "notoSanThaiMerged".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 = SubFormFieldsPerDocumentFontEnum.constants.select { |c| SubFormFieldsPerDocumentFontEnum::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #SubFormFieldsPerDocumentFontEnum" if constantValues.empty?
      value
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dropbox-sign-1.4.1 lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb
dropbox-sign-1.4.0 lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb
dropbox-sign-1.3.0 lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb
dropbox-sign-1.2.0 lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb