Sha256: c77f4302d1f4da9b856a9b121d7ceba01dd3fe9efca2f6cc71bb5d85ee84b263
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 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 SubFormFieldsPerDocumentTypeEnum CHECKBOX = "checkbox".freeze CHECKBOX_MERGE = "checkbox-merge".freeze DATE_SIGNED = "date_signed".freeze DROPDOWN = "dropdown".freeze HYPERLINK = "hyperlink".freeze INITIALS = "initials".freeze SIGNATURE = "signature".freeze RADIO = "radio".freeze TEXT = "text".freeze TEXT_MERGE = "text-merge".freeze def self.all_vars @all_vars ||= [CHECKBOX, CHECKBOX_MERGE, DATE_SIGNED, DROPDOWN, HYPERLINK, INITIALS, SIGNATURE, RADIO, TEXT, TEXT_MERGE].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 SubFormFieldsPerDocumentTypeEnum.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #SubFormFieldsPerDocumentTypeEnum" 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_type_enum.rb |