Class: AsposeSlidesCloud::ChartWallType

Inherits:
Object
  • Object
show all
Defined in:
lib/aspose_slides_cloud/models/chart_wall_type.rb

Constant Summary collapse

FLOOR =
'Floor'.freeze
SIDE_WALL =
'SideWall'.freeze
BACK_WALL =
'BackWall'.freeze

Instance Method Summary collapse

Instance Method Details

#build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



35
36
37
38
39
# File 'lib/aspose_slides_cloud/models/chart_wall_type.rb', line 35

def build_from_hash(value)
  constantValues = ChartWallType.constants.select { |c| ChartWallType::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #ChartWallType" if constantValues.empty?
  value
end