Class: ShellEv::GetChargeSessionRetrieveResponse200JsonStatusEnum

Inherits:
Object
  • Object
show all
Defined in:
lib/shell_ev/models/get_charge_session_retrieve_response200_json_status_enum.rb

Overview

Indicates overall status of the request

Constant Summary collapse

GET_CHARGE_SESSION_RETRIEVE_RESPONSE200_JSON_STATUS_ENUM =
[
  # TODO: Write general description for SUCCESS
  SUCCESS = 'SUCCESS'.freeze,

  # TODO: Write general description for FAILED
  FAILED = 'FAILED'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



17
18
19
20
21
# File 'lib/shell_ev/models/get_charge_session_retrieve_response200_json_status_enum.rb', line 17

def self.validate(value)
  return false if value.nil?

  GET_CHARGE_SESSION_RETRIEVE_RESPONSE200_JSON_STATUS_ENUM.include?(value)
end