=begin
#FinFeedAPI SEC REST API

#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1
Contact: support@apibricks.io
Generated by: https://openapi-generator.tech
Generator version: 7.13.0

=end

require 'date'
require 'time'

module OpenapiClient
  class DTOFilingSortBy
    ACCESSION_NUMBER = "AccessionNumber".freeze
    FILING_DATE = "FilingDate".freeze
    REPORT_DATE = "ReportDate".freeze
    ACCEPTANCE_DATE_TIME = "AcceptanceDateTime".freeze
    SIZE = "Size".freeze

    def self.all_vars
      @all_vars ||= [ACCESSION_NUMBER, FILING_DATE, REPORT_DATE, ACCEPTANCE_DATE_TIME, SIZE].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 DTOFilingSortBy.all_vars.include?(value)
      raise "Invalid ENUM value #{value} for class #DTOFilingSortBy"
    end
  end
end
