Skip to content

Commit 5764cc7

Browse files
committed
sdk: rolling update for 1.2.87-release
1 parent 63db35e commit 5764cc7

59 files changed

Lines changed: 339 additions & 387 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.86-release
1+
1.2.87-release

examples/generic/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>ucloud-sdk-java</artifactId>
99
<groupId>cn.ucloud</groupId>
10-
<version>1.2.86-release</version>
10+
<version>1.2.87-release</version>
1111
</parent>
1212

1313
<modelVersion>4.0.0</modelVersion>
@@ -19,7 +19,7 @@
1919
<dependency>
2020
<groupId>cn.ucloud</groupId>
2121
<artifactId>ucloud-sdk-java-common</artifactId>
22-
<version>1.2.86-release</version>
22+
<version>1.2.87-release</version>
2323
</dependency>
2424
</dependencies>
2525
</project>

examples/uhost/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>ucloud-sdk-java</artifactId>
99
<groupId>cn.ucloud</groupId>
10-
<version>1.2.86-release</version>
10+
<version>1.2.87-release</version>
1111
</parent>
1212

1313
<modelVersion>4.0.0</modelVersion>
@@ -19,7 +19,7 @@
1919
<dependency>
2020
<groupId>cn.ucloud</groupId>
2121
<artifactId>ucloud-sdk-java-uhost</artifactId>
22-
<version>1.2.86-release</version>
22+
<version>1.2.87-release</version>
2323
</dependency>
2424
</dependencies>
2525
</project>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>cn.ucloud</groupId>
88
<artifactId>ucloud-sdk-java</artifactId>
99
<packaging>pom</packaging>
10-
<version>1.2.86-release</version>
10+
<version>1.2.87-release</version>
1111
<modules>
1212
<module>ucloud-sdk-java-common</module>
1313
<module>ucloud-sdk-java-cloudwatch</module>

ucloud-sdk-java-cloudwatch/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
<parent>
66
<artifactId>ucloud-sdk-java</artifactId>
77
<groupId>cn.ucloud</groupId>
8-
<version>1.2.86-release</version>
8+
<version>1.2.87-release</version>
99
</parent>
1010

1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>ucloud-sdk-java-cloudwatch</artifactId>
1313
<name>ucloud-sdk-java</name>
14-
<version>1.2.86-release</version>
14+
<version>1.2.87-release</version>
1515

1616
<dependencies>
1717
<dependency>
1818
<groupId>cn.ucloud</groupId>
1919
<artifactId>ucloud-sdk-java-common</artifactId>
20-
<version>1.2.86-release</version>
20+
<version>1.2.87-release</version>
2121
</dependency>
2222

2323
<dependency>

ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertRecordResponse.java

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public static class AlertRecord extends Response {
133133

134134
/** 产品相关的额外属性列表 */
135135
@SerializedName("ContentAttrList")
136-
private List<String> contentAttrList;
136+
private List<ContentAttrItem> contentAttrList;
137137

138138
public String getRegion() {
139139
return region;
@@ -303,12 +303,39 @@ public void setEndAt(Integer endAt) {
303303
this.endAt = endAt;
304304
}
305305

306-
public List<String> getContentAttrList() {
306+
public List<ContentAttrItem> getContentAttrList() {
307307
return contentAttrList;
308308
}
309309

310-
public void setContentAttrList(List<String> contentAttrList) {
310+
public void setContentAttrList(List<ContentAttrItem> contentAttrList) {
311311
this.contentAttrList = contentAttrList;
312312
}
313313
}
314+
315+
public static class ContentAttrItem extends Response {
316+
317+
/** 键 */
318+
@SerializedName("Key")
319+
private String key;
320+
321+
/** 值 */
322+
@SerializedName("Value")
323+
private String value;
324+
325+
public String getKey() {
326+
return key;
327+
}
328+
329+
public void setKey(String key) {
330+
this.key = key;
331+
}
332+
333+
public String getValue() {
334+
return value;
335+
}
336+
337+
public void setValue(String value) {
338+
this.value = value;
339+
}
340+
}
314341
}

ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/QueryMetricDataSetResponse.java

Lines changed: 60 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static class MetricResult extends Response {
5757

5858
/** 资源标签列表。每项为 TagListItem:Tag(标签名)和 TagValue(标签值)。 */
5959
@SerializedName("TagList")
60-
private List<Integer> tagList;
60+
private List<TagListItem> tagList;
6161

6262
/** 指标数据点列表,元素为 MetricPoint */
6363
@SerializedName("Values")
@@ -79,11 +79,11 @@ public void setResourceName(String resourceName) {
7979
this.resourceName = resourceName;
8080
}
8181

82-
public List<Integer> getTagList() {
82+
public List<TagListItem> getTagList() {
8383
return tagList;
8484
}
8585

86-
public void setTagList(List<Integer> tagList) {
86+
public void setTagList(List<TagListItem> tagList) {
8787
this.tagList = tagList;
8888
}
8989

@@ -123,105 +123,6 @@ public void setValue(Double value) {
123123
}
124124
}
125125

126-
public static class ObjectType extends Response {
127-
128-
/** ID */
129-
@SerializedName("Id")
130-
private Integer id;
131-
132-
/** 资源类型ID */
133-
@SerializedName("ObjectType")
134-
private String objectType;
135-
136-
/** 资源类型 */
137-
@SerializedName("ObjectTypeKey")
138-
private String objectTypeKey;
139-
140-
/** 产品名称 */
141-
@SerializedName("ProductName")
142-
private String productName;
143-
144-
/** 产品子名称 */
145-
@SerializedName("ProductName1")
146-
private String productName1;
147-
148-
/** 产品中文名称 */
149-
@SerializedName("ProductCNName")
150-
private String productCNName;
151-
152-
/** 产品英文名称 */
153-
@SerializedName("ProductENName")
154-
private String productENName;
155-
156-
/** {type: spec|basic, key:string, name: string}[] -> JSON字符串 */
157-
@SerializedName("Metas")
158-
private String metas;
159-
160-
public Integer getId() {
161-
return id;
162-
}
163-
164-
public void setId(Integer id) {
165-
this.id = id;
166-
}
167-
168-
public String getObjectType() {
169-
return objectType;
170-
}
171-
172-
public void setObjectType(String objectType) {
173-
this.objectType = objectType;
174-
}
175-
176-
public String getObjectTypeKey() {
177-
return objectTypeKey;
178-
}
179-
180-
public void setObjectTypeKey(String objectTypeKey) {
181-
this.objectTypeKey = objectTypeKey;
182-
}
183-
184-
public String getProductName() {
185-
return productName;
186-
}
187-
188-
public void setProductName(String productName) {
189-
this.productName = productName;
190-
}
191-
192-
public String getProductName1() {
193-
return productName1;
194-
}
195-
196-
public void setProductName1(String productName1) {
197-
this.productName1 = productName1;
198-
}
199-
200-
public String getProductCNName() {
201-
return productCNName;
202-
}
203-
204-
public void setProductCNName(String productCNName) {
205-
this.productCNName = productCNName;
206-
}
207-
208-
public String getProductENName() {
209-
return productENName;
210-
}
211-
212-
public void setProductENName(String productENName) {
213-
this.productENName = productENName;
214-
}
215-
216-
public String getMetas() {
217-
return metas;
218-
}
219-
220-
public void setMetas(String metas) {
221-
this.metas = metas;
222-
}
223-
}
224-
225126
public static class QueryMetricDataResp extends Response {
226127

227128
/** 无效或无权限资源的 ID 列表 */
@@ -265,7 +166,7 @@ public static class QueryMetricDataRespItem extends Response {
265166

266167
/** 标签列表。每项为 TagEntry:TagName(标签名)和 KeyList(该标签的全部候选值)。 */
267168
@SerializedName("TagEntries")
268-
private List<ObjectType> tagEntries;
169+
private List<TagEntry> tagEntries;
269170

270171
/** 查询到的时间序列列表 */
271172
@SerializedName("Results")
@@ -295,11 +196,11 @@ public void setErrMsg(String errMsg) {
295196
this.errMsg = errMsg;
296197
}
297198

298-
public List<ObjectType> getTagEntries() {
199+
public List<TagEntry> getTagEntries() {
299200
return tagEntries;
300201
}
301202

302-
public void setTagEntries(List<ObjectType> tagEntries) {
203+
public void setTagEntries(List<TagEntry> tagEntries) {
303204
this.tagEntries = tagEntries;
304205
}
305206

@@ -311,4 +212,58 @@ public void setResults(List<MetricResult> results) {
311212
this.results = results;
312213
}
313214
}
215+
216+
public static class TagEntry extends Response {
217+
218+
/** 标签名称 */
219+
@SerializedName("TagName")
220+
private String tagName;
221+
222+
/** 标签候选值列表 */
223+
@SerializedName("KeyList")
224+
private List<String> keyList;
225+
226+
public String getTagName() {
227+
return tagName;
228+
}
229+
230+
public void setTagName(String tagName) {
231+
this.tagName = tagName;
232+
}
233+
234+
public List<String> getKeyList() {
235+
return keyList;
236+
}
237+
238+
public void setKeyList(List<String> keyList) {
239+
this.keyList = keyList;
240+
}
241+
}
242+
243+
public static class TagListItem extends Response {
244+
245+
/** 标签名 */
246+
@SerializedName("Tag")
247+
private String tag;
248+
249+
/** 标签值 */
250+
@SerializedName("TagValue")
251+
private String tagValue;
252+
253+
public String getTag() {
254+
return tag;
255+
}
256+
257+
public void setTag(String tag) {
258+
this.tag = tag;
259+
}
260+
261+
public String getTagValue() {
262+
return tagValue;
263+
}
264+
265+
public void setTagValue(String tagValue) {
266+
this.tagValue = tagValue;
267+
}
268+
}
314269
}

0 commit comments

Comments
 (0)