Skip to content

Commit 635c375

Browse files
committed
Corrected type initialization for BaseObject
1 parent 276c4f1 commit 635c375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/aspose/email/cloud/sdk/model/BaseObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class BaseObject {
4545
private String name = null;
4646

4747
@JsonProperty("type")
48-
private String type = "BaseObject";
48+
private String type = this.getClass().getName();
4949

5050
public BaseObject name(String name) {
5151
this.name = name;

0 commit comments

Comments
 (0)