Skip to content

Commit

Permalink
Merge pull request #124 from Freja-eID/rename-field
Browse files Browse the repository at this point in the history
renamed field
  • Loading branch information
tanjaFrejaEid authored Dec 15, 2023
2 parents e5b0096 + 09ae1e5 commit 9d9a4ad
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,35 @@

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
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 +
'}';
}
}

0 comments on commit 9d9a4ad

Please sign in to comment.