toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case WorkGroupState.enabled:
      return 'ENABLED';
    case WorkGroupState.disabled:
      return 'DISABLED';
  }
}