Skip to content

Commit e23307f

Browse files
authored
auto code generation (#18)
1 parent 15cd672 commit e23307f

File tree

63 files changed

+2923
-2923
lines changed

Some content is hidden

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

63 files changed

+2923
-2923
lines changed

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.0.0-release</version>
10+
<version>1.0.0-SNAPSHOT</version>
1111
</parent>
1212

1313
<modelVersion>4.0.0</modelVersion>
@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>cn.ucloud</groupId>
2020
<artifactId>ucloud-sdk-java-common</artifactId>
21-
<version>1.0.0-release</version>
21+
<version>1.0.0-SNAPSHOT</version>
2222
</dependency>
2323
</dependencies>
2424
</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.0.0-release</version>
10+
<version>1.0.0-SNAPSHOT</version>
1111
</parent>
1212

1313
<modelVersion>4.0.0</modelVersion>
@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>cn.ucloud</groupId>
2020
<artifactId>ucloud-sdk-java-uhost</artifactId>
21-
<version>1.0.0-release</version>
21+
<version>1.0.0-SNAPSHOT</version>
2222
</dependency>
2323
</dependencies>
2424
</project>

pom.xml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,78 +7,78 @@
77
<groupId>cn.ucloud</groupId>
88
<artifactId>ucloud-sdk-java</artifactId>
99
<packaging>pom</packaging>
10-
<version>1.0.0-release</version>
10+
<version>1.0.0-SNAPSHOT</version>
1111
<modules>
1212
<module>ucloud-sdk-java-common</module>
1313

1414

15-
<module>ucloud-sdk-java-uphone</module>
15+
<module>ucloud-sdk-java-uhost</module>
1616

1717

18-
<module>ucloud-sdk-java-ipsecvpn</module>
18+
<module>ucloud-sdk-java-uphone</module>
1919

2020

21-
<module>ucloud-sdk-java-ucdn</module>
21+
<module>ucloud-sdk-java-udisk</module>
2222

2323

24-
<module>ucloud-sdk-java-ulb</module>
24+
<module>ucloud-sdk-java-ucdn</module>
2525

2626

27-
<module>ucloud-sdk-java-uec</module>
27+
<module>ucloud-sdk-java-uvms</module>
2828

2929

30-
<module>ucloud-sdk-java-udpn</module>
30+
<module>ucloud-sdk-java-ufile</module>
3131

3232

3333
<module>ucloud-sdk-java-uk8s</module>
3434

3535

36-
<module>ucloud-sdk-java-uphost</module>
37-
38-
3936
<module>ucloud-sdk-java-vpc</module>
4037

4138

42-
<module>ucloud-sdk-java-udisk</module>
39+
<module>ucloud-sdk-java-cube</module>
4340

4441

45-
<module>ucloud-sdk-java-umem</module>
42+
<module>ucloud-sdk-java-uphost</module>
4643

4744

48-
<module>ucloud-sdk-java-ufile</module>
45+
<module>ucloud-sdk-java-unet</module>
4946

5047

5148
<module>ucloud-sdk-java-uddb</module>
5249

5350

54-
<module>ucloud-sdk-java-uhost</module>
51+
<module>ucloud-sdk-java-usms</module>
5552

5653

5754
<module>ucloud-sdk-java-uaccount</module>
5855

5956

60-
<module>ucloud-sdk-java-unet</module>
57+
<module>ucloud-sdk-java-ubill</module>
6158

6259

63-
<module>ucloud-sdk-java-uvms</module>
60+
<module>ucloud-sdk-java-ulb</module>
6461

6562

66-
<module>ucloud-sdk-java-ubill</module>
63+
<module>ucloud-sdk-java-pathx</module>
6764

6865

69-
<module>ucloud-sdk-java-usms</module>
66+
<module>ucloud-sdk-java-ufs</module>
67+
68+
69+
<module>ucloud-sdk-java-udpn</module>
7070

7171

7272
<module>ucloud-sdk-java-udb</module>
7373

7474

75-
<module>ucloud-sdk-java-cube</module>
75+
<module>ucloud-sdk-java-uec</module>
7676

7777

78-
<module>ucloud-sdk-java-pathx</module>
78+
<module>ucloud-sdk-java-umem</module>
7979

8080

81-
<module>ucloud-sdk-java-ufs</module>
81+
<module>ucloud-sdk-java-ipsecvpn</module>
8282
</modules>
8383

8484
<name>ucloud-sdk-java</name>

ucloud-sdk-java-common/pom.xml

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

1313
<modelVersion>4.0.0</modelVersion>
1414
<artifactId>ucloud-sdk-java-common</artifactId>
15-
<version>1.0.0-release</version>
15+
<version>1.0.0-SNAPSHOT</version>
1616

1717
<dependencies>
1818
<dependency>

ucloud-sdk-java-cube/pom.xml

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

1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>ucloud-sdk-java-cube</artifactId>
13-
<version>1.0.0-release</version>
13+
<version>1.0.0-SNAPSHOT</version>
1414

1515
<dependencies>
1616
<dependency>
1717
<groupId>cn.ucloud</groupId>
1818
<artifactId>ucloud-sdk-java-common</artifactId>
19-
<version>1.0.0-release</version>
19+
<version>1.0.0-SNAPSHOT</version>
2020
</dependency>
2121

2222
<dependency>

ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeMetricsResponse.java

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -33,57 +33,57 @@ public void setDataSets(List<MetricDataSet> dataSets) {
3333
this.dataSets = dataSets;
3434
}
3535

36-
public static class MetricDataSet extends Response {
36+
public static class ValueSet extends Response {
3737

3838
/** */
39-
@SerializedName("MetricName")
40-
private String metricName;
39+
@SerializedName("Value")
40+
private Double value;
4141

4242
/** */
43-
@SerializedName("Values")
44-
private List<ValueSet> values;
43+
@SerializedName("Timestamp")
44+
private Integer timestamp;
4545

46-
public String getMetricName() {
47-
return metricName;
46+
public Double getValue() {
47+
return value;
4848
}
4949

50-
public void setMetricName(String metricName) {
51-
this.metricName = metricName;
50+
public void setValue(Double value) {
51+
this.value = value;
5252
}
5353

54-
public List<ValueSet> getValues() {
55-
return values;
54+
public Integer getTimestamp() {
55+
return timestamp;
5656
}
5757

58-
public void setValues(List<ValueSet> values) {
59-
this.values = values;
58+
public void setTimestamp(Integer timestamp) {
59+
this.timestamp = timestamp;
6060
}
6161
}
6262

63-
public static class ValueSet extends Response {
63+
public static class MetricDataSet extends Response {
6464

6565
/** */
66-
@SerializedName("Value")
67-
private Double value;
66+
@SerializedName("MetricName")
67+
private String metricName;
6868

6969
/** */
70-
@SerializedName("Timestamp")
71-
private Integer timestamp;
70+
@SerializedName("Values")
71+
private List<ValueSet> values;
7272

73-
public Double getValue() {
74-
return value;
73+
public String getMetricName() {
74+
return metricName;
7575
}
7676

77-
public void setValue(Double value) {
78-
this.value = value;
77+
public void setMetricName(String metricName) {
78+
this.metricName = metricName;
7979
}
8080

81-
public Integer getTimestamp() {
82-
return timestamp;
81+
public List<ValueSet> getValues() {
82+
return values;
8383
}
8484

85-
public void setTimestamp(Integer timestamp) {
86-
this.timestamp = timestamp;
85+
public void setValues(List<ValueSet> values) {
86+
this.values = values;
8787
}
8888
}
8989
}

ucloud-sdk-java-ipsecvpn/pom.xml

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

1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>ucloud-sdk-java-ipsecvpn</artifactId>
13-
<version>1.0.0-release</version>
13+
<version>1.0.0-SNAPSHOT</version>
1414

1515
<dependencies>
1616
<dependency>
1717
<groupId>cn.ucloud</groupId>
1818
<artifactId>ucloud-sdk-java-common</artifactId>
19-
<version>1.0.0-release</version>
19+
<version>1.0.0-SNAPSHOT</version>
2020
</dependency>
2121

2222
<dependency>

ucloud-sdk-java-pathx/pom.xml

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

1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>ucloud-sdk-java-pathx</artifactId>
13-
<version>1.0.0-release</version>
13+
<version>1.0.0-SNAPSHOT</version>
1414

1515
<dependencies>
1616
<dependency>
1717
<groupId>cn.ucloud</groupId>
1818
<artifactId>ucloud-sdk-java-common</artifactId>
19-
<version>1.0.0-release</version>
19+
<version>1.0.0-SNAPSHOT</version>
2020
</dependency>
2121

2222
<dependency>

0 commit comments

Comments
 (0)