toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CompromisedCredentialsEventActionType.block:
      return 'BLOCK';
    case CompromisedCredentialsEventActionType.noAction:
      return 'NO_ACTION';
  }
}