toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AdminStatus.enabled:
      return 'ENABLED';
    case AdminStatus.disableInProgress:
      return 'DISABLE_IN_PROGRESS';
  }
}