toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case IndexEdition.developerEdition:
      return 'DEVELOPER_EDITION';
    case IndexEdition.enterpriseEdition:
      return 'ENTERPRISE_EDITION';
  }
}