Skip to content

Commit 0df4b14

Browse files
committed
Generated java-async 2018-11-01 for dms-enterprise.
1 parent c2fa6ca commit 0df4b14

File tree

5 files changed

+228
-1
lines changed

5 files changed

+228
-1
lines changed

dms-enterprise-20181101/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-12-03 Version: 2.0.3
2+
- Generated java-async 2018-11-01 for dms-enterprise.
3+
14
2025-12-02 Version: 2.0.2
25
- Generated java-async 2018-11-01 for dms-enterprise.
36

dms-enterprise-20181101/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-dms_enterprise20181101</artifactId>
6-
<version>2.0.2</version>
6+
<version>2.0.3</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-dms_enterprise20181101</name>
99
<description>Alibaba Cloud dms-enterprise (20181101) Async SDK for Java

dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateMetaCategoryRequest.java

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,27 @@ public class CreateMetaCategoryRequest extends Request {
2121
@com.aliyun.core.annotation.NameInMap("RegionId")
2222
private String regionId;
2323

24+
@com.aliyun.core.annotation.Query
25+
@com.aliyun.core.annotation.NameInMap("Description")
26+
private String description;
27+
2428
@com.aliyun.core.annotation.Query
2529
@com.aliyun.core.annotation.NameInMap("Name")
2630
@com.aliyun.core.annotation.Validation(required = true)
2731
private String name;
2832

33+
@com.aliyun.core.annotation.Query
34+
@com.aliyun.core.annotation.NameInMap("OwnerIds")
35+
private java.util.List<Long> ownerIds;
36+
2937
@com.aliyun.core.annotation.Query
3038
@com.aliyun.core.annotation.NameInMap("ParentCategoryId")
3139
private Long parentCategoryId;
3240

41+
@com.aliyun.core.annotation.Query
42+
@com.aliyun.core.annotation.NameInMap("Remark")
43+
private String remark;
44+
3345
@com.aliyun.core.annotation.Query
3446
@com.aliyun.core.annotation.NameInMap("Tid")
3547
@com.aliyun.core.annotation.Validation(minimum = 1)
@@ -38,8 +50,11 @@ public class CreateMetaCategoryRequest extends Request {
3850
private CreateMetaCategoryRequest(Builder builder) {
3951
super(builder);
4052
this.regionId = builder.regionId;
53+
this.description = builder.description;
4154
this.name = builder.name;
55+
this.ownerIds = builder.ownerIds;
4256
this.parentCategoryId = builder.parentCategoryId;
57+
this.remark = builder.remark;
4358
this.tid = builder.tid;
4459
}
4560

@@ -63,20 +78,41 @@ public String getRegionId() {
6378
return this.regionId;
6479
}
6580

81+
/**
82+
* @return description
83+
*/
84+
public String getDescription() {
85+
return this.description;
86+
}
87+
6688
/**
6789
* @return name
6890
*/
6991
public String getName() {
7092
return this.name;
7193
}
7294

95+
/**
96+
* @return ownerIds
97+
*/
98+
public java.util.List<Long> getOwnerIds() {
99+
return this.ownerIds;
100+
}
101+
73102
/**
74103
* @return parentCategoryId
75104
*/
76105
public Long getParentCategoryId() {
77106
return this.parentCategoryId;
78107
}
79108

109+
/**
110+
* @return remark
111+
*/
112+
public String getRemark() {
113+
return this.remark;
114+
}
115+
80116
/**
81117
* @return tid
82118
*/
@@ -86,8 +122,11 @@ public Long getTid() {
86122

87123
public static final class Builder extends Request.Builder<CreateMetaCategoryRequest, Builder> {
88124
private String regionId;
125+
private String description;
89126
private String name;
127+
private java.util.List<Long> ownerIds;
90128
private Long parentCategoryId;
129+
private String remark;
91130
private Long tid;
92131

93132
private Builder() {
@@ -97,8 +136,11 @@ private Builder() {
97136
private Builder(CreateMetaCategoryRequest request) {
98137
super(request);
99138
this.regionId = request.regionId;
139+
this.description = request.description;
100140
this.name = request.name;
141+
this.ownerIds = request.ownerIds;
101142
this.parentCategoryId = request.parentCategoryId;
143+
this.remark = request.remark;
102144
this.tid = request.tid;
103145
}
104146

@@ -111,6 +153,15 @@ public Builder regionId(String regionId) {
111153
return this;
112154
}
113155

156+
/**
157+
* Description.
158+
*/
159+
public Builder description(String description) {
160+
this.putQueryParameter("Description", description);
161+
this.description = description;
162+
return this;
163+
}
164+
114165
/**
115166
* <p>The name of the category.</p>
116167
* <p>This parameter is required.</p>
@@ -124,6 +175,16 @@ public Builder name(String name) {
124175
return this;
125176
}
126177

178+
/**
179+
* OwnerIds.
180+
*/
181+
public Builder ownerIds(java.util.List<Long> ownerIds) {
182+
String ownerIdsShrink = shrink(ownerIds, "OwnerIds", "json");
183+
this.putQueryParameter("OwnerIds", ownerIdsShrink);
184+
this.ownerIds = ownerIds;
185+
return this;
186+
}
187+
127188
/**
128189
* <p>The ID of the parent category. The new category is created under this parent category. If this value is left empty, the new category is of the first level.</p>
129190
*
@@ -136,6 +197,15 @@ public Builder parentCategoryId(Long parentCategoryId) {
136197
return this;
137198
}
138199

200+
/**
201+
* Remark.
202+
*/
203+
public Builder remark(String remark) {
204+
this.putQueryParameter("Remark", remark);
205+
this.remark = remark;
206+
return this;
207+
}
208+
139209
/**
140210
* <p>The ID of the tenant. You can call the <a href="https://help.aliyun.com/document_detail/198073.html">GetUserActiveTenant</a> or <a href="https://help.aliyun.com/document_detail/198074.html">ListUserTenants</a> operation to obtain the tenant ID.</p>
141211
*

dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/MetaCategory.java

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,34 @@ public class MetaCategory extends TeaModel {
2626
@com.aliyun.core.annotation.NameInMap("Depth")
2727
private Integer depth;
2828

29+
@com.aliyun.core.annotation.NameInMap("Description")
30+
private String description;
31+
2932
@com.aliyun.core.annotation.NameInMap("Name")
3033
private String name;
3134

35+
@com.aliyun.core.annotation.NameInMap("OwnerIds")
36+
private java.util.List<Long> ownerIds;
37+
38+
@com.aliyun.core.annotation.NameInMap("OwnerNickNames")
39+
private java.util.List<String> ownerNickNames;
40+
3241
@com.aliyun.core.annotation.NameInMap("ParentCategoryId")
3342
private Long parentCategoryId;
3443

44+
@com.aliyun.core.annotation.NameInMap("Remark")
45+
private String remark;
46+
3547
private MetaCategory(Builder builder) {
3648
this.categoryId = builder.categoryId;
3749
this.createTime = builder.createTime;
3850
this.depth = builder.depth;
51+
this.description = builder.description;
3952
this.name = builder.name;
53+
this.ownerIds = builder.ownerIds;
54+
this.ownerNickNames = builder.ownerNickNames;
4055
this.parentCategoryId = builder.parentCategoryId;
56+
this.remark = builder.remark;
4157
}
4258

4359
public static Builder builder() {
@@ -73,26 +89,58 @@ public Integer getDepth() {
7389
return this.depth;
7490
}
7591

92+
/**
93+
* @return description
94+
*/
95+
public String getDescription() {
96+
return this.description;
97+
}
98+
7699
/**
77100
* @return name
78101
*/
79102
public String getName() {
80103
return this.name;
81104
}
82105

106+
/**
107+
* @return ownerIds
108+
*/
109+
public java.util.List<Long> getOwnerIds() {
110+
return this.ownerIds;
111+
}
112+
113+
/**
114+
* @return ownerNickNames
115+
*/
116+
public java.util.List<String> getOwnerNickNames() {
117+
return this.ownerNickNames;
118+
}
119+
83120
/**
84121
* @return parentCategoryId
85122
*/
86123
public Long getParentCategoryId() {
87124
return this.parentCategoryId;
88125
}
89126

127+
/**
128+
* @return remark
129+
*/
130+
public String getRemark() {
131+
return this.remark;
132+
}
133+
90134
public static final class Builder {
91135
private Long categoryId;
92136
private String createTime;
93137
private Integer depth;
138+
private String description;
94139
private String name;
140+
private java.util.List<Long> ownerIds;
141+
private java.util.List<String> ownerNickNames;
95142
private Long parentCategoryId;
143+
private String remark;
96144

97145
private Builder() {
98146
}
@@ -101,8 +149,12 @@ private Builder(MetaCategory model) {
101149
this.categoryId = model.categoryId;
102150
this.createTime = model.createTime;
103151
this.depth = model.depth;
152+
this.description = model.description;
104153
this.name = model.name;
154+
this.ownerIds = model.ownerIds;
155+
this.ownerNickNames = model.ownerNickNames;
105156
this.parentCategoryId = model.parentCategoryId;
157+
this.remark = model.remark;
106158
}
107159

108160
/**
@@ -129,6 +181,14 @@ public Builder depth(Integer depth) {
129181
return this;
130182
}
131183

184+
/**
185+
* Description.
186+
*/
187+
public Builder description(String description) {
188+
this.description = description;
189+
return this;
190+
}
191+
132192
/**
133193
* Name.
134194
*/
@@ -137,6 +197,22 @@ public Builder name(String name) {
137197
return this;
138198
}
139199

200+
/**
201+
* OwnerIds.
202+
*/
203+
public Builder ownerIds(java.util.List<Long> ownerIds) {
204+
this.ownerIds = ownerIds;
205+
return this;
206+
}
207+
208+
/**
209+
* OwnerNickNames.
210+
*/
211+
public Builder ownerNickNames(java.util.List<String> ownerNickNames) {
212+
this.ownerNickNames = ownerNickNames;
213+
return this;
214+
}
215+
140216
/**
141217
* ParentCategoryId.
142218
*/
@@ -145,6 +221,14 @@ public Builder parentCategoryId(Long parentCategoryId) {
145221
return this;
146222
}
147223

224+
/**
225+
* Remark.
226+
*/
227+
public Builder remark(String remark) {
228+
this.remark = remark;
229+
return this;
230+
}
231+
148232
public MetaCategory build() {
149233
return new MetaCategory(this);
150234
}

0 commit comments

Comments
 (0)