Skip to content

Commit

Permalink
Merge pull request #158 from hmcts/PUB-2681-Update-System-Admin
Browse files Browse the repository at this point in the history
PUB-2681 - Updated model for system admin update
  • Loading branch information
ChrisS1512 authored Dec 13, 2024
2 parents fe84822 + 041e9a4 commit c5871d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ publishing {
}

group = 'com.github.hmcts'
version = '2.1.33'
version = '2.1.34'

java {
toolchain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

Expand All @@ -24,23 +25,27 @@
public abstract class SystemAdminAction {

/**
* The name of the requester for the action.
* The email of the requester for the action.
*/
protected String requesterName;
@NotNull
protected String requesterEmail;

/**
* Whether the action was successful.
*/
@NotNull
protected ActionResult actionResult;

/**
* The type of change that has been requested.
*/
@NotNull
protected ChangeType changeType;

/**
* The list of users to notify about the email.
*/
@NotNull
protected List<String> emailList;

/**
Expand Down

0 comments on commit c5871d4

Please sign in to comment.