Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.85-release
1.2.86-release
4 changes: 2 additions & 2 deletions examples/generic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand All @@ -19,7 +19,7 @@
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions examples/uhost/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand All @@ -19,7 +19,7 @@
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-uhost</artifactId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java</artifactId>
<packaging>pom</packaging>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
<modules>
<module>ucloud-sdk-java-common</module>
<module>ucloud-sdk-java-cloudwatch</module>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-cloudwatch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-cloudwatch</artifactId>
<name>ucloud-sdk-java</name>
<version>1.2.85-release</version>
<version>1.2.86-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ public static class AlertRecord extends Response {
@SerializedName("StartAt")
private Integer startAt;

/** 告警恢复时间 */
/** 告警结束时间 */
@SerializedName("EndAt")
private Integer endAt;

/** 产品相关的额外属性 */
@SerializedName("ContentAttr")
private Object contentAttr;
/** 产品相关的额外属性列表 */
@SerializedName("ContentAttrList")
private List<String> contentAttrList;

public String getRegion() {
return region;
Expand Down Expand Up @@ -303,12 +303,12 @@ public void setEndAt(Integer endAt) {
this.endAt = endAt;
}

public Object getContentAttr() {
return contentAttr;
public List<String> getContentAttrList() {
return contentAttrList;
}

public void setContentAttr(Object contentAttr) {
this.contentAttr = contentAttr;
public void setContentAttrList(List<String> contentAttrList) {
this.contentAttrList = contentAttrList;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ public static class MetricSingleSample extends Response {
@SerializedName("Metric")
private String metric;

/** 指标的tag的k-v对象 */
@SerializedName("Tags")
private Object tags;
/** 指标标签列表 */
@SerializedName("TagsList")
private List<Product> tagsList;

/** 指标单个样本点对象 */
@SerializedName("Value")
Expand All @@ -106,12 +106,12 @@ public void setMetric(String metric) {
this.metric = metric;
}

public Object getTags() {
return tags;
public List<Product> getTagsList() {
return tagsList;
}

public void setTags(Object tags) {
this.tags = tags;
public void setTagsList(List<Product> tagsList) {
this.tagsList = tagsList;
}

public MetricSample getValue() {
Expand All @@ -123,6 +123,117 @@ public void setValue(MetricSample value) {
}
}

public static class Product extends Response {

/** ID */
@SerializedName("Id")
private Integer id;

/** 资源类型ID */
@SerializedName("ProductType")
private Integer productType;

/** 资源类型唯一key */
@SerializedName("ProductKey")
private String productKey;

/** 产品名称 */
@SerializedName("ProductName")
private String productName;

/** 产品子名称 */
@SerializedName("ProductName1")
private String productName1;

/** 产品中文名称 */
@SerializedName("ProductChName")
private String productChName;

/** 产品英文名称 */
@SerializedName("ProductEnName")
private String productEnName;

/** {Type: 1|2, Key:string, Name: string}[] -> JSON字符串 */
@SerializedName("Metas")
private String metas;

/** 产品分组 */
@SerializedName("ProductGroup")
private String productGroup;

public Integer getId() {
return id;
}

public void setId(Integer id) {
this.id = id;
}

public Integer getProductType() {
return productType;
}

public void setProductType(Integer productType) {
this.productType = productType;
}

public String getProductKey() {
return productKey;
}

public void setProductKey(String productKey) {
this.productKey = productKey;
}

public String getProductName() {
return productName;
}

public void setProductName(String productName) {
this.productName = productName;
}

public String getProductName1() {
return productName1;
}

public void setProductName1(String productName1) {
this.productName1 = productName1;
}

public String getProductChName() {
return productChName;
}

public void setProductChName(String productChName) {
this.productChName = productChName;
}

public String getProductEnName() {
return productEnName;
}

public void setProductEnName(String productEnName) {
this.productEnName = productEnName;
}

public String getMetas() {
return metas;
}

public void setMetas(String metas) {
this.metas = metas;
}

public String getProductGroup() {
return productGroup;
}

public void setProductGroup(String productGroup) {
this.productGroup = productGroup;
}
}

public static class QueryMetricDataSummaryRespData extends Response {

/** 总数 */
Expand Down Expand Up @@ -191,6 +302,14 @@ public static class ResourceSummary extends Response {
@SerializedName("ProjectId")
private Integer projectId;

/** 资源扩展属性列表 */
@SerializedName("ResourceExtendAttrList")
private List<ResourceMonitorItem> resourceExtendAttrList;

/** 资源标签属性列表 */
@SerializedName("LabelAttrList")
private List<ResourceMonitorItem> labelAttrList;

/** 公司id */
@SerializedName("CompanyId")
private Integer companyId;
Expand Down Expand Up @@ -223,7 +342,7 @@ public static class ResourceSummary extends Response {
@SerializedName("Status")
private Integer status;

/** 资源的各项指标当前值,类型为: map[string][]MetricSingleSample map的key为指标名,value为样本点数组。 */
/** 资源的各项指标当前值列表 */
@SerializedName("MonitorAttr")
private List<ResourceMonitorItem> monitorAttr;

Expand Down Expand Up @@ -251,6 +370,22 @@ public void setProjectId(Integer projectId) {
this.projectId = projectId;
}

public List<ResourceMonitorItem> getResourceExtendAttrList() {
return resourceExtendAttrList;
}

public void setResourceExtendAttrList(List<ResourceMonitorItem> resourceExtendAttrList) {
this.resourceExtendAttrList = resourceExtendAttrList;
}

public List<ResourceMonitorItem> getLabelAttrList() {
return labelAttrList;
}

public void setLabelAttrList(List<ResourceMonitorItem> labelAttrList) {
this.labelAttrList = labelAttrList;
}

public Integer getCompanyId() {
return companyId;
}
Expand Down
4 changes: 2 additions & 2 deletions ucloud-sdk-java-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-common</artifactId>
<name>ucloud-sdk-java</name>
<version>1.2.85-release</version>
<version>1.2.86-release</version>

<dependencies>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-cube/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-cube</artifactId>
<name>ucloud-sdk-java</name>
<version>1.2.85-release</version>
<version>1.2.86-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-ipsecvpn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-ipsecvpn</artifactId>
<name>ucloud-sdk-java</name>
<version>1.2.85-release</version>
<version>1.2.86-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-label/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-label</artifactId>
<name>ucloud-sdk-java</name>
<version>1.2.85-release</version>
<version>1.2.86-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.85-release</version>
<version>1.2.86-release</version>
</dependency>

<dependency>
Expand Down
Loading
Loading