toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SnowballType.standard:
      return 'STANDARD';
    case SnowballType.edge:
      return 'EDGE';
    case SnowballType.edgeC:
      return 'EDGE_C';
    case SnowballType.edgeCg:
      return 'EDGE_CG';
    case SnowballType.edgeS:
      return 'EDGE_S';
    case SnowballType.snc1Hdd:
      return 'SNC1_HDD';
  }
}