toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ObjectLockLegalHoldStatus.on:
      return 'ON';
    case ObjectLockLegalHoldStatus.off:
      return 'OFF';
  }
}