toValue method
Implementation
String toValue() {
switch (this) {
case IndexStatus.creating:
return 'CREATING';
case IndexStatus.updating:
return 'UPDATING';
case IndexStatus.deleting:
return 'DELETING';
case IndexStatus.active:
return 'ACTIVE';
}
}