toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConsumerStatus.creating:
      return 'CREATING';
    case ConsumerStatus.deleting:
      return 'DELETING';
    case ConsumerStatus.active:
      return 'ACTIVE';
  }
}