class AvmClient::FloorLevel
Constants
- BASEMENT
- FLOOR_1
- FLOOR_10
- FLOOR_11
- FLOOR_12
- FLOOR_13
- FLOOR_14
- FLOOR_15
- FLOOR_16
- FLOOR_17
- FLOOR_18
- FLOOR_19
- FLOOR_2
- FLOOR_20
- FLOOR_21_OR_ABOVE
- FLOOR_3
- FLOOR_4
- FLOOR_5
- FLOOR_6
- FLOOR_7
- FLOOR_8
- FLOOR_9
- GROUND
- MIDDLE
- TOP
Public Class Methods
build_from_hash(value)
click to toggle source
Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value
# File lib/avm_client/models/floor_level.rb, line 46 def self.build_from_hash(value) new.build_from_hash(value) end
Public Instance Methods
build_from_hash(value)
click to toggle source
Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value
# File lib/avm_client/models/floor_level.rb, line 53 def build_from_hash(value) constantValues = FloorLevel.constants.select { |c| FloorLevel::const_get(c) == value } raise "Invalid ENUM value #{value} for class #FloorLevel" if constantValues.empty? value end