toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EngineType.openSearch:
      return 'OpenSearch';
    case EngineType.elasticsearch:
      return 'Elasticsearch';
  }
}