=begin This is an automatically generated file. DO NOT EDIT. Generated from version 2.1.85 of the OpenAPI specification at https://github.com/athenianco/api-spec/releases/tag/2.1.85. Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.5.0 =end require 'date' require 'time' module Athenian class ReleaseNotificationStatus ACCEPTED_RESOLVED = 'accepted-resolved'.freeze ACCEPTED_PENDING = 'accepted-pending'.freeze IGNORED_DUPLICATE = 'ignored-duplicate'.freeze def self.all_vars @all_vars ||= [ACCEPTED_RESOLVED, ACCEPTED_PENDING, IGNORED_DUPLICATE].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 ReleaseNotificationStatus.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #ReleaseNotificationStatus" end end end