Sha256: 180dee9f98bc58a3b2027a550019e67b935f242f4ce7f14e393f6fa92a389b2c
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
=begin This is an automatically generated file. DO NOT EDIT. Generated from version 2.1.86 of the OpenAPI specification at https://github.com/athenianco/api-spec/releases/tag/2.1.86. Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.5.0 =end require 'date' require 'time' module Athenian class JIRAStatusCategory TO_DO = 'To Do'.freeze IN_PROGRESS = 'In Progress'.freeze DONE = 'Done'.freeze NO_CATEGORY = 'No Category'.freeze def self.all_vars @all_vars ||= [TO_DO, IN_PROGRESS, DONE, NO_CATEGORY].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 JIRAStatusCategory.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #JIRAStatusCategory" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
athenian-2.1.86 | lib/athenian/models/jira_status_category.rb |