class DocuSign_Rooms::FieldsCustomDataFilterType

Constants

IS_REQUIRED_ON_CREATE
IS_REQUIRED_ON_SUBMIT
NONE

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/docusign_rooms/models/fields_custom_data_filter_type.rb, line 24
def build_from_hash(value)
  constantValues = FieldsCustomDataFilterType.constants.select { |c| FieldsCustomDataFilterType::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #FieldsCustomDataFilterType" if constantValues.empty?
  value
end