Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PUB-2681 - Updated model for system admin update #158

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading