=begin
#Lob

#The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors. <p> Looking for our [previous documentation](https://lob.github.io/legacy-docs/)? 

The version of the OpenAPI document: 1.3.0
Contact: lob-openapi@lob.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.2.1

=end

require 'date'
require 'time'

module Lob
  class DpvFootnote
    AA = "AA".freeze
    A1 = "A1".freeze
    BB = "BB".freeze
    CC = "CC".freeze
    C1 = "C1".freeze
    F1 = "F1".freeze
    G1 = "G1".freeze
    IA = "IA".freeze
    M1 = "M1".freeze
    M3 = "M3".freeze
    N1 = "N1".freeze
    PB = "PB".freeze
    P1 = "P1".freeze
    P3 = "P3".freeze
    R1 = "R1".freeze
    R7 = "R7".freeze
    RR = "RR".freeze
    TA = "TA".freeze
    U1 = "U1".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 = DpvFootnote.constants.select { |c| DpvFootnote::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #DpvFootnote" if constantValues.empty?
      value
    end
  end
end
