=begin
#Daytona Toolbox API

#Daytona Toolbox API

The version of the OpenAPI document: v0.0.0-dev

Generated by: https://openapi-generator.tech
Generator version: 7.21.0

=end

require 'date'
require 'time'

module DaytonaToolboxApiClient
  class Status
    Unmodified = "Unmodified".freeze
    Untracked = "Untracked".freeze
    Modified = "Modified".freeze
    Added = "Added".freeze
    Deleted = "Deleted".freeze
    Renamed = "Renamed".freeze
    Copied = "Copied".freeze
    UpdatedButUnmerged = "Updated but unmerged".freeze
    UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api".freeze

    def self.all_vars
      @all_vars ||= [Unmodified, Untracked, Modified, Added, Deleted, Renamed, Copied, UpdatedButUnmerged, UNKNOWN_DEFAULT_OPEN_API].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 Status.all_vars.include?(value)
      UNKNOWN_DEFAULT_OPEN_API
    end
  end
end
