Sha256: 5640af54f6369cbdf46ad1650d2fe0f1cb2bdadb4508bdff7ba5ca3d5196e825

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

=begin
This is an automatically generated file. DO NOT EDIT.

Generated from version 2.1.81 of the OpenAPI specification at
https://github.com/athenianco/api-spec/releases/tag/2.1.81.
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.4.0
=end

require 'date'
require 'time'

module Athenian
  class GetJIRAIssuesInclude
    COMMENTS = 'comments'.freeze
    DESCRIPTION = 'description'.freeze
    GITHUB_USERS = 'github_users'.freeze
    JIRA_USERS = 'jira_users'.freeze

    def self.all_vars
      @all_vars ||= [COMMENTS, DESCRIPTION, GITHUB_USERS, JIRA_USERS].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 GetJIRAIssuesInclude.all_vars.include?(value)
      raise "Invalid ENUM value #{value} for class #GetJIRAIssuesInclude"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
athenian-2.1.81 lib/athenian/models/get_jira_issues_include.rb