Skip to content

Commit

Permalink
#25 update core API
Browse files Browse the repository at this point in the history
  • Loading branch information
Siarhei_Kakichau committed Jul 5, 2024
1 parent cb8be41 commit 66cafd2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,12 @@ public ResponseCode getResponseCode() {
public void setResponseCode(ResponseCode responseCode) {
this.responseCode = responseCode;
}

@Override
public String toString() {
return "BaseArtifactMessage{" +
"internalId=" + internalId +
", responseCode=" + responseCode +
'}';
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package org.student.messaging.models;

import java.util.Arrays;

public class BodyArtifactMessage extends BaseArtifactMessage{

private byte[] artifactBody;
Expand All @@ -11,4 +13,11 @@ public byte[] getArtifactBody() {
public void setArtifactBody(byte[] artifactBody) {
this.artifactBody = artifactBody;
}

@Override
public String toString() {
return "BodyArtifactMessage{" +
"artifactBody=" + Arrays.toString(artifactBody) +
"} " + super.toString();
}
}

0 comments on commit 66cafd2

Please sign in to comment.