Skip to content

Commit 66f30f1

Browse files
committed
Added BaseObject.type autofill
1 parent 4d26cb8 commit 66f30f1

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<artifactId>aspose-email-cloud</artifactId>
55
<packaging>jar</packaging>
66
<name>aspose-email-cloud</name>
7-
<version>19.11.11</version>
7+
<version>19.11.0</version>
88
<url>https://github.com/aspose-email-cloud/aspose-email-cloud-java</url>
99
<description>Aspose.Email Cloud SDK</description>
1010
<licenses>

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

Lines changed: 3 additions & 8 deletions
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 = null;
48+
private String type = "BaseObject";
4949

5050
public BaseObject name(String name) {
5151
this.name = name;
@@ -64,10 +64,7 @@ public void setName(String name) {
6464
this.name = name;
6565
}
6666

67-
public BaseObject type(String type) {
68-
this.type = type;
69-
return this;
70-
}
67+
7168

7269
/**
7370
* Property type. Used for deserialization purposes
@@ -77,9 +74,7 @@ public String getType() {
7774
return type;
7875
}
7976

80-
public void setType(String type) {
81-
this.type = type;
82-
}
77+
8378

8479

8580
@Override

0 commit comments

Comments
 (0)