Sha256: fecde824d94ba90f737618d7122dac3a872334503bd4886c3ea0d44878198b42

Contents?: true

Size: 1.67 KB

Versions: 1

Compression:

Stored size: 1.67 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.7.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

    def self.all_vars
      @all_vars ||= [HELVETICA, ARIAL, COURIER, CALIBRI, CAMBRIA, GEORGIA, TIMES, TREBUCHET, VERDANA, ROBOTO, ROBOTO_MONO, NOTO_SANS, NOTO_SERIF, NOTO_CJK_JP_REGULAR, NOTO_HEBREW_REGULAR, NOTO_SAN_THAI_MERGED].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 SubFormFieldsPerDocumentFontEnum.all_vars.include?(value)
      raise "Invalid ENUM value #{value} for class #SubFormFieldsPerDocumentFontEnum"
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dropbox-sign-1.5.0 lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb