=begin
#Pinterest REST API

#Pinterest's REST API

The version of the OpenAPI document: 5.3.0
Contact: blah@cliffano.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.4.0

=end

require 'date'
require 'time'

module PinterestSdkClient
  class CatalogsFeedProcessingStatus
    COMPLETED = "COMPLETED".freeze
    COMPLETED_EARLY = "COMPLETED_EARLY".freeze
    DISAPPROVED = "DISAPPROVED".freeze
    FAILED = "FAILED".freeze
    PROCESSING = "PROCESSING".freeze
    QUEUED_FOR_PROCESSING = "QUEUED_FOR_PROCESSING".freeze
    UNDER_APPEAL = "UNDER_APPEAL".freeze
    UNDER_REVIEW = "UNDER_REVIEW".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 = CatalogsFeedProcessingStatus.constants.select { |c| CatalogsFeedProcessingStatus::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #CatalogsFeedProcessingStatus" if constantValues.empty?
      value
    end
  end
end