From 09ae1e5d5a8a8b91e54d0ffe6c5ba85493a6f6ea Mon Sep 17 00:00:00 2001 From: tanjaFrejaEid Date: Fri, 15 Dec 2023 12:49:28 +0100 Subject: [PATCH] renamed field --- .../update/UpdateOrganisationIdResponse.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/FrejaEidClient/src/main/java/com/verisec/frejaeid/client/beans/organisationid/update/UpdateOrganisationIdResponse.java b/FrejaEidClient/src/main/java/com/verisec/frejaeid/client/beans/organisationid/update/UpdateOrganisationIdResponse.java index 05b49b5..04d3ed0 100644 --- a/FrejaEidClient/src/main/java/com/verisec/frejaeid/client/beans/organisationid/update/UpdateOrganisationIdResponse.java +++ b/FrejaEidClient/src/main/java/com/verisec/frejaeid/client/beans/organisationid/update/UpdateOrganisationIdResponse.java @@ -9,16 +9,16 @@ public class UpdateOrganisationIdResponse implements FrejaHttpResponse { - private final UpdateOrganisationIdStatus updateOrganisationIdStatus; + private final UpdateOrganisationIdStatus updateStatus; @JsonCreator public UpdateOrganisationIdResponse( - @JsonProperty("updateOrganisationIdStatus") UpdateOrganisationIdStatus updateOrganisationIdStatus) { - this.updateOrganisationIdStatus = updateOrganisationIdStatus; + @JsonProperty("updateStatus") UpdateOrganisationIdStatus updateStatus) { + this.updateStatus = updateStatus; } - public UpdateOrganisationIdStatus getUpdateOrganisationIdStatus() { - return updateOrganisationIdStatus; + public UpdateOrganisationIdStatus getUpdateStatus() { + return updateStatus; } @Override @@ -26,18 +26,18 @@ public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof UpdateOrganisationIdResponse)) return false; UpdateOrganisationIdResponse that = (UpdateOrganisationIdResponse) o; - return Objects.equals(updateOrganisationIdStatus, that.updateOrganisationIdStatus); + return Objects.equals(updateStatus, that.updateStatus); } @Override public int hashCode() { - return Objects.hash(updateOrganisationIdStatus); + return Objects.hash(updateStatus); } @Override public String toString() { return "UpdateOrganisationIdResponse{" + - "updateOrganisationIdStatus=" + updateOrganisationIdStatus + + "updateStatus=" + updateStatus + '}'; } }