diff --git a/pom.xml b/pom.xml index c1e1e312..c584630e 100644 --- a/pom.xml +++ b/pom.xml @@ -12,73 +12,73 @@ ucloud-sdk-java-common - ucloud-sdk-java-uhost + ucloud-sdk-java-uk8s - ucloud-sdk-java-uphone + ucloud-sdk-java-udpn - ucloud-sdk-java-udisk + ucloud-sdk-java-unet - ucloud-sdk-java-ucdn + ucloud-sdk-java-uddb - ucloud-sdk-java-uvms + ucloud-sdk-java-vpc - ucloud-sdk-java-ufile + ucloud-sdk-java-ulb - ucloud-sdk-java-uk8s + ucloud-sdk-java-ipsecvpn - ucloud-sdk-java-vpc + ucloud-sdk-java-ubill - ucloud-sdk-java-cube + ucloud-sdk-java-uhost - ucloud-sdk-java-uphost + ucloud-sdk-java-ufs - ucloud-sdk-java-unet + ucloud-sdk-java-ucdn - ucloud-sdk-java-uddb + ucloud-sdk-java-uaccount - ucloud-sdk-java-usms + ucloud-sdk-java-uec - ucloud-sdk-java-uaccount + ucloud-sdk-java-umem - ucloud-sdk-java-ubill + ucloud-sdk-java-usms - ucloud-sdk-java-ulb + ucloud-sdk-java-pathx - ucloud-sdk-java-pathx + ucloud-sdk-java-udb - ucloud-sdk-java-ufs + ucloud-sdk-java-udisk - ucloud-sdk-java-udpn + ucloud-sdk-java-cube - ucloud-sdk-java-udb + ucloud-sdk-java-uphost - ucloud-sdk-java-uec + ucloud-sdk-java-uphone - ucloud-sdk-java-umem + ucloud-sdk-java-ufile - ucloud-sdk-java-ipsecvpn + ucloud-sdk-java-uvms ucloud-sdk-java diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeMetricsResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeMetricsResponse.java index 1d00065d..3f1fb78b 100644 --- a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeMetricsResponse.java +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeMetricsResponse.java @@ -33,57 +33,57 @@ public void setDataSets(List dataSets) { this.dataSets = dataSets; } - public static class ValueSet extends Response { + public static class MetricDataSet extends Response { /** */ - @SerializedName("Value") - private Double value; + @SerializedName("MetricName") + private String metricName; /** */ - @SerializedName("Timestamp") - private Integer timestamp; + @SerializedName("Values") + private List values; - public Double getValue() { - return value; + public String getMetricName() { + return metricName; } - public void setValue(Double value) { - this.value = value; + public void setMetricName(String metricName) { + this.metricName = metricName; } - public Integer getTimestamp() { - return timestamp; + public List getValues() { + return values; } - public void setTimestamp(Integer timestamp) { - this.timestamp = timestamp; + public void setValues(List values) { + this.values = values; } } - public static class MetricDataSet extends Response { + public static class ValueSet extends Response { /** */ - @SerializedName("MetricName") - private String metricName; + @SerializedName("Value") + private Double value; /** */ - @SerializedName("Values") - private List values; + @SerializedName("Timestamp") + private Integer timestamp; - public String getMetricName() { - return metricName; + public Double getValue() { + return value; } - public void setMetricName(String metricName) { - this.metricName = metricName; + public void setValue(Double value) { + this.value = value; } - public List getValues() { - return values; + public Integer getTimestamp() { + return timestamp; } - public void setValues(List values) { - this.values = values; + public void setTimestamp(Integer timestamp) { + this.timestamp = timestamp; } } } diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3InstanceResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3InstanceResponse.java index dbd4c083..bf6c8018 100644 --- a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3InstanceResponse.java +++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3InstanceResponse.java @@ -45,63 +45,30 @@ public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } - public static class ForwardTask extends Response { - - /** - * 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS","WSWS","WSSWS","WSSWSS"]。TCP和UDP代表四层转发,其余为七层转发。 - */ - @SerializedName("Protocol") - private String protocol; - - /** 源站服务器监听的端口号 */ - @SerializedName("RSPort") - private Integer rsPort; - - /** 加速端口 */ - @SerializedName("Port") - private Integer port; - - public String getProtocol() { - return protocol; - } - - public void setProtocol(String protocol) { - this.protocol = protocol; - } - - public Integer getRSPort() { - return rsPort; - } - - public void setRSPort(Integer rsPort) { - this.rsPort = rsPort; - } - - public Integer getPort() { - return port; - } - - public void setPort(Integer port) { - this.port = port; - } - } - - public static class OutPublicIpInfo extends Response { + public static class SrcAreaInfo extends Response { - /** 线路回源节点EIP */ - @SerializedName("IP") - private String ip; + /** AreaCode ,城市机场代码 */ + @SerializedName("AreaCode") + private String areaCode; - /** 线路回源节点机房代号 */ + /** AreaCode对应城市名 */ @SerializedName("Area") private String area; - public String getIP() { - return ip; + /** 国旗Emoji */ + @SerializedName("FlagEmoji") + private String flagEmoji; + + /** 国旗Unicode */ + @SerializedName("FlagUnicode") + private String flagUnicode; + + public String getAreaCode() { + return areaCode; } - public void setIP(String ip) { - this.ip = ip; + public void setAreaCode(String areaCode) { + this.areaCode = areaCode; } public String getArea() { @@ -111,32 +78,21 @@ public String getArea() { public void setArea(String area) { this.area = area; } - } - public static class AccelerationAreaInfos extends Response { - - /** 加速区code */ - @SerializedName("AccelerationArea") - private String accelerationArea; - - /** 加速节点信息 */ - @SerializedName("AccelerationNodes") - private List accelerationNodes; - - public String getAccelerationArea() { - return accelerationArea; + public String getFlagEmoji() { + return flagEmoji; } - public void setAccelerationArea(String accelerationArea) { - this.accelerationArea = accelerationArea; + public void setFlagEmoji(String flagEmoji) { + this.flagEmoji = flagEmoji; } - public List getAccelerationNodes() { - return accelerationNodes; + public String getFlagUnicode() { + return flagUnicode; } - public void setAccelerationNodes(List accelerationNodes) { - this.accelerationNodes = accelerationNodes; + public void setFlagUnicode(String flagUnicode) { + this.flagUnicode = flagUnicode; } } @@ -347,30 +303,63 @@ public void setDomain(String domain) { } } - public static class SrcAreaInfo extends Response { + public static class ForwardTask extends Response { - /** AreaCode ,城市机场代码 */ - @SerializedName("AreaCode") - private String areaCode; + /** + * 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS","WSWS","WSSWS","WSSWSS"]。TCP和UDP代表四层转发,其余为七层转发。 + */ + @SerializedName("Protocol") + private String protocol; - /** AreaCode对应城市名 */ - @SerializedName("Area") - private String area; + /** 源站服务器监听的端口号 */ + @SerializedName("RSPort") + private Integer rsPort; - /** 国旗Emoji */ - @SerializedName("FlagEmoji") - private String flagEmoji; + /** 加速端口 */ + @SerializedName("Port") + private Integer port; - /** 国旗Unicode */ - @SerializedName("FlagUnicode") - private String flagUnicode; + public String getProtocol() { + return protocol; + } - public String getAreaCode() { - return areaCode; + public void setProtocol(String protocol) { + this.protocol = protocol; } - public void setAreaCode(String areaCode) { - this.areaCode = areaCode; + public Integer getRSPort() { + return rsPort; + } + + public void setRSPort(Integer rsPort) { + this.rsPort = rsPort; + } + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + } + + public static class OutPublicIpInfo extends Response { + + /** 线路回源节点EIP */ + @SerializedName("IP") + private String ip; + + /** 线路回源节点机房代号 */ + @SerializedName("Area") + private String area; + + public String getIP() { + return ip; + } + + public void setIP(String ip) { + this.ip = ip; } public String getArea() { @@ -380,21 +369,32 @@ public String getArea() { public void setArea(String area) { this.area = area; } + } - public String getFlagEmoji() { - return flagEmoji; + public static class AccelerationAreaInfos extends Response { + + /** 加速区code */ + @SerializedName("AccelerationArea") + private String accelerationArea; + + /** 加速节点信息 */ + @SerializedName("AccelerationNodes") + private List accelerationNodes; + + public String getAccelerationArea() { + return accelerationArea; } - public void setFlagEmoji(String flagEmoji) { - this.flagEmoji = flagEmoji; + public void setAccelerationArea(String accelerationArea) { + this.accelerationArea = accelerationArea; } - public String getFlagUnicode() { - return flagUnicode; + public List getAccelerationNodes() { + return accelerationNodes; } - public void setFlagUnicode(String flagUnicode) { - this.flagUnicode = flagUnicode; + public void setAccelerationNodes(List accelerationNodes) { + this.accelerationNodes = accelerationNodes; } } } diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3OptimizationResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3OptimizationResponse.java index c5297ada..488ec023 100644 --- a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3OptimizationResponse.java +++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3OptimizationResponse.java @@ -33,6 +33,45 @@ public void setAccelerationInfos(List accelerationInfos) { this.accelerationInfos = accelerationInfos; } + public static class AccelerationInfo extends Response { + + /** 加速大区代码 */ + @SerializedName("AccelerationArea") + private String accelerationArea; + + /** 加速大区名称 */ + @SerializedName("AccelerationName") + private String accelerationName; + + /** 加速提升情况 */ + @SerializedName("NodeInfo") + private List nodeInfo; + + public String getAccelerationArea() { + return accelerationArea; + } + + public void setAccelerationArea(String accelerationArea) { + this.accelerationArea = accelerationArea; + } + + public String getAccelerationName() { + return accelerationName; + } + + public void setAccelerationName(String accelerationName) { + this.accelerationName = accelerationName; + } + + public List getNodeInfo() { + return nodeInfo; + } + + public void setNodeInfo(List nodeInfo) { + this.nodeInfo = nodeInfo; + } + } + public static class NodeDelays extends Response { /** 加速区域 */ @@ -167,43 +206,4 @@ public void setLossOptimization(Double lossOptimization) { this.lossOptimization = lossOptimization; } } - - public static class AccelerationInfo extends Response { - - /** 加速大区代码 */ - @SerializedName("AccelerationArea") - private String accelerationArea; - - /** 加速大区名称 */ - @SerializedName("AccelerationName") - private String accelerationName; - - /** 加速提升情况 */ - @SerializedName("NodeInfo") - private List nodeInfo; - - public String getAccelerationArea() { - return accelerationArea; - } - - public void setAccelerationArea(String accelerationArea) { - this.accelerationArea = accelerationArea; - } - - public String getAccelerationName() { - return accelerationName; - } - - public void setAccelerationName(String accelerationName) { - this.accelerationName = accelerationName; - } - - public List getNodeInfo() { - return nodeInfo; - } - - public void setNodeInfo(List nodeInfo) { - this.nodeInfo = nodeInfo; - } - } } diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGAInstanceResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGAInstanceResponse.java index 25187fc0..c39b2da5 100644 --- a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGAInstanceResponse.java +++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGAInstanceResponse.java @@ -45,6 +45,72 @@ public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } + public static class UGAL4Forwarder extends Response { + + /** 接入端口 */ + @SerializedName("Port") + private Integer port; + + /** 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS"]。TCP和UDP代表四层转发,其余为七层转发 */ + @SerializedName("Protocol") + private String protocol; + + /** RSPort,源站监听端口 */ + @SerializedName("RSPort") + private Integer rsPort; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + public Integer getRSPort() { + return rsPort; + } + + public void setRSPort(Integer rsPort) { + this.rsPort = rsPort; + } + } + + public static class OutPublicIpInfo extends Response { + + /** 线路回源节点EIP */ + @SerializedName("IP") + private String ip; + + /** 线路回源节点机房代号 */ + @SerializedName("Area") + private String area; + + public String getIP() { + return ip; + } + + public void setIP(String ip) { + this.ip = ip; + } + + public String getArea() { + return area; + } + + public void setArea(String area) { + this.area = area; + } + } + public static class UGAAInfo extends Response { /** 加速配置实例ID */ @@ -207,135 +273,6 @@ public void setProtocol(String protocol) { } } - public static class OutPublicIpInfo extends Response { - - /** 线路回源节点EIP */ - @SerializedName("IP") - private String ip; - - /** 线路回源节点机房代号 */ - @SerializedName("Area") - private String area; - - public String getIP() { - return ip; - } - - public void setIP(String ip) { - this.ip = ip; - } - - public String getArea() { - return area; - } - - public void setArea(String area) { - this.area = area; - } - } - - public static class UGAL7Forwarder extends Response { - - /** 接入端口 */ - @SerializedName("Port") - private Integer port; - - /** 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS"]。TCP和UDP代表四层转发,其余为七层转发 */ - @SerializedName("Protocol") - private String protocol; - - /** RSPort,源站监听端口 */ - @SerializedName("RSPort") - private Integer rsPort; - - /** 证书ID */ - @SerializedName("SSLId") - private String sslId; - - /** 证书名称 */ - @SerializedName("SSLName") - private String sslName; - - public Integer getPort() { - return port; - } - - public void setPort(Integer port) { - this.port = port; - } - - public String getProtocol() { - return protocol; - } - - public void setProtocol(String protocol) { - this.protocol = protocol; - } - - public Integer getRSPort() { - return rsPort; - } - - public void setRSPort(Integer rsPort) { - this.rsPort = rsPort; - } - - public String getSSLId() { - return sslId; - } - - public void setSSLId(String sslId) { - this.sslId = sslId; - } - - public String getSSLName() { - return sslName; - } - - public void setSSLName(String sslName) { - this.sslName = sslName; - } - } - - public static class UGAL4Forwarder extends Response { - - /** 接入端口 */ - @SerializedName("Port") - private Integer port; - - /** 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS"]。TCP和UDP代表四层转发,其余为七层转发 */ - @SerializedName("Protocol") - private String protocol; - - /** RSPort,源站监听端口 */ - @SerializedName("RSPort") - private Integer rsPort; - - public Integer getPort() { - return port; - } - - public void setPort(Integer port) { - this.port = port; - } - - public String getProtocol() { - return protocol; - } - - public void setProtocol(String protocol) { - this.protocol = protocol; - } - - public Integer getRSPort() { - return rsPort; - } - - public void setRSPort(Integer rsPort) { - this.rsPort = rsPort; - } - } - public static class UPathSet extends Response { /** UPath名字 */ @@ -434,4 +371,67 @@ public void setLineTo(String lineTo) { this.lineTo = lineTo; } } + + public static class UGAL7Forwarder extends Response { + + /** 接入端口 */ + @SerializedName("Port") + private Integer port; + + /** 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS"]。TCP和UDP代表四层转发,其余为七层转发 */ + @SerializedName("Protocol") + private String protocol; + + /** RSPort,源站监听端口 */ + @SerializedName("RSPort") + private Integer rsPort; + + /** 证书ID */ + @SerializedName("SSLId") + private String sslId; + + /** 证书名称 */ + @SerializedName("SSLName") + private String sslName; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + public Integer getRSPort() { + return rsPort; + } + + public void setRSPort(Integer rsPort) { + this.rsPort = rsPort; + } + + public String getSSLId() { + return sslId; + } + + public void setSSLId(String sslId) { + this.sslId = sslId; + } + + public String getSSLName() { + return sslName; + } + + public void setSSLName(String sslName) { + this.sslName = sslName; + } + } } diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetUGA3MetricResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetUGA3MetricResponse.java index a364684b..2c214f52 100644 --- a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetUGA3MetricResponse.java +++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetUGA3MetricResponse.java @@ -33,6 +33,33 @@ public void setDataSet(UGA3Metric dataSet) { this.dataSet = dataSet; } + public static class MatricPoint extends Response { + + /** 时间戳 */ + @SerializedName("Timestamp") + private Integer timestamp; + + /** 监控点数值 */ + @SerializedName("Value") + private Integer value; + + public Integer getTimestamp() { + return timestamp; + } + + public void setTimestamp(Integer timestamp) { + this.timestamp = timestamp; + } + + public Integer getValue() { + return value; + } + + public void setValue(Integer value) { + this.value = value; + } + } + public static class UGA3Metric extends Response { /** 出向带宽 */ @@ -179,31 +206,4 @@ public void setConnectCountSubline(List connectCountSubline) { this.connectCountSubline = connectCountSubline; } } - - public static class MatricPoint extends Response { - - /** 时间戳 */ - @SerializedName("Timestamp") - private Integer timestamp; - - /** 监控点数值 */ - @SerializedName("Value") - private Integer value; - - public Integer getTimestamp() { - return timestamp; - } - - public void setTimestamp(Integer timestamp) { - this.timestamp = timestamp; - } - - public Integer getValue() { - return value; - } - - public void setValue(Integer value) { - this.value = value; - } - } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/DescribeNewUcdnPrefetchCacheTaskResponse.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/DescribeNewUcdnPrefetchCacheTaskResponse.java index 0e42c391..172a2c5c 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/DescribeNewUcdnPrefetchCacheTaskResponse.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/DescribeNewUcdnPrefetchCacheTaskResponse.java @@ -45,34 +45,38 @@ public void setTaskList(List taskList) { this.taskList = taskList; } - public static class UrlProgressInfo extends Response { + public static class TaskInfo extends Response { - /** 刷新的单条url */ - @SerializedName("Url") - private String url; + /** 提交任务时返回的任务ID */ + @SerializedName("TaskId") + private String taskId; + + /** 任务url的信息列表,参考UrlProgressInfo */ + @SerializedName("UrlLists") + private List urlLists; /** 刷新任务创建的时间。格式为Unix Timestamp */ @SerializedName("CreateTime") private Integer createTime; - /** 任务完成时间。格式为Unix Timestamp */ - @SerializedName("FinishTime") - private Integer finishTime; - /** 刷新任务的当前状态,枚举值:success:成功;wait:排队中;process:处理中;failure:失败; unknow:未知 */ @SerializedName("Status") private String status; - /** 刷新进度,单位% */ - @SerializedName("Progress") - private Integer progress; + public String getTaskId() { + return taskId; + } - public String getUrl() { - return url; + public void setTaskId(String taskId) { + this.taskId = taskId; } - public void setUrl(String url) { - this.url = url; + public List getUrlLists() { + return urlLists; + } + + public void setUrlLists(List urlLists) { + this.urlLists = urlLists; } public Integer getCreateTime() { @@ -83,14 +87,6 @@ public void setCreateTime(Integer createTime) { this.createTime = createTime; } - public Integer getFinishTime() { - return finishTime; - } - - public void setFinishTime(Integer finishTime) { - this.finishTime = finishTime; - } - public String getStatus() { return status; } @@ -98,48 +94,36 @@ public String getStatus() { public void setStatus(String status) { this.status = status; } - - public Integer getProgress() { - return progress; - } - - public void setProgress(Integer progress) { - this.progress = progress; - } } - public static class TaskInfo extends Response { - - /** 提交任务时返回的任务ID */ - @SerializedName("TaskId") - private String taskId; + public static class UrlProgressInfo extends Response { - /** 任务url的信息列表,参考UrlProgressInfo */ - @SerializedName("UrlLists") - private List urlLists; + /** 刷新的单条url */ + @SerializedName("Url") + private String url; /** 刷新任务创建的时间。格式为Unix Timestamp */ @SerializedName("CreateTime") private Integer createTime; + /** 任务完成时间。格式为Unix Timestamp */ + @SerializedName("FinishTime") + private Integer finishTime; + /** 刷新任务的当前状态,枚举值:success:成功;wait:排队中;process:处理中;failure:失败; unknow:未知 */ @SerializedName("Status") private String status; - public String getTaskId() { - return taskId; - } - - public void setTaskId(String taskId) { - this.taskId = taskId; - } + /** 刷新进度,单位% */ + @SerializedName("Progress") + private Integer progress; - public List getUrlLists() { - return urlLists; + public String getUrl() { + return url; } - public void setUrlLists(List urlLists) { - this.urlLists = urlLists; + public void setUrl(String url) { + this.url = url; } public Integer getCreateTime() { @@ -150,6 +134,14 @@ public void setCreateTime(Integer createTime) { this.createTime = createTime; } + public Integer getFinishTime() { + return finishTime; + } + + public void setFinishTime(Integer finishTime) { + this.finishTime = finishTime; + } + public String getStatus() { return status; } @@ -157,5 +149,13 @@ public String getStatus() { public void setStatus(String status) { this.status = status; } + + public Integer getProgress() { + return progress; + } + + public void setProgress(Integer progress) { + this.progress = progress; + } } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/DescribeNewUcdnRefreshCacheTaskResponse.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/DescribeNewUcdnRefreshCacheTaskResponse.java index 972d5b2a..156b0ef8 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/DescribeNewUcdnRefreshCacheTaskResponse.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/DescribeNewUcdnRefreshCacheTaskResponse.java @@ -45,38 +45,34 @@ public void setTaskList(List taskList) { this.taskList = taskList; } - public static class TaskInfo extends Response { - - /** 提交任务时返回的任务ID */ - @SerializedName("TaskId") - private String taskId; + public static class UrlProgressInfo extends Response { - /** 任务url的信息列表,参考UrlProgressInfo */ - @SerializedName("UrlLists") - private List urlLists; + /** 刷新的单条url */ + @SerializedName("Url") + private String url; /** 刷新任务创建的时间。格式为Unix Timestamp */ @SerializedName("CreateTime") private Integer createTime; + /** 任务完成时间。格式为Unix Timestamp */ + @SerializedName("FinishTime") + private Integer finishTime; + /** 刷新任务的当前状态,枚举值:success:成功;wait:排队中;process:处理中;failure:失败; unknow:未知 */ @SerializedName("Status") private String status; - public String getTaskId() { - return taskId; - } - - public void setTaskId(String taskId) { - this.taskId = taskId; - } + /** 刷新进度,单位% */ + @SerializedName("Progress") + private Integer progress; - public List getUrlLists() { - return urlLists; + public String getUrl() { + return url; } - public void setUrlLists(List urlLists) { - this.urlLists = urlLists; + public void setUrl(String url) { + this.url = url; } public Integer getCreateTime() { @@ -87,6 +83,14 @@ public void setCreateTime(Integer createTime) { this.createTime = createTime; } + public Integer getFinishTime() { + return finishTime; + } + + public void setFinishTime(Integer finishTime) { + this.finishTime = finishTime; + } + public String getStatus() { return status; } @@ -94,36 +98,48 @@ public String getStatus() { public void setStatus(String status) { this.status = status; } + + public Integer getProgress() { + return progress; + } + + public void setProgress(Integer progress) { + this.progress = progress; + } } - public static class UrlProgressInfo extends Response { + public static class TaskInfo extends Response { - /** 刷新的单条url */ - @SerializedName("Url") - private String url; + /** 提交任务时返回的任务ID */ + @SerializedName("TaskId") + private String taskId; + + /** 任务url的信息列表,参考UrlProgressInfo */ + @SerializedName("UrlLists") + private List urlLists; /** 刷新任务创建的时间。格式为Unix Timestamp */ @SerializedName("CreateTime") private Integer createTime; - /** 任务完成时间。格式为Unix Timestamp */ - @SerializedName("FinishTime") - private Integer finishTime; - /** 刷新任务的当前状态,枚举值:success:成功;wait:排队中;process:处理中;failure:失败; unknow:未知 */ @SerializedName("Status") private String status; - /** 刷新进度,单位% */ - @SerializedName("Progress") - private Integer progress; + public String getTaskId() { + return taskId; + } - public String getUrl() { - return url; + public void setTaskId(String taskId) { + this.taskId = taskId; } - public void setUrl(String url) { - this.url = url; + public List getUrlLists() { + return urlLists; + } + + public void setUrlLists(List urlLists) { + this.urlLists = urlLists; } public Integer getCreateTime() { @@ -134,14 +150,6 @@ public void setCreateTime(Integer createTime) { this.createTime = createTime; } - public Integer getFinishTime() { - return finishTime; - } - - public void setFinishTime(Integer finishTime) { - this.finishTime = finishTime; - } - public String getStatus() { return status; } @@ -149,13 +157,5 @@ public String getStatus() { public void setStatus(String status) { this.status = status; } - - public Integer getProgress() { - return progress; - } - - public void setProgress(Integer progress) { - this.progress = progress; - } } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainConfigResponse.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainConfigResponse.java index 8bcd85a8..366236e3 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainConfigResponse.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainConfigResponse.java @@ -33,117 +33,180 @@ public void setDomainList(List domainList) { this.domainList = domainList; } - public static class CacheConf extends Response { + public static class CacheAllConfig extends Response { - /** 路径模式,支持正则 */ - @SerializedName("PathPattern") - private String pathPattern; + /** 缓存Host,不同的域名可以配置为同一个CacheHost来实现缓存共享,默认为加速域名 */ + @SerializedName("CacheHost") + private String cacheHost; - /** 缓存时间 */ - @SerializedName("CacheTTL") - private Integer cacheTTL; + /** 缓存配置列表,参见CacheConf */ + @SerializedName("CacheList") + private List cacheList; - /** 缓存时间的单位。sec(秒),min(分钟),hour(小时),day(天)。上限1年。 */ - @SerializedName("CacheUnit") - private String cacheUnit; + /** 状态码缓存配置列表,参见CacheConf */ + @SerializedName("HttpCodeCacheList") + private List httpCodeCacheList; - /** 是否缓存,true为缓存,flase为不缓存。为flase的情况下,CacheTTL和CacheUnit强制不生效 */ - @SerializedName("CacheBehavior") - private Boolean cacheBehavior; + /** 忽略参数缓存配置列表,参见CacheKeyInfo */ + @SerializedName("CacheKeyList") + private List cacheKeyList; - /** 状态码模式,非200,206状态码,多个状态码用竖线(|)分隔,该属性仅仅在状态码缓存配置列表中返回 */ - @SerializedName("HttpCodePattern") - private String httpCodePattern; + public String getCacheHost() { + return cacheHost; + } - /** 缓存规则描述 */ - @SerializedName("Description") - private String description; + public void setCacheHost(String cacheHost) { + this.cacheHost = cacheHost; + } - /** 是否优先遵循源站头部缓存策略,false为不优先遵循源站,true为优先遵循源站缓存头部。默认为0 */ - @SerializedName("FollowOriginRule") - private Boolean followOriginRule; + public List getCacheList() { + return cacheList; + } - public String getPathPattern() { - return pathPattern; + public void setCacheList(List cacheList) { + this.cacheList = cacheList; } - public void setPathPattern(String pathPattern) { - this.pathPattern = pathPattern; + public List getHttpCodeCacheList() { + return httpCodeCacheList; } - public Integer getCacheTTL() { - return cacheTTL; + public void setHttpCodeCacheList(List httpCodeCacheList) { + this.httpCodeCacheList = httpCodeCacheList; } - public void setCacheTTL(Integer cacheTTL) { - this.cacheTTL = cacheTTL; + public List getCacheKeyList() { + return cacheKeyList; } - public String getCacheUnit() { - return cacheUnit; + public void setCacheKeyList(List cacheKeyList) { + this.cacheKeyList = cacheKeyList; } + } - public void setCacheUnit(String cacheUnit) { - this.cacheUnit = cacheUnit; + public static class OriginConf extends Response { + + /** 源站ip即cdn服务器回源访问的ip地址。多个源站ip,可以这样表述,如:["1.1.1.1","2.2.2.2"] */ + @SerializedName("OriginIpList") + private List originIpList; + + /** 回源Http请求头部Host,默认是加速域名 */ + @SerializedName("OriginHost") + private String originHost; + + /** 回源端口 */ + @SerializedName("OriginPort") + private Integer originPort; + + /** + * 1如果为false表示BackupOriginIp为空,表示没有备份源站,忽略BackupOriginIp,BackupOriginHost字段 + * 2如果为true表示BackupOriginIp.n必须至少有一个备份源站地址 + */ + @SerializedName("BackupOriginEnable") + private Boolean backupOriginEnable; + + /** 备份源站ip即cdn服务器回源访问的ip地址。多个源站ip,可以这样表述,如:["1.1.1.1","2.2.2.2"] */ + @SerializedName("BackupOriginIpList") + private List backupOriginIpList; + + /** 备份回源Http请求头部Host,默认是加速域名 */ + @SerializedName("BackupOriginHost") + private String backupOriginHost; + + /** 主源响应的回源错误码(如:404|500),默认空字符串 */ + @SerializedName("OriginErrorCode") + private String originErrorCode; + + /** 回主源的回源失败数,默认1 */ + @SerializedName("OriginErrorNum") + private Integer originErrorNum; + + /** 源站协议http,http|https 默认http */ + @SerializedName("OriginProtocol") + private String originProtocol; + + /** 跟随301跳转 0=不跟随 1=跟随 */ + @SerializedName("OriginFollow301") + private Integer originFollow301; + + public List getOriginIpList() { + return originIpList; } - public Boolean getCacheBehavior() { - return cacheBehavior; + public void setOriginIpList(List originIpList) { + this.originIpList = originIpList; } - public void setCacheBehavior(Boolean cacheBehavior) { - this.cacheBehavior = cacheBehavior; + public String getOriginHost() { + return originHost; } - public String getHttpCodePattern() { - return httpCodePattern; + public void setOriginHost(String originHost) { + this.originHost = originHost; } - public void setHttpCodePattern(String httpCodePattern) { - this.httpCodePattern = httpCodePattern; + public Integer getOriginPort() { + return originPort; } - public String getDescription() { - return description; + public void setOriginPort(Integer originPort) { + this.originPort = originPort; } - public void setDescription(String description) { - this.description = description; + public Boolean getBackupOriginEnable() { + return backupOriginEnable; } - public Boolean getFollowOriginRule() { - return followOriginRule; + public void setBackupOriginEnable(Boolean backupOriginEnable) { + this.backupOriginEnable = backupOriginEnable; } - public void setFollowOriginRule(Boolean followOriginRule) { - this.followOriginRule = followOriginRule; + public List getBackupOriginIpList() { + return backupOriginIpList; } - } - public static class AccessControlConf extends Response { + public void setBackupOriginIpList(List backupOriginIpList) { + this.backupOriginIpList = backupOriginIpList; + } - /** ip黑名单,多个ip,可表示为: IpBlackList.0=1.1.1.1,IpBlackList.1=2.2.2.2 */ - @SerializedName("IpBlackList") - private List ipBlackList; + public String getBackupOriginHost() { + return backupOriginHost; + } - /** refer配置 */ - @SerializedName("ReferConf") - private ReferConf referConf; + public void setBackupOriginHost(String backupOriginHost) { + this.backupOriginHost = backupOriginHost; + } - public List getIpBlackList() { - return ipBlackList; + public String getOriginErrorCode() { + return originErrorCode; } - public void setIpBlackList(List ipBlackList) { - this.ipBlackList = ipBlackList; + public void setOriginErrorCode(String originErrorCode) { + this.originErrorCode = originErrorCode; } - public ReferConf getReferConf() { - return referConf; + public Integer getOriginErrorNum() { + return originErrorNum; } - public void setReferConf(ReferConf referConf) { - this.referConf = referConf; + public void setOriginErrorNum(Integer originErrorNum) { + this.originErrorNum = originErrorNum; + } + + public String getOriginProtocol() { + return originProtocol; + } + + public void setOriginProtocol(String originProtocol) { + this.originProtocol = originProtocol; + } + + public Integer getOriginFollow301() { + return originFollow301; + } + + public void setOriginFollow301(Integer originFollow301) { + this.originFollow301 = originFollow301; } } @@ -357,45 +420,6 @@ public void setAdvancedConf(AdvancedConf advancedConf) { } } - public static class AdvancedConf extends Response { - - /** 客户端响应http头列表 */ - @SerializedName("HttpClientHeader") - private List httpClientHeader; - - /** 源站http头列表 */ - @SerializedName("HttpOriginHeader") - private List httpOriginHeader; - - /** http转https回源 true是,false否 */ - @SerializedName("Http2Https") - private Boolean http2Https; - - public List getHttpClientHeader() { - return httpClientHeader; - } - - public void setHttpClientHeader(List httpClientHeader) { - this.httpClientHeader = httpClientHeader; - } - - public List getHttpOriginHeader() { - return httpOriginHeader; - } - - public void setHttpOriginHeader(List httpOriginHeader) { - this.httpOriginHeader = httpOriginHeader; - } - - public Boolean getHttp2Https() { - return http2Https; - } - - public void setHttp2Https(Boolean http2Https) { - this.http2Https = http2Https; - } - } - public static class CacheKeyInfo extends Response { /** 是否忽略 */ @@ -435,219 +459,195 @@ public void setQueryString(String queryString) { } } - public static class ReferConf extends Response { + public static class CacheConf extends Response { - /** Refer防盗链配置 0白名单,1黑名单 */ - @SerializedName("ReferType") - private Integer referType; + /** 路径模式,支持正则 */ + @SerializedName("PathPattern") + private String pathPattern; - /** ReferType为白名单时(删除),NullRefer为0代表不允许NULL refer访问,为1代表允许Null refer访问 */ - @SerializedName("NullRefer") - private Integer nullRefer; + /** 缓存时间 */ + @SerializedName("CacheTTL") + private Integer cacheTTL; - /** Refer防盗链规则列表,支持正则表达式 */ - @SerializedName("ReferList") - private List referList; + /** 缓存时间的单位。sec(秒),min(分钟),hour(小时),day(天)。上限1年。 */ + @SerializedName("CacheUnit") + private String cacheUnit; - public Integer getReferType() { - return referType; - } + /** 是否缓存,true为缓存,flase为不缓存。为flase的情况下,CacheTTL和CacheUnit强制不生效 */ + @SerializedName("CacheBehavior") + private Boolean cacheBehavior; - public void setReferType(Integer referType) { - this.referType = referType; - } + /** 状态码模式,非200,206状态码,多个状态码用竖线(|)分隔,该属性仅仅在状态码缓存配置列表中返回 */ + @SerializedName("HttpCodePattern") + private String httpCodePattern; - public Integer getNullRefer() { - return nullRefer; - } + /** 缓存规则描述 */ + @SerializedName("Description") + private String description; - public void setNullRefer(Integer nullRefer) { - this.nullRefer = nullRefer; - } + /** 是否优先遵循源站头部缓存策略,false为不优先遵循源站,true为优先遵循源站缓存头部。默认为0 */ + @SerializedName("FollowOriginRule") + private Boolean followOriginRule; - public List getReferList() { - return referList; + public String getPathPattern() { + return pathPattern; } - public void setReferList(List referList) { - this.referList = referList; + public void setPathPattern(String pathPattern) { + this.pathPattern = pathPattern; } - } - - public static class OriginConf extends Response { - - /** 源站ip即cdn服务器回源访问的ip地址。多个源站ip,可以这样表述,如:["1.1.1.1","2.2.2.2"] */ - @SerializedName("OriginIpList") - private List originIpList; - - /** 回源Http请求头部Host,默认是加速域名 */ - @SerializedName("OriginHost") - private String originHost; - - /** 回源端口 */ - @SerializedName("OriginPort") - private Integer originPort; - - /** - * 1如果为false表示BackupOriginIp为空,表示没有备份源站,忽略BackupOriginIp,BackupOriginHost字段 - * 2如果为true表示BackupOriginIp.n必须至少有一个备份源站地址 - */ - @SerializedName("BackupOriginEnable") - private Boolean backupOriginEnable; - - /** 备份源站ip即cdn服务器回源访问的ip地址。多个源站ip,可以这样表述,如:["1.1.1.1","2.2.2.2"] */ - @SerializedName("BackupOriginIpList") - private List backupOriginIpList; - - /** 备份回源Http请求头部Host,默认是加速域名 */ - @SerializedName("BackupOriginHost") - private String backupOriginHost; - - /** 主源响应的回源错误码(如:404|500),默认空字符串 */ - @SerializedName("OriginErrorCode") - private String originErrorCode; - - /** 回主源的回源失败数,默认1 */ - @SerializedName("OriginErrorNum") - private Integer originErrorNum; - /** 源站协议http,http|https 默认http */ - @SerializedName("OriginProtocol") - private String originProtocol; - - /** 跟随301跳转 0=不跟随 1=跟随 */ - @SerializedName("OriginFollow301") - private Integer originFollow301; - - public List getOriginIpList() { - return originIpList; + public Integer getCacheTTL() { + return cacheTTL; } - public void setOriginIpList(List originIpList) { - this.originIpList = originIpList; + public void setCacheTTL(Integer cacheTTL) { + this.cacheTTL = cacheTTL; } - public String getOriginHost() { - return originHost; + public String getCacheUnit() { + return cacheUnit; } - public void setOriginHost(String originHost) { - this.originHost = originHost; + public void setCacheUnit(String cacheUnit) { + this.cacheUnit = cacheUnit; } - public Integer getOriginPort() { - return originPort; + public Boolean getCacheBehavior() { + return cacheBehavior; } - public void setOriginPort(Integer originPort) { - this.originPort = originPort; + public void setCacheBehavior(Boolean cacheBehavior) { + this.cacheBehavior = cacheBehavior; } - public Boolean getBackupOriginEnable() { - return backupOriginEnable; + public String getHttpCodePattern() { + return httpCodePattern; } - public void setBackupOriginEnable(Boolean backupOriginEnable) { - this.backupOriginEnable = backupOriginEnable; + public void setHttpCodePattern(String httpCodePattern) { + this.httpCodePattern = httpCodePattern; } - public List getBackupOriginIpList() { - return backupOriginIpList; + public String getDescription() { + return description; } - public void setBackupOriginIpList(List backupOriginIpList) { - this.backupOriginIpList = backupOriginIpList; + public void setDescription(String description) { + this.description = description; } - public String getBackupOriginHost() { - return backupOriginHost; + public Boolean getFollowOriginRule() { + return followOriginRule; } - public void setBackupOriginHost(String backupOriginHost) { - this.backupOriginHost = backupOriginHost; + public void setFollowOriginRule(Boolean followOriginRule) { + this.followOriginRule = followOriginRule; } + } - public String getOriginErrorCode() { - return originErrorCode; - } + public static class ReferConf extends Response { - public void setOriginErrorCode(String originErrorCode) { - this.originErrorCode = originErrorCode; - } + /** Refer防盗链配置 0白名单,1黑名单 */ + @SerializedName("ReferType") + private Integer referType; - public Integer getOriginErrorNum() { - return originErrorNum; + /** ReferType为白名单时(删除),NullRefer为0代表不允许NULL refer访问,为1代表允许Null refer访问 */ + @SerializedName("NullRefer") + private Integer nullRefer; + + /** Refer防盗链规则列表,支持正则表达式 */ + @SerializedName("ReferList") + private List referList; + + public Integer getReferType() { + return referType; } - public void setOriginErrorNum(Integer originErrorNum) { - this.originErrorNum = originErrorNum; + public void setReferType(Integer referType) { + this.referType = referType; } - public String getOriginProtocol() { - return originProtocol; + public Integer getNullRefer() { + return nullRefer; } - public void setOriginProtocol(String originProtocol) { - this.originProtocol = originProtocol; + public void setNullRefer(Integer nullRefer) { + this.nullRefer = nullRefer; } - public Integer getOriginFollow301() { - return originFollow301; + public List getReferList() { + return referList; } - public void setOriginFollow301(Integer originFollow301) { - this.originFollow301 = originFollow301; + public void setReferList(List referList) { + this.referList = referList; } } - public static class CacheAllConfig extends Response { + public static class AdvancedConf extends Response { - /** 缓存Host,不同的域名可以配置为同一个CacheHost来实现缓存共享,默认为加速域名 */ - @SerializedName("CacheHost") - private String cacheHost; + /** 客户端响应http头列表 */ + @SerializedName("HttpClientHeader") + private List httpClientHeader; - /** 缓存配置列表,参见CacheConf */ - @SerializedName("CacheList") - private List cacheList; + /** 源站http头列表 */ + @SerializedName("HttpOriginHeader") + private List httpOriginHeader; - /** 状态码缓存配置列表,参见CacheConf */ - @SerializedName("HttpCodeCacheList") - private List httpCodeCacheList; + /** http转https回源 true是,false否 */ + @SerializedName("Http2Https") + private Boolean http2Https; - /** 忽略参数缓存配置列表,参见CacheKeyInfo */ - @SerializedName("CacheKeyList") - private List cacheKeyList; + public List getHttpClientHeader() { + return httpClientHeader; + } - public String getCacheHost() { - return cacheHost; + public void setHttpClientHeader(List httpClientHeader) { + this.httpClientHeader = httpClientHeader; } - public void setCacheHost(String cacheHost) { - this.cacheHost = cacheHost; + public List getHttpOriginHeader() { + return httpOriginHeader; } - public List getCacheList() { - return cacheList; + public void setHttpOriginHeader(List httpOriginHeader) { + this.httpOriginHeader = httpOriginHeader; } - public void setCacheList(List cacheList) { - this.cacheList = cacheList; + public Boolean getHttp2Https() { + return http2Https; } - public List getHttpCodeCacheList() { - return httpCodeCacheList; + public void setHttp2Https(Boolean http2Https) { + this.http2Https = http2Https; } + } - public void setHttpCodeCacheList(List httpCodeCacheList) { - this.httpCodeCacheList = httpCodeCacheList; + public static class AccessControlConf extends Response { + + /** ip黑名单,多个ip,可表示为: IpBlackList.0=1.1.1.1,IpBlackList.1=2.2.2.2 */ + @SerializedName("IpBlackList") + private List ipBlackList; + + /** refer配置 */ + @SerializedName("ReferConf") + private ReferConf referConf; + + public List getIpBlackList() { + return ipBlackList; } - public List getCacheKeyList() { - return cacheKeyList; + public void setIpBlackList(List ipBlackList) { + this.ipBlackList = ipBlackList; } - public void setCacheKeyList(List cacheKeyList) { - this.cacheKeyList = cacheKeyList; + public ReferConf getReferConf() { + return referConf; + } + + public void setReferConf(ReferConf referConf) { + this.referConf = referConf; } } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainLogV2Response.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainLogV2Response.java index f9d952c9..d459a166 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainLogV2Response.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainLogV2Response.java @@ -33,33 +33,6 @@ public void setDomainLogSet(List domainLogSet) { this.domainLogSet = domainLogSet; } - public static class LogInfo extends Response { - - /** Unix时间戳 */ - @SerializedName("LogTime") - private Integer logTime; - - /** 日志url地址 */ - @SerializedName("LogUrl") - private String logUrl; - - public Integer getLogTime() { - return logTime; - } - - public void setLogTime(Integer logTime) { - this.logTime = logTime; - } - - public String getLogUrl() { - return logUrl; - } - - public void setLogUrl(String logUrl) { - this.logUrl = logUrl; - } - } - public static class DomanLogList extends Response { /** 域名 */ @@ -86,4 +59,31 @@ public void setLogList(List logList) { this.logList = logList; } } + + public static class LogInfo extends Response { + + /** Unix时间戳 */ + @SerializedName("LogTime") + private Integer logTime; + + /** 日志url地址 */ + @SerializedName("LogUrl") + private String logUrl; + + public Integer getLogTime() { + return logTime; + } + + public void setLogTime(Integer logTime) { + this.logTime = logTime; + } + + public String getLogUrl() { + return logUrl; + } + + public void setLogUrl(String logUrl) { + this.logUrl = logUrl; + } + } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnProIspRequestNumV2Response.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnProIspRequestNumV2Response.java index c15891d1..c838b2c6 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnProIspRequestNumV2Response.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnProIspRequestNumV2Response.java @@ -33,33 +33,6 @@ public void setRequestNumSet(List requestNumSet) { this.requestNumSet = requestNumSet; } - public static class ProIspRequestListV2 extends Response { - - /** 带宽获取的时间点。格式:时间戳 */ - @SerializedName("Time") - private Integer time; - - /** 返回值返回指定时间区间内的请求数 */ - @SerializedName("CdnRequest") - private Double cdnRequest; - - public Integer getTime() { - return time; - } - - public void setTime(Integer time) { - this.time = time; - } - - public Double getCdnRequest() { - return cdnRequest; - } - - public void setCdnRequest(Double cdnRequest) { - this.cdnRequest = cdnRequest; - } - } - public static class ProIspRequestNumSetV2 extends Response { /** 省份代码 */ @@ -86,4 +59,31 @@ public void setRequestList(List requestList) { this.requestList = requestList; } } + + public static class ProIspRequestListV2 extends Response { + + /** 带宽获取的时间点。格式:时间戳 */ + @SerializedName("Time") + private Integer time; + + /** 返回值返回指定时间区间内的请求数 */ + @SerializedName("CdnRequest") + private Double cdnRequest; + + public Integer getTime() { + return time; + } + + public void setTime(Integer time) { + this.time = time; + } + + public Double getCdnRequest() { + return cdnRequest; + } + + public void setCdnRequest(Double cdnRequest) { + this.cdnRequest = cdnRequest; + } + } } diff --git a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceResponse.java b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceResponse.java index 1a883f7e..29433d56 100644 --- a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceResponse.java +++ b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceResponse.java @@ -45,33 +45,6 @@ public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } - public static class UFileDataSet extends Response { - - /** Ufile的令牌tokenid */ - @SerializedName("TokenID") - private String tokenID; - - /** bucket名称 */ - @SerializedName("Bucket") - private String bucket; - - public String getTokenID() { - return tokenID; - } - - public void setTokenID(String tokenID) { - this.tokenID = tokenID; - } - - public String getBucket() { - return bucket; - } - - public void setBucket(String bucket) { - this.bucket = bucket; - } - } - public static class UDBSlaveInstanceSet extends Response { /** 可用区 */ @@ -1030,4 +1003,31 @@ public void setUserUFileData(UFileDataSet userUFileData) { this.userUFileData = userUFileData; } } + + public static class UFileDataSet extends Response { + + /** Ufile的令牌tokenid */ + @SerializedName("TokenID") + private String tokenID; + + /** bucket名称 */ + @SerializedName("Bucket") + private String bucket; + + public String getTokenID() { + return tokenID; + } + + public void setTokenID(String tokenID) { + this.tokenID = tokenID; + } + + public String getBucket() { + return bucket; + } + + public void setBucket(String bucket) { + this.bucket = bucket; + } + } } diff --git a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBParamGroupResponse.java b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBParamGroupResponse.java index 4dc63696..38d4a954 100644 --- a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBParamGroupResponse.java +++ b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBParamGroupResponse.java @@ -45,85 +45,6 @@ public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } - public static class UDBParamGroupSet extends Response { - - /** 参数组id */ - @SerializedName("GroupId") - private Integer groupId; - - /** 参数组名称 */ - @SerializedName("GroupName") - private String groupName; - - /** - * DB类型id,mysql/mongodb按版本细分各有一个id 目前id的取值范围为[1,7],数值对应的版本如下 - * 1:mysql-5.5,2:mysql-5.1,3:percona-5.5 4:mongodb-2.4,5:mongodb-2.6,6:mysql-5.6 - * 7:percona-5.6 - */ - @SerializedName("DBTypeId") - private String dbTypeId; - - /** 参数组描述 */ - @SerializedName("Description") - private String description; - - /** 参数组是否可修改 */ - @SerializedName("Modifiable") - private Boolean modifiable; - - /** 参数的键值对表 UDBParamMemberSet */ - @SerializedName("ParamMember") - private List paramMember; - - public Integer getGroupId() { - return groupId; - } - - public void setGroupId(Integer groupId) { - this.groupId = groupId; - } - - public String getGroupName() { - return groupName; - } - - public void setGroupName(String groupName) { - this.groupName = groupName; - } - - public String getDBTypeId() { - return dbTypeId; - } - - public void setDBTypeId(String dbTypeId) { - this.dbTypeId = dbTypeId; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Boolean getModifiable() { - return modifiable; - } - - public void setModifiable(Boolean modifiable) { - this.modifiable = modifiable; - } - - public List getParamMember() { - return paramMember; - } - - public void setParamMember(List paramMember) { - this.paramMember = paramMember; - } - } - public static class UDBParamMemberSet extends Response { /** 参数名称 */ @@ -210,4 +131,83 @@ public void setFormatType(Integer formatType) { this.formatType = formatType; } } + + public static class UDBParamGroupSet extends Response { + + /** 参数组id */ + @SerializedName("GroupId") + private Integer groupId; + + /** 参数组名称 */ + @SerializedName("GroupName") + private String groupName; + + /** + * DB类型id,mysql/mongodb按版本细分各有一个id 目前id的取值范围为[1,7],数值对应的版本如下 + * 1:mysql-5.5,2:mysql-5.1,3:percona-5.5 4:mongodb-2.4,5:mongodb-2.6,6:mysql-5.6 + * 7:percona-5.6 + */ + @SerializedName("DBTypeId") + private String dbTypeId; + + /** 参数组描述 */ + @SerializedName("Description") + private String description; + + /** 参数组是否可修改 */ + @SerializedName("Modifiable") + private Boolean modifiable; + + /** 参数的键值对表 UDBParamMemberSet */ + @SerializedName("ParamMember") + private List paramMember; + + public Integer getGroupId() { + return groupId; + } + + public void setGroupId(Integer groupId) { + this.groupId = groupId; + } + + public String getGroupName() { + return groupName; + } + + public void setGroupName(String groupName) { + this.groupName = groupName; + } + + public String getDBTypeId() { + return dbTypeId; + } + + public void setDBTypeId(String dbTypeId) { + this.dbTypeId = dbTypeId; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Boolean getModifiable() { + return modifiable; + } + + public void setModifiable(Boolean modifiable) { + this.modifiable = modifiable; + } + + public List getParamMember() { + return paramMember; + } + + public void setParamMember(List paramMember) { + this.paramMember = paramMember; + } + } } diff --git a/ucloud-sdk-java-uddb/src/main/java/cn/ucloud/uddb/models/DescribeUDDBInstanceResponse.java b/ucloud-sdk-java-uddb/src/main/java/cn/ucloud/uddb/models/DescribeUDDBInstanceResponse.java index 3327f68c..f3c4b63f 100644 --- a/ucloud-sdk-java-uddb/src/main/java/cn/ucloud/uddb/models/DescribeUDDBInstanceResponse.java +++ b/ucloud-sdk-java-uddb/src/main/java/cn/ucloud/uddb/models/DescribeUDDBInstanceResponse.java @@ -33,150 +33,6 @@ public void setDataSet(List dataSet) { this.dataSet = dataSet; } - public static class DataNodeInfo extends Response { - - /** 数据节点ID */ - @SerializedName("Id") - private String id; - - /** 数据节点的内存配置, 单位:MB */ - @SerializedName("Memory") - private Integer memory; - - /** 数据节点的磁盘大小配置. 单位: GB */ - @SerializedName("DiskSpace") - private Integer diskSpace; - - /** 数据节点的只读实例个数. */ - @SerializedName("SlaveCount") - private Integer slaveCount; - - /** - * 数据分片状态, 状态列表如下: Init: 初始化中 Fail: 安装失败 Starting: 启动中 Running: 系统正常运行中 Shutdown: 关闭中 - * Shutoff: 已关闭 Deleted: 已删除 Upgrading: 系统升级中 - */ - @SerializedName("State") - private String state; - - /** 只读实例信息列表 */ - @SerializedName("SlaveInfos") - private List slaveInfos; - - /** 最近一次数据迁移任务id */ - @SerializedName("LastTransTaskId") - private String lastTransTaskId; - - /** 节点的创建时间 */ - @SerializedName("CreateTime") - private String createTime; - - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Integer getMemory() { - return memory; - } - - public void setMemory(Integer memory) { - this.memory = memory; - } - - public Integer getDiskSpace() { - return diskSpace; - } - - public void setDiskSpace(Integer diskSpace) { - this.diskSpace = diskSpace; - } - - public Integer getSlaveCount() { - return slaveCount; - } - - public void setSlaveCount(Integer slaveCount) { - this.slaveCount = slaveCount; - } - - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - public List getSlaveInfos() { - return slaveInfos; - } - - public void setSlaveInfos(List slaveInfos) { - this.slaveInfos = slaveInfos; - } - - public String getLastTransTaskId() { - return lastTransTaskId; - } - - public void setLastTransTaskId(String lastTransTaskId) { - this.lastTransTaskId = lastTransTaskId; - } - - public String getCreateTime() { - return createTime; - } - - public void setCreateTime(String createTime) { - this.createTime = createTime; - } - } - - public static class SlaveInfo extends Response { - - /** 只读实例ID */ - @SerializedName("Id") - private String id; - - /** 对应数据节点的ID */ - @SerializedName("DataNodeId") - private String dataNodeId; - - /** - * 只读实例状态, 状态列表如下: Init: 初始化中 Fail: 安装失败 Starting: 启动中 Running: 系统正常运行中 Shutdown: 关闭中 - * Shutoff: 已关闭 Deleted: 已删除 Upgrading: 系统升级中 - */ - @SerializedName("State") - private String state; - - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public String getDataNodeId() { - return dataNodeId; - } - - public void setDataNodeId(String dataNodeId) { - this.dataNodeId = dataNodeId; - } - - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - } - public static class DataSetUDDB extends Response { /** UDDB实例对应的可用区 */ @@ -439,4 +295,148 @@ public void setInstanceType(String instanceType) { this.instanceType = instanceType; } } + + public static class DataNodeInfo extends Response { + + /** 数据节点ID */ + @SerializedName("Id") + private String id; + + /** 数据节点的内存配置, 单位:MB */ + @SerializedName("Memory") + private Integer memory; + + /** 数据节点的磁盘大小配置. 单位: GB */ + @SerializedName("DiskSpace") + private Integer diskSpace; + + /** 数据节点的只读实例个数. */ + @SerializedName("SlaveCount") + private Integer slaveCount; + + /** + * 数据分片状态, 状态列表如下: Init: 初始化中 Fail: 安装失败 Starting: 启动中 Running: 系统正常运行中 Shutdown: 关闭中 + * Shutoff: 已关闭 Deleted: 已删除 Upgrading: 系统升级中 + */ + @SerializedName("State") + private String state; + + /** 只读实例信息列表 */ + @SerializedName("SlaveInfos") + private List slaveInfos; + + /** 最近一次数据迁移任务id */ + @SerializedName("LastTransTaskId") + private String lastTransTaskId; + + /** 节点的创建时间 */ + @SerializedName("CreateTime") + private String createTime; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getMemory() { + return memory; + } + + public void setMemory(Integer memory) { + this.memory = memory; + } + + public Integer getDiskSpace() { + return diskSpace; + } + + public void setDiskSpace(Integer diskSpace) { + this.diskSpace = diskSpace; + } + + public Integer getSlaveCount() { + return slaveCount; + } + + public void setSlaveCount(Integer slaveCount) { + this.slaveCount = slaveCount; + } + + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public List getSlaveInfos() { + return slaveInfos; + } + + public void setSlaveInfos(List slaveInfos) { + this.slaveInfos = slaveInfos; + } + + public String getLastTransTaskId() { + return lastTransTaskId; + } + + public void setLastTransTaskId(String lastTransTaskId) { + this.lastTransTaskId = lastTransTaskId; + } + + public String getCreateTime() { + return createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + } + + public static class SlaveInfo extends Response { + + /** 只读实例ID */ + @SerializedName("Id") + private String id; + + /** 对应数据节点的ID */ + @SerializedName("DataNodeId") + private String dataNodeId; + + /** + * 只读实例状态, 状态列表如下: Init: 初始化中 Fail: 安装失败 Starting: 启动中 Running: 系统正常运行中 Shutdown: 关闭中 + * Shutoff: 已关闭 Deleted: 已删除 Upgrading: 系统升级中 + */ + @SerializedName("State") + private String state; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getDataNodeId() { + return dataNodeId; + } + + public void setDataNodeId(String dataNodeId) { + this.dataNodeId = dataNodeId; + } + + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + } } diff --git a/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/CreateUEcHolderRequest.java b/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/CreateUEcHolderRequest.java index 14a3fa05..c5852893 100644 --- a/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/CreateUEcHolderRequest.java +++ b/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/CreateUEcHolderRequest.java @@ -220,60 +220,6 @@ public void setStorage(List storage) { this.storage = storage; } - public static class Storage extends Request { - - /** 存储卷挂载路径 */ - @UCloudParam("Path") - private String path; - - /** 存储卷资源id */ - @UCloudParam("ResourceId") - private String resourceId; - - public String getPath() { - return path; - } - - public void setPath(String path) { - this.path = path; - } - - public String getResourceId() { - return resourceId; - } - - public void setResourceId(String resourceId) { - this.resourceId = resourceId; - } - } - - public static class Image extends Request { - - /** 镜像用户名和密码(如镜像名:密码) */ - @UCloudParam("Message") - private String message; - - /** 镜像仓库地址 */ - @UCloudParam("StoreAddress") - private String storeAddress; - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getStoreAddress() { - return storeAddress; - } - - public void setStoreAddress(String storeAddress) { - this.storeAddress = storeAddress; - } - } - public static class Pack extends Request { /** 容器名称 */ @@ -384,4 +330,58 @@ public void setConfigDict(String configDict) { this.configDict = configDict; } } + + public static class Storage extends Request { + + /** 存储卷挂载路径 */ + @UCloudParam("Path") + private String path; + + /** 存储卷资源id */ + @UCloudParam("ResourceId") + private String resourceId; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + public String getResourceId() { + return resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + } + + public static class Image extends Request { + + /** 镜像用户名和密码(如镜像名:密码) */ + @UCloudParam("Message") + private String message; + + /** 镜像仓库地址 */ + @UCloudParam("StoreAddress") + private String storeAddress; + + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getStoreAddress() { + return storeAddress; + } + + public void setStoreAddress(String storeAddress) { + this.storeAddress = storeAddress; + } + } } diff --git a/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/DescribeUEcHolderResponse.java b/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/DescribeUEcHolderResponse.java index 26be2660..5416bc61 100644 --- a/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/DescribeUEcHolderResponse.java +++ b/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/DescribeUEcHolderResponse.java @@ -45,6 +45,57 @@ public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } + public static class StorVolumeInfo extends Response { + + /** 名称 */ + @SerializedName("Name") + private String name; + + /** 资源id */ + @SerializedName("ResourceId") + private String resourceId; + + /** 挂载点 */ + @SerializedName("MountPoint") + private String mountPoint; + + /** 容量(单位GB) */ + @SerializedName("DiskSize") + private Integer diskSize; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getResourceId() { + return resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + public String getMountPoint() { + return mountPoint; + } + + public void setMountPoint(String mountPoint) { + this.mountPoint = mountPoint; + } + + public Integer getDiskSize() { + return diskSize; + } + + public void setDiskSize(Integer diskSize) { + this.diskSize = diskSize; + } + } + public static class DockerInfo extends Response { /** CPU核数(/核)精度0.1核 */ @@ -207,45 +258,6 @@ public void setResourceId(String resourceId) { } } - public static class ImageList extends Response { - - /** 仓库地址 */ - @SerializedName("StoreAddr") - private String storeAddr; - - /** 用户名称 */ - @SerializedName("UserName") - private String userName; - - /** 镜像密钥 */ - @SerializedName("ImageKey") - private String imageKey; - - public String getStoreAddr() { - return storeAddr; - } - - public void setStoreAddr(String storeAddr) { - this.storeAddr = storeAddr; - } - - public String getUserName() { - return userName; - } - - public void setUserName(String userName) { - this.userName = userName; - } - - public String getImageKey() { - return imageKey; - } - - public void setImageKey(String imageKey) { - this.imageKey = imageKey; - } - } - public static class EnvList extends Response { /** 环境变量key值 */ @@ -567,54 +579,42 @@ public void setImageList(List imageList) { } } - public static class StorVolumeInfo extends Response { - - /** 名称 */ - @SerializedName("Name") - private String name; - - /** 资源id */ - @SerializedName("ResourceId") - private String resourceId; - - /** 挂载点 */ - @SerializedName("MountPoint") - private String mountPoint; + public static class ImageList extends Response { - /** 容量(单位GB) */ - @SerializedName("DiskSize") - private Integer diskSize; + /** 仓库地址 */ + @SerializedName("StoreAddr") + private String storeAddr; - public String getName() { - return name; - } + /** 用户名称 */ + @SerializedName("UserName") + private String userName; - public void setName(String name) { - this.name = name; - } + /** 镜像密钥 */ + @SerializedName("ImageKey") + private String imageKey; - public String getResourceId() { - return resourceId; + public String getStoreAddr() { + return storeAddr; } - public void setResourceId(String resourceId) { - this.resourceId = resourceId; + public void setStoreAddr(String storeAddr) { + this.storeAddr = storeAddr; } - public String getMountPoint() { - return mountPoint; + public String getUserName() { + return userName; } - public void setMountPoint(String mountPoint) { - this.mountPoint = mountPoint; + public void setUserName(String userName) { + this.userName = userName; } - public Integer getDiskSize() { - return diskSize; + public String getImageKey() { + return imageKey; } - public void setDiskSize(Integer diskSize) { - this.diskSize = diskSize; + public void setImageKey(String imageKey) { + this.imageKey = imageKey; } } } diff --git a/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/DescribeUEcVHostResponse.java b/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/DescribeUEcVHostResponse.java index fc904f06..b797d9f6 100644 --- a/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/DescribeUEcVHostResponse.java +++ b/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/DescribeUEcVHostResponse.java @@ -45,45 +45,6 @@ public void setNodeList(List nodeList) { this.nodeList = nodeList; } - public static class NodeIpList extends Response { - - /** 外网ip */ - @SerializedName("Ip") - private String ip; - - /** 运营商 */ - @SerializedName("Isp") - private String isp; - - /** 运营商名称 */ - @SerializedName("IspName") - private String ispName; - - public String getIp() { - return ip; - } - - public void setIp(String ip) { - this.ip = ip; - } - - public String getIsp() { - return isp; - } - - public void setIsp(String isp) { - this.isp = isp; - } - - public String getIspName() { - return ispName; - } - - public void setIspName(String ispName) { - this.ispName = ispName; - } - } - public static class NodeInfo extends Response { /** 节点名称 */ @@ -338,4 +299,43 @@ public void setInnerIps(List innerIps) { this.innerIps = innerIps; } } + + public static class NodeIpList extends Response { + + /** 外网ip */ + @SerializedName("Ip") + private String ip; + + /** 运营商 */ + @SerializedName("Isp") + private String isp; + + /** 运营商名称 */ + @SerializedName("IspName") + private String ispName; + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public String getIsp() { + return isp; + } + + public void setIsp(String isp) { + this.isp = isp; + } + + public String getIspName() { + return ispName; + } + + public void setIspName(String ispName) { + this.ispName = ispName; + } + } } diff --git a/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/GetUEcIDCVHostDataResponse.java b/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/GetUEcIDCVHostDataResponse.java index 634376e7..c68524ee 100644 --- a/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/GetUEcIDCVHostDataResponse.java +++ b/ucloud-sdk-java-uec/src/main/java/cn/ucloud/uec/models/GetUEcIDCVHostDataResponse.java @@ -33,6 +33,33 @@ public void setDataSets(DataSet dataSets) { this.dataSets = dataSets; } + public static class MonitorInfo extends Response { + + /** 时间戳 */ + @SerializedName("TimeStamp") + private Integer timeStamp; + + /** 值 */ + @SerializedName("Value") + private Integer value; + + public Integer getTimeStamp() { + return timeStamp; + } + + public void setTimeStamp(Integer timeStamp) { + this.timeStamp = timeStamp; + } + + public Integer getValue() { + return value; + } + + public void setValue(Integer value) { + this.value = value; + } + } + public static class DataSet extends Response { /** cpu使用率 */ @@ -155,31 +182,4 @@ public void setDiskWriteOps(List diskWriteOps) { this.diskWriteOps = diskWriteOps; } } - - public static class MonitorInfo extends Response { - - /** 时间戳 */ - @SerializedName("TimeStamp") - private Integer timeStamp; - - /** 值 */ - @SerializedName("Value") - private Integer value; - - public Integer getTimeStamp() { - return timeStamp; - } - - public void setTimeStamp(Integer timeStamp) { - this.timeStamp = timeStamp; - } - - public Integer getValue() { - return value; - } - - public void setValue(Integer value) { - this.value = value; - } - } } diff --git a/ucloud-sdk-java-ufile/src/main/java/cn/ucloud/ufile/models/GetUFileDailyReportResponse.java b/ucloud-sdk-java-ufile/src/main/java/cn/ucloud/ufile/models/GetUFileDailyReportResponse.java index 65fb4bf2..c6d891ba 100644 --- a/ucloud-sdk-java-ufile/src/main/java/cn/ucloud/ufile/models/GetUFileDailyReportResponse.java +++ b/ucloud-sdk-java-ufile/src/main/java/cn/ucloud/ufile/models/GetUFileDailyReportResponse.java @@ -33,33 +33,6 @@ public void setDataSet(List dataSet) { this.dataSet = dataSet; } - public static class UFileReportItem extends Response { - - /** 总消费情况 */ - @SerializedName("Total") - private List total; - - /** 日消费情况 */ - @SerializedName("Daily") - private List daily; - - public List getTotal() { - return total; - } - - public void setTotal(List total) { - this.total = total; - } - - public List getDaily() { - return daily; - } - - public void setDaily(List daily) { - this.daily = daily; - } - } - public static class UFileDailyReportItem extends Response { /** 标准存储量;单位byte */ @@ -257,4 +230,31 @@ public void setApiTimes(Double apiTimes) { this.apiTimes = apiTimes; } } + + public static class UFileReportItem extends Response { + + /** 总消费情况 */ + @SerializedName("Total") + private List total; + + /** 日消费情况 */ + @SerializedName("Daily") + private List daily; + + public List getTotal() { + return total; + } + + public void setTotal(List total) { + this.total = total; + } + + public List getDaily() { + return daily; + } + + public void setDaily(List daily) { + this.daily = daily; + } + } } diff --git a/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/CreateUHostInstanceRequest.java b/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/CreateUHostInstanceRequest.java index 89a9951d..9d4c80c5 100644 --- a/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/CreateUHostInstanceRequest.java +++ b/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/CreateUHostInstanceRequest.java @@ -457,82 +457,6 @@ public void setCouponId(String couponId) { this.couponId = couponId; } - public static class NetworkInterfaceIPv6 extends Request {} - - public static class NetworkInterfaceEIP extends Request { - - /** - * 【若绑定EIP,此参数必填】弹性IP的外网带宽, 单位为Mbps. 共享带宽模式必须指定0M带宽, 非共享带宽模式必须指定非0Mbps带宽. 各地域非共享带宽的带宽范围如下: - * 流量计费[1-300],带宽计费[1-800] - */ - @UCloudParam("Bandwidth") - private Integer bandwidth; - - /** - * 弹性IP的计费模式. 枚举值: "Traffic", 流量计费; "Bandwidth", 带宽计费; "ShareBandwidth",共享带宽模式. - * "Free":免费带宽模式,默认为 "Bandwidth" - */ - @UCloudParam("PayMode") - private String payMode; - - /** 绑定的共享带宽Id,仅当PayMode为ShareBandwidth时有效 */ - @UCloudParam("ShareBandwidthId") - private String shareBandwidthId; - - /** - * 【若绑定EIP,此参数必填】弹性IP的线路。枚举值: 国际: International BGP: Bgp 各地域允许的线路参数如下: cn-sh1: Bgp cn-sh2: - * Bgp cn-gd: Bgp cn-bj1: Bgp cn-bj2: Bgp hk: International us-ca: International th-bkk: - * International kr-seoul:International us-ws:International ge-fra:International - * sg:International tw-kh:International.其他海外线路均为 International - */ - @UCloudParam("OperatorName") - private String operatorName; - - /** 当前EIP代金券id。请通过DescribeCoupon接口查询,或登录用户中心查看。 */ - @UCloudParam("CouponId") - private String couponId; - - public Integer getBandwidth() { - return bandwidth; - } - - public void setBandwidth(Integer bandwidth) { - this.bandwidth = bandwidth; - } - - public String getPayMode() { - return payMode; - } - - public void setPayMode(String payMode) { - this.payMode = payMode; - } - - public String getShareBandwidthId() { - return shareBandwidthId; - } - - public void setShareBandwidthId(String shareBandwidthId) { - this.shareBandwidthId = shareBandwidthId; - } - - public String getOperatorName() { - return operatorName; - } - - public void setOperatorName(String operatorName) { - this.operatorName = operatorName; - } - - public String getCouponId() { - return couponId; - } - - public void setCouponId(String couponId) { - this.couponId = couponId; - } - } - public static class Disks extends Request { /** 是否是系统盘。枚举值:\\ > True,是系统盘 \\ > False,是数据盘(默认)。Disks数组中有且只能有一块盘是系统盘。 */ @@ -681,4 +605,80 @@ public void setCreateCernetIp(Boolean createCernetIp) { this.createCernetIp = createCernetIp; } } + + public static class NetworkInterfaceIPv6 extends Request {} + + public static class NetworkInterfaceEIP extends Request { + + /** + * 【若绑定EIP,此参数必填】弹性IP的外网带宽, 单位为Mbps. 共享带宽模式必须指定0M带宽, 非共享带宽模式必须指定非0Mbps带宽. 各地域非共享带宽的带宽范围如下: + * 流量计费[1-300],带宽计费[1-800] + */ + @UCloudParam("Bandwidth") + private Integer bandwidth; + + /** + * 弹性IP的计费模式. 枚举值: "Traffic", 流量计费; "Bandwidth", 带宽计费; "ShareBandwidth",共享带宽模式. + * "Free":免费带宽模式,默认为 "Bandwidth" + */ + @UCloudParam("PayMode") + private String payMode; + + /** 绑定的共享带宽Id,仅当PayMode为ShareBandwidth时有效 */ + @UCloudParam("ShareBandwidthId") + private String shareBandwidthId; + + /** + * 【若绑定EIP,此参数必填】弹性IP的线路。枚举值: 国际: International BGP: Bgp 各地域允许的线路参数如下: cn-sh1: Bgp cn-sh2: + * Bgp cn-gd: Bgp cn-bj1: Bgp cn-bj2: Bgp hk: International us-ca: International th-bkk: + * International kr-seoul:International us-ws:International ge-fra:International + * sg:International tw-kh:International.其他海外线路均为 International + */ + @UCloudParam("OperatorName") + private String operatorName; + + /** 当前EIP代金券id。请通过DescribeCoupon接口查询,或登录用户中心查看。 */ + @UCloudParam("CouponId") + private String couponId; + + public Integer getBandwidth() { + return bandwidth; + } + + public void setBandwidth(Integer bandwidth) { + this.bandwidth = bandwidth; + } + + public String getPayMode() { + return payMode; + } + + public void setPayMode(String payMode) { + this.payMode = payMode; + } + + public String getShareBandwidthId() { + return shareBandwidthId; + } + + public void setShareBandwidthId(String shareBandwidthId) { + this.shareBandwidthId = shareBandwidthId; + } + + public String getOperatorName() { + return operatorName; + } + + public void setOperatorName(String operatorName) { + this.operatorName = operatorName; + } + + public String getCouponId() { + return couponId; + } + + public void setCouponId(String couponId) { + this.couponId = couponId; + } + } } diff --git a/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/DescribeAvailableInstanceTypesResponse.java b/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/DescribeAvailableInstanceTypesResponse.java index ff3adfd9..42cff8cc 100644 --- a/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/DescribeAvailableInstanceTypesResponse.java +++ b/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/DescribeAvailableInstanceTypesResponse.java @@ -72,19 +72,33 @@ public void setMinimalCpuPlatform(List minimalCpuPlatform) { } } - public static class Disks extends Response { + public static class DataDiskInfo extends Response { - /** 磁盘介质类别信息,磁盘主要分类如下:云盘|cloudDisk、普通本地盘|normalLocalDisk和SSD本地盘|ssdLocalDisk。 */ + /** 磁盘最小值,如果没有该字段,最小值取基础镜像Size值即可(linux为20G,windows为40G)。 */ + @SerializedName("MinimalSize") + private Integer minimalSize; + + /** + * 数据盘类别,包含普通云盘|CLOUD_NORMAL、SSD云盘|CLOUD_SSD和RSSD云盘|CLOUD_RSSD。普通本地盘只包含普通本地盘|LOCAL_NORMAL一种。SSD本地盘只包含SSD本地盘|LOCAL_SSD一种。 + */ @SerializedName("Name") private String name; - /** 系统盘信息 */ - @SerializedName("BootDisk") - private List bootDisk; + /** MaximalSize为磁盘最大值 */ + @SerializedName("MaximalSize") + private Integer maximalSize; - /** 数据盘信息 */ - @SerializedName("DataDisk") - private List dataDisk; + /** 数据盘可支持的服务 */ + @SerializedName("Features") + private List features; + + public Integer getMinimalSize() { + return minimalSize; + } + + public void setMinimalSize(Integer minimalSize) { + this.minimalSize = minimalSize; + } public String getName() { return name; @@ -94,26 +108,26 @@ public void setName(String name) { this.name = name; } - public List getBootDisk() { - return bootDisk; + public Integer getMaximalSize() { + return maximalSize; } - public void setBootDisk(List bootDisk) { - this.bootDisk = bootDisk; + public void setMaximalSize(Integer maximalSize) { + this.maximalSize = maximalSize; } - public List getDataDisk() { - return dataDisk; + public List getFeatures() { + return features; } - public void setDataDisk(List dataDisk) { - this.dataDisk = dataDisk; + public void setFeatures(List features) { + this.features = features; } } - public static class Performance extends Response { + public static class GraphicsMemory extends Response { - /** 值,单位是TFlops */ + /** 值,单位是GB */ @SerializedName("Value") private Integer value; @@ -138,33 +152,6 @@ public void setRate(Integer rate) { } } - public static class Features extends Response { - - /** 可支持的特性名称。目前支持的特性网络增强|NetCapability、热升级|Hotplug */ - @SerializedName("Name") - private String name; - - /** 可以提供的模式类别 */ - @SerializedName("Modes") - private List modes; - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public List getModes() { - return modes; - } - - public void setModes(List modes) { - this.modes = modes; - } - } - public static class BootDiskInfo extends Response { /** @@ -218,84 +205,6 @@ public void setFeatures(List features) { } } - public static class CpuPlatforms extends Response { - - /** 返回Intel的CPU平台信息,例如:Intel: ['Intel/CascadeLake','Intel/CascadelakeR','Intel/IceLake'] */ - @SerializedName("Intel") - private List intel; - - /** 返回AMD的CPU平台信息,例如:AMD: ['Amd/Epyc2'] */ - @SerializedName("Amd") - private List amd; - - /** 返回Arm的CPU平台信息,例如:Ampere: ['Ampere/Altra'] */ - @SerializedName("Ampere") - private List ampere; - - public List getIntel() { - return intel; - } - - public void setIntel(List intel) { - this.intel = intel; - } - - public List getAmd() { - return amd; - } - - public void setAmd(List amd) { - this.amd = amd; - } - - public List getAmpere() { - return ampere; - } - - public void setAmpere(List ampere) { - this.ampere = ampere; - } - } - - public static class Collection extends Response { - - /** CPU规格 */ - @SerializedName("Cpu") - private Integer cpu; - - /** 内存规格 */ - @SerializedName("Memory") - private List memory; - - /** CPU和内存规格只能在列出来的CPU平台支持 */ - @SerializedName("MinimalCpuPlatform") - private List minimalCpuPlatform; - - public Integer getCpu() { - return cpu; - } - - public void setCpu(Integer cpu) { - this.cpu = cpu; - } - - public List getMemory() { - return memory; - } - - public void setMemory(List memory) { - this.memory = memory; - } - - public List getMinimalCpuPlatform() { - return minimalCpuPlatform; - } - - public void setMinimalCpuPlatform(List minimalCpuPlatform) { - this.minimalCpuPlatform = minimalCpuPlatform; - } - } - public static class AvailableInstanceTypes extends Response { /** 机型名称:快杰O型|O 、快杰共享型|OM 、快杰内存型|OMEM 、 快杰PRO型|OPRO、通用N型|N、高主频C型|C和GPU G型|G等 */ @@ -429,36 +338,9 @@ public void setPerformance(Performance performance) { } } - public static class MachineSizes extends Response { - - /** Gpu为GPU可支持的规格即GPU颗数,非GPU机型,Gpu为0 */ - @SerializedName("Gpu") - private Integer gpu; - - /** CPU和内存可支持的规格 */ - @SerializedName("Collection") - private List collection; - - public Integer getGpu() { - return gpu; - } - - public void setGpu(Integer gpu) { - this.gpu = gpu; - } - - public List getCollection() { - return collection; - } - - public void setCollection(List collection) { - this.collection = collection; - } - } - - public static class GraphicsMemory extends Response { + public static class Performance extends Response { - /** 值,单位是GB */ + /** 值,单位是TFlops */ @SerializedName("Value") private Integer value; @@ -483,34 +365,47 @@ public void setRate(Integer rate) { } } - public static class DataDiskInfo extends Response { - - /** 磁盘最小值,如果没有该字段,最小值取基础镜像Size值即可(linux为20G,windows为40G)。 */ - @SerializedName("MinimalSize") - private Integer minimalSize; + public static class Features extends Response { - /** - * 数据盘类别,包含普通云盘|CLOUD_NORMAL、SSD云盘|CLOUD_SSD和RSSD云盘|CLOUD_RSSD。普通本地盘只包含普通本地盘|LOCAL_NORMAL一种。SSD本地盘只包含SSD本地盘|LOCAL_SSD一种。 - */ + /** 可支持的特性名称。目前支持的特性网络增强|NetCapability、热升级|Hotplug */ @SerializedName("Name") private String name; - /** MaximalSize为磁盘最大值 */ - @SerializedName("MaximalSize") - private Integer maximalSize; + /** 可以提供的模式类别 */ + @SerializedName("Modes") + private List modes; - /** 数据盘可支持的服务 */ - @SerializedName("Features") - private List features; + public String getName() { + return name; + } - public Integer getMinimalSize() { - return minimalSize; + public void setName(String name) { + this.name = name; } - public void setMinimalSize(Integer minimalSize) { - this.minimalSize = minimalSize; + public List getModes() { + return modes; } + public void setModes(List modes) { + this.modes = modes; + } + } + + public static class Disks extends Response { + + /** 磁盘介质类别信息,磁盘主要分类如下:云盘|cloudDisk、普通本地盘|normalLocalDisk和SSD本地盘|ssdLocalDisk。 */ + @SerializedName("Name") + private String name; + + /** 系统盘信息 */ + @SerializedName("BootDisk") + private List bootDisk; + + /** 数据盘信息 */ + @SerializedName("DataDisk") + private List dataDisk; + public String getName() { return name; } @@ -519,20 +414,125 @@ public void setName(String name) { this.name = name; } - public Integer getMaximalSize() { - return maximalSize; + public List getBootDisk() { + return bootDisk; } - public void setMaximalSize(Integer maximalSize) { - this.maximalSize = maximalSize; + public void setBootDisk(List bootDisk) { + this.bootDisk = bootDisk; } - public List getFeatures() { - return features; + public List getDataDisk() { + return dataDisk; } - public void setFeatures(List features) { - this.features = features; + public void setDataDisk(List dataDisk) { + this.dataDisk = dataDisk; + } + } + + public static class CpuPlatforms extends Response { + + /** 返回Intel的CPU平台信息,例如:Intel: ['Intel/CascadeLake','Intel/CascadelakeR','Intel/IceLake'] */ + @SerializedName("Intel") + private List intel; + + /** 返回AMD的CPU平台信息,例如:AMD: ['Amd/Epyc2'] */ + @SerializedName("Amd") + private List amd; + + /** 返回Arm的CPU平台信息,例如:Ampere: ['Ampere/Altra'] */ + @SerializedName("Ampere") + private List ampere; + + public List getIntel() { + return intel; + } + + public void setIntel(List intel) { + this.intel = intel; + } + + public List getAmd() { + return amd; + } + + public void setAmd(List amd) { + this.amd = amd; + } + + public List getAmpere() { + return ampere; + } + + public void setAmpere(List ampere) { + this.ampere = ampere; + } + } + + public static class MachineSizes extends Response { + + /** Gpu为GPU可支持的规格即GPU颗数,非GPU机型,Gpu为0 */ + @SerializedName("Gpu") + private Integer gpu; + + /** CPU和内存可支持的规格 */ + @SerializedName("Collection") + private List collection; + + public Integer getGpu() { + return gpu; + } + + public void setGpu(Integer gpu) { + this.gpu = gpu; + } + + public List getCollection() { + return collection; + } + + public void setCollection(List collection) { + this.collection = collection; + } + } + + public static class Collection extends Response { + + /** CPU规格 */ + @SerializedName("Cpu") + private Integer cpu; + + /** 内存规格 */ + @SerializedName("Memory") + private List memory; + + /** CPU和内存规格只能在列出来的CPU平台支持 */ + @SerializedName("MinimalCpuPlatform") + private List minimalCpuPlatform; + + public Integer getCpu() { + return cpu; + } + + public void setCpu(Integer cpu) { + this.cpu = cpu; + } + + public List getMemory() { + return memory; + } + + public void setMemory(List memory) { + this.memory = memory; + } + + public List getMinimalCpuPlatform() { + return minimalCpuPlatform; + } + + public void setMinimalCpuPlatform(List minimalCpuPlatform) { + this.minimalCpuPlatform = minimalCpuPlatform; } } } diff --git a/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/DescribeUHostInstanceResponse.java b/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/DescribeUHostInstanceResponse.java index bf79aaad..26c65bc4 100644 --- a/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/DescribeUHostInstanceResponse.java +++ b/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/DescribeUHostInstanceResponse.java @@ -45,6 +45,117 @@ public void setUHostSet(List uHostSet) { this.uHostSet = uHostSet; } + public static class UHostDiskSet extends Response { + + /** 磁盘类型。请参考[[api:uhost-api:disk_type|磁盘类型]]。 */ + @SerializedName("DiskType") + private String diskType; + + /** 是否是系统盘。枚举值:\\ > True,是系统盘 \\ > False,是数据盘(默认)。Disks数组中有且只能有一块盘是系统盘。 */ + @SerializedName("IsBoot") + private String isBoot; + + /** "true": 加密盘 "false":非加密盘 */ + @SerializedName("Encrypted") + private String encrypted; + + /** 【建议不再使用】磁盘类型。系统盘: Boot,数据盘: Data,网络盘:Udisk */ + @SerializedName("Type") + private String type; + + /** 磁盘ID */ + @SerializedName("DiskId") + private String diskId; + + /** UDisk名字(仅当磁盘是UDisk时返回) */ + @SerializedName("Name") + private String name; + + /** 磁盘盘符 */ + @SerializedName("Drive") + private String drive; + + /** 磁盘大小,单位: GB */ + @SerializedName("Size") + private Integer size; + + /** 备份方案。若开通了数据方舟,则为DATAARK */ + @SerializedName("BackupType") + private String backupType; + + public String getDiskType() { + return diskType; + } + + public void setDiskType(String diskType) { + this.diskType = diskType; + } + + public String getIsBoot() { + return isBoot; + } + + public void setIsBoot(String isBoot) { + this.isBoot = isBoot; + } + + public String getEncrypted() { + return encrypted; + } + + public void setEncrypted(String encrypted) { + this.encrypted = encrypted; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public String getDiskId() { + return diskId; + } + + public void setDiskId(String diskId) { + this.diskId = diskId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDrive() { + return drive; + } + + public void setDrive(String drive) { + this.drive = drive; + } + + public Integer getSize() { + return size; + } + + public void setSize(Integer size) { + this.size = size; + } + + public String getBackupType() { + return backupType; + } + + public void setBackupType(String backupType) { + this.backupType = backupType; + } + } + public static class UHostInstanceSet extends Response { /** 可用区。参见 [可用区列表](../summary/regionlist.html) */ @@ -692,115 +803,4 @@ public void setNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; } } - - public static class UHostDiskSet extends Response { - - /** 磁盘类型。请参考[[api:uhost-api:disk_type|磁盘类型]]。 */ - @SerializedName("DiskType") - private String diskType; - - /** 是否是系统盘。枚举值:\\ > True,是系统盘 \\ > False,是数据盘(默认)。Disks数组中有且只能有一块盘是系统盘。 */ - @SerializedName("IsBoot") - private String isBoot; - - /** "true": 加密盘 "false":非加密盘 */ - @SerializedName("Encrypted") - private String encrypted; - - /** 【建议不再使用】磁盘类型。系统盘: Boot,数据盘: Data,网络盘:Udisk */ - @SerializedName("Type") - private String type; - - /** 磁盘ID */ - @SerializedName("DiskId") - private String diskId; - - /** UDisk名字(仅当磁盘是UDisk时返回) */ - @SerializedName("Name") - private String name; - - /** 磁盘盘符 */ - @SerializedName("Drive") - private String drive; - - /** 磁盘大小,单位: GB */ - @SerializedName("Size") - private Integer size; - - /** 备份方案。若开通了数据方舟,则为DATAARK */ - @SerializedName("BackupType") - private String backupType; - - public String getDiskType() { - return diskType; - } - - public void setDiskType(String diskType) { - this.diskType = diskType; - } - - public String getIsBoot() { - return isBoot; - } - - public void setIsBoot(String isBoot) { - this.isBoot = isBoot; - } - - public String getEncrypted() { - return encrypted; - } - - public void setEncrypted(String encrypted) { - this.encrypted = encrypted; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getDiskId() { - return diskId; - } - - public void setDiskId(String diskId) { - this.diskId = diskId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getDrive() { - return drive; - } - - public void setDrive(String drive) { - this.drive = drive; - } - - public Integer getSize() { - return size; - } - - public void setSize(Integer size) { - this.size = size; - } - - public String getBackupType() { - return backupType; - } - - public void setBackupType(String backupType) { - this.backupType = backupType; - } - } } diff --git a/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/GetUHostInstancePriceRequest.java b/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/GetUHostInstancePriceRequest.java index c02b5a24..cc34f34a 100644 --- a/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/GetUHostInstancePriceRequest.java +++ b/ucloud-sdk-java-uhost/src/main/java/cn/ucloud/uhost/models/GetUHostInstancePriceRequest.java @@ -250,8 +250,6 @@ public void setVirtualGpu(VirtualGpu virtualGpu) { this.virtualGpu = virtualGpu; } - public static class Volumes extends Request {} - public static class Disks extends Request { /** 是否是系统盘。枚举值:\\ > True,是系统盘 \\ > False,是数据盘(默认)。Disks数组中有且只能有一块盘是系统盘。 */ @@ -310,4 +308,6 @@ public void setBackupType(String backupType) { } public static class VirtualGpu extends Request {} + + public static class Volumes extends Request {} } diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/CreateUK8SClusterV2Request.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/CreateUK8SClusterV2Request.java index 3ee6dc80..80a08264 100644 --- a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/CreateUK8SClusterV2Request.java +++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/CreateUK8SClusterV2Request.java @@ -334,6 +334,21 @@ public void setInitScript(String initScript) { this.initScript = initScript; } + public static class KubeProxy extends Request { + + /** 集群kube-proxy模式。支持iptables和ipvs,默认为iptables。 */ + @UCloudParam("Mode") + private String mode; + + public String getMode() { + return mode; + } + + public void setMode(String mode) { + this.mode = mode; + } + } + public static class Nodes extends Request { /** @@ -534,19 +549,4 @@ public void setZone(String zone) { this.zone = zone; } } - - public static class KubeProxy extends Request { - - /** 集群kube-proxy模式。支持iptables和ipvs,默认为iptables。 */ - @UCloudParam("Mode") - private String mode; - - public String getMode() { - return mode; - } - - public void setMode(String mode) { - this.mode = mode; - } - } } diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SClusterResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SClusterResponse.java index 06cda002..6badc85d 100644 --- a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SClusterResponse.java +++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SClusterResponse.java @@ -273,168 +273,6 @@ public void setMasterResourceStatus(String masterResourceStatus) { this.masterResourceStatus = masterResourceStatus; } - public static class KubeProxy extends Response { - - /** KubeProxy模式,枚举值为[ipvs,iptables] */ - @SerializedName("Mode") - private String mode; - - public String getMode() { - return mode; - } - - public void setMode(String mode) { - this.mode = mode; - } - } - - public static class UhostInfo extends Response { - - /** 所在机房 */ - @SerializedName("Zone") - private String zone; - - /** 主机名称 */ - @SerializedName("Name") - private String name; - - /** Cpu数量 */ - @SerializedName("CPU") - private Integer cpu; - - /** 内存 */ - @SerializedName("Memory") - private Integer memory; - - /** 节点IP信息 */ - @SerializedName("IPSet") - private List ipSet; - - /** 节点磁盘信息 */ - @SerializedName("DiskSet") - private List diskSet; - - /** 主机ID */ - @SerializedName("NodeId") - private String nodeId; - - /** 镜像信息 */ - @SerializedName("OsName") - private String osName; - - /** 创建时间 */ - @SerializedName("CreateTime") - private Integer createTime; - - /** 到期时间 */ - @SerializedName("ExpireTime") - private Integer expireTime; - - /** 主机状态 */ - @SerializedName("State") - private String state; - - /** 节点类型:uhost表示云主机;uphost表示物理云主机 */ - @SerializedName("NodeType") - private String nodeType; - - public String getZone() { - return zone; - } - - public void setZone(String zone) { - this.zone = zone; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getCPU() { - return cpu; - } - - public void setCPU(Integer cpu) { - this.cpu = cpu; - } - - public Integer getMemory() { - return memory; - } - - public void setMemory(Integer memory) { - this.memory = memory; - } - - public List getIPSet() { - return ipSet; - } - - public void setIPSet(List ipSet) { - this.ipSet = ipSet; - } - - public List getDiskSet() { - return diskSet; - } - - public void setDiskSet(List diskSet) { - this.diskSet = diskSet; - } - - public String getNodeId() { - return nodeId; - } - - public void setNodeId(String nodeId) { - this.nodeId = nodeId; - } - - public String getOsName() { - return osName; - } - - public void setOsName(String osName) { - this.osName = osName; - } - - public Integer getCreateTime() { - return createTime; - } - - public void setCreateTime(Integer createTime) { - this.createTime = createTime; - } - - public Integer getExpireTime() { - return expireTime; - } - - public void setExpireTime(Integer expireTime) { - this.expireTime = expireTime; - } - - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - public String getNodeType() { - return nodeType; - } - - public void setNodeType(String nodeType) { - this.nodeType = nodeType; - } - } - public static class DiskSet extends Response { /** 磁盘类型。系统盘: Boot,数据盘: Data,网络盘:Udisk */ @@ -620,4 +458,166 @@ public void setDefault(String fDefault) { this.fDefault = fDefault; } } + + public static class KubeProxy extends Response { + + /** KubeProxy模式,枚举值为[ipvs,iptables] */ + @SerializedName("Mode") + private String mode; + + public String getMode() { + return mode; + } + + public void setMode(String mode) { + this.mode = mode; + } + } + + public static class UhostInfo extends Response { + + /** 所在机房 */ + @SerializedName("Zone") + private String zone; + + /** 主机名称 */ + @SerializedName("Name") + private String name; + + /** Cpu数量 */ + @SerializedName("CPU") + private Integer cpu; + + /** 内存 */ + @SerializedName("Memory") + private Integer memory; + + /** 节点IP信息 */ + @SerializedName("IPSet") + private List ipSet; + + /** 节点磁盘信息 */ + @SerializedName("DiskSet") + private List diskSet; + + /** 主机ID */ + @SerializedName("NodeId") + private String nodeId; + + /** 镜像信息 */ + @SerializedName("OsName") + private String osName; + + /** 创建时间 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 到期时间 */ + @SerializedName("ExpireTime") + private Integer expireTime; + + /** 主机状态 */ + @SerializedName("State") + private String state; + + /** 节点类型:uhost表示云主机;uphost表示物理云主机 */ + @SerializedName("NodeType") + private String nodeType; + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getCPU() { + return cpu; + } + + public void setCPU(Integer cpu) { + this.cpu = cpu; + } + + public Integer getMemory() { + return memory; + } + + public void setMemory(Integer memory) { + this.memory = memory; + } + + public List getIPSet() { + return ipSet; + } + + public void setIPSet(List ipSet) { + this.ipSet = ipSet; + } + + public List getDiskSet() { + return diskSet; + } + + public void setDiskSet(List diskSet) { + this.diskSet = diskSet; + } + + public String getNodeId() { + return nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public String getOsName() { + return osName; + } + + public void setOsName(String osName) { + this.osName = osName; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public Integer getExpireTime() { + return expireTime; + } + + public void setExpireTime(Integer expireTime) { + this.expireTime = expireTime; + } + + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public String getNodeType() { + return nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + } } diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/ListUK8SClusterNodeV2Response.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/ListUK8SClusterNodeV2Response.java index 87ebb095..8f9b4bb0 100644 --- a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/ListUK8SClusterNodeV2Response.java +++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/ListUK8SClusterNodeV2Response.java @@ -45,6 +45,21 @@ public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } + public static class KubeProxy extends Response { + + /** KubeProxy模式,枚举值为[ipvs,iptables] */ + @SerializedName("Mode") + private String mode; + + public String getMode() { + return mode; + } + + public void setMode(String mode) { + this.mode = mode; + } + } + public static class UHostIPSet extends Response { /** 国际: Internation,BGP: Bgp,内网: Private */ @@ -377,19 +392,4 @@ public void setGPU(Integer gpu) { this.gpu = gpu; } } - - public static class KubeProxy extends Response { - - /** KubeProxy模式,枚举值为[ipvs,iptables] */ - @SerializedName("Mode") - private String mode; - - public String getMode() { - return mode; - } - - public void setMode(String mode) { - this.mode = mode; - } - } } diff --git a/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/DescribeULBResponse.java b/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/DescribeULBResponse.java index 0b711f6d..14256830 100644 --- a/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/DescribeULBResponse.java +++ b/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/DescribeULBResponse.java @@ -159,281 +159,153 @@ public void setPrivateIP(String privateIP) { } } - public static class ULBVServerSet extends Response { - - /** - * 健康检查类型,枚举值:Port -> 端口检查;Path -> 路径检查;Ping -> Ping探测, Customize -> UDP检查 - * - *

请求代理型默认值为Port,其中TCP协议仅支持Port,其他协议支持Port和Path; - * 报文转发型TCP协议仅支持Port,UDP协议支持Ping、Port和Customize - */ - @SerializedName("MonitorType") - private String monitorType; - - /** 负载均衡实例的Id */ - @SerializedName("ULBId") - private String ulbId; - - /** 根据MonitorType确认; 当MonitorType为Port时,此字段无意义。当MonitorType为Path时,代表HTTP检查域名 */ - @SerializedName("Domain") - private String domain; - - /** 根据MonitorType确认; 当MonitorType为Port时,此字段无意义。当MonitorType为Path时,代表HTTP检查路径 */ - @SerializedName("Path") - private String path; - - /** 根据MonitorType确认; 当MonitorType为Customize时,此字段有意义,代表UDP检查发出的请求报文 */ - @SerializedName("RequestMsg") - private String requestMsg; - - /** 根据MonitorType确认; 当MonitorType为Customize时,此字段有意义,代表UDP检查请求应收到的响应报文 */ - @SerializedName("ResponseMsg") - private String responseMsg; - - /** VServer实例的Id */ - @SerializedName("VServerId") - private String vServerId; - - /** VServer实例的名字 */ - @SerializedName("VServerName") - private String vServerName; - - /** VServer实例的协议。 枚举值为:HTTP,TCP,UDP,HTTPS。 */ - @SerializedName("Protocol") - private String protocol; - - /** VServer服务端口 */ - @SerializedName("FrontendPort") - private Integer frontendPort; - - /** - * VServer负载均衡的模式,枚举值:Roundrobin -> 轮询;Source -> 源地址;ConsistentHash -> 一致性哈希;SourcePort -> - * 源地址(计算端口);ConsistentHashPort -> 一致性哈希(计算端口)。 - */ - @SerializedName("Method") - private String method; - - /** VServer会话保持方式。枚举值为: None -> 关闭会话保持; ServerInsert -> 自动生成; UserDefined -> 用户自定义。 */ - @SerializedName("PersistenceType") - private String persistenceType; - - /** 根据PersistenceType确定: None或ServerInsert,此字段为空; UserDefined,此字段展示用户自定义会话string。 */ - @SerializedName("PersistenceInfo") - private String persistenceInfo; - - /** 空闲连接的回收时间,单位:秒。 */ - @SerializedName("ClientTimeout") - private Integer clientTimeout; - - /** VServer的运行状态。枚举值: 0 -> rs全部运行正常;1 -> rs全部运行异常;2 -> rs部分运行异常。 */ - @SerializedName("Status") - private Integer status; - - /** VServer绑定的SSL证书信息,具体结构见下方 ULBSSLSet。 */ - @SerializedName("SSLSet") - private List sslSet; - - /** 后端资源信息列表,具体结构见下方 ULBBackendSet */ - @SerializedName("BackendSet") - private List backendSet; - - /** 监听器类型,枚举值为: RequestProxy -> 请求代理;PacketsTransmit -> 报文转发 */ - @SerializedName("ListenType") - private String listenType; - - /** 内容转发信息列表,具体结构见下方 ULBPolicySet */ - @SerializedName("PolicySet") - private List policySet; - - public String getMonitorType() { - return monitorType; - } - - public void setMonitorType(String monitorType) { - this.monitorType = monitorType; - } - - public String getULBId() { - return ulbId; - } - - public void setULBId(String ulbId) { - this.ulbId = ulbId; - } - - public String getDomain() { - return domain; - } - - public void setDomain(String domain) { - this.domain = domain; - } - - public String getPath() { - return path; - } + public static class LoggerSet extends Response { - public void setPath(String path) { - this.path = path; - } + /** ulb日志上传的bucket */ + @SerializedName("BucketName") + private String bucketName; - public String getRequestMsg() { - return requestMsg; - } + /** 上传到bucket使用的token的tokenid */ + @SerializedName("TokenID") + private String tokenID; - public void setRequestMsg(String requestMsg) { - this.requestMsg = requestMsg; - } + /** bucket的token名称 */ + @SerializedName("TokenName") + private String tokenName; - public String getResponseMsg() { - return responseMsg; + public String getBucketName() { + return bucketName; } - public void setResponseMsg(String responseMsg) { - this.responseMsg = responseMsg; + public void setBucketName(String bucketName) { + this.bucketName = bucketName; } - public String getVServerId() { - return vServerId; + public String getTokenID() { + return tokenID; } - public void setVServerId(String vServerId) { - this.vServerId = vServerId; + public void setTokenID(String tokenID) { + this.tokenID = tokenID; } - public String getVServerName() { - return vServerName; + public String getTokenName() { + return tokenName; } - public void setVServerName(String vServerName) { - this.vServerName = vServerName; + public void setTokenName(String tokenName) { + this.tokenName = tokenName; } + } - public String getProtocol() { - return protocol; - } + public static class ULBPolicySet extends Response { - public void setProtocol(String protocol) { - this.protocol = protocol; - } + /** 内容转发规则中域名的匹配方式。枚举值:Regular,正则;Wildcard,泛域名 */ + @SerializedName("DomainMatchMode") + private String domainMatchMode; - public Integer getFrontendPort() { - return frontendPort; - } + /** 内容转发Id,默认内容转发类型下为空。 */ + @SerializedName("PolicyId") + private String policyId; - public void setFrontendPort(Integer frontendPort) { - this.frontendPort = frontendPort; - } + /** 内容类型,枚举值:Custom -> 客户自定义;Default -> 默认内容转发 */ + @SerializedName("PolicyType") + private String policyType; - public String getMethod() { - return method; - } + /** 内容转发匹配字段的类型,枚举值:Domain -> 域名;Path -> 路径; 默认内容转发类型下为空 */ + @SerializedName("Type") + private String type; - public void setMethod(String method) { - this.method = method; - } + /** 内容转发匹配字段;默认内容转发类型下为空。 */ + @SerializedName("Match") + private String match; - public String getPersistenceType() { - return persistenceType; - } + /** 内容转发优先级,范围[1,9999],数字越大优先级越高。默认内容转发规则下为0。 */ + @SerializedName("PolicyPriority") + private Integer policyPriority; - public void setPersistenceType(String persistenceType) { - this.persistenceType = persistenceType; - } + /** 所属VServerId */ + @SerializedName("VServerId") + private String vServerId; - public String getPersistenceInfo() { - return persistenceInfo; - } + /** 默认内容转发类型下返回当前rs总数 */ + @SerializedName("TotalCount") + private Integer totalCount; - public void setPersistenceInfo(String persistenceInfo) { - this.persistenceInfo = persistenceInfo; - } + /** 内容转发下rs的详细信息,参考PolicyBackendSet */ + @SerializedName("BackendSet") + private List backendSet; - public Integer getClientTimeout() { - return clientTimeout; + public String getDomainMatchMode() { + return domainMatchMode; } - public void setClientTimeout(Integer clientTimeout) { - this.clientTimeout = clientTimeout; + public void setDomainMatchMode(String domainMatchMode) { + this.domainMatchMode = domainMatchMode; } - public Integer getStatus() { - return status; + public String getPolicyId() { + return policyId; } - public void setStatus(Integer status) { - this.status = status; + public void setPolicyId(String policyId) { + this.policyId = policyId; } - public List getSSLSet() { - return sslSet; + public String getPolicyType() { + return policyType; } - public void setSSLSet(List sslSet) { - this.sslSet = sslSet; + public void setPolicyType(String policyType) { + this.policyType = policyType; } - public List getBackendSet() { - return backendSet; + public String getType() { + return type; } - public void setBackendSet(List backendSet) { - this.backendSet = backendSet; + public void setType(String type) { + this.type = type; } - public String getListenType() { - return listenType; + public String getMatch() { + return match; } - public void setListenType(String listenType) { - this.listenType = listenType; + public void setMatch(String match) { + this.match = match; } - public List getPolicySet() { - return policySet; + public Integer getPolicyPriority() { + return policyPriority; } - public void setPolicySet(List policySet) { - this.policySet = policySet; + public void setPolicyPriority(Integer policyPriority) { + this.policyPriority = policyPriority; } - } - public static class LoggerSet extends Response { - - /** ulb日志上传的bucket */ - @SerializedName("BucketName") - private String bucketName; - - /** 上传到bucket使用的token的tokenid */ - @SerializedName("TokenID") - private String tokenID; - - /** bucket的token名称 */ - @SerializedName("TokenName") - private String tokenName; - - public String getBucketName() { - return bucketName; + public String getVServerId() { + return vServerId; } - public void setBucketName(String bucketName) { - this.bucketName = bucketName; + public void setVServerId(String vServerId) { + this.vServerId = vServerId; } - public String getTokenID() { - return tokenID; + public Integer getTotalCount() { + return totalCount; } - public void setTokenID(String tokenID) { - this.tokenID = tokenID; + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; } - public String getTokenName() { - return tokenName; + public List getBackendSet() { + return backendSet; } - public void setTokenName(String tokenName) { - this.tokenName = tokenName; + public void setBackendSet(List backendSet) { + this.backendSet = backendSet; } } @@ -668,91 +540,23 @@ public void setLogSet(LoggerSet logSet) { } } - public static class ULBPolicySet extends Response { - - /** 内容转发规则中域名的匹配方式。枚举值:Regular,正则;Wildcard,泛域名 */ - @SerializedName("DomainMatchMode") - private String domainMatchMode; - - /** 内容转发Id,默认内容转发类型下为空。 */ - @SerializedName("PolicyId") - private String policyId; - - /** 内容类型,枚举值:Custom -> 客户自定义;Default -> 默认内容转发 */ - @SerializedName("PolicyType") - private String policyType; - - /** 内容转发匹配字段的类型,枚举值:Domain -> 域名;Path -> 路径; 默认内容转发类型下为空 */ - @SerializedName("Type") - private String type; - - /** 内容转发匹配字段;默认内容转发类型下为空。 */ - @SerializedName("Match") - private String match; - - /** 内容转发优先级,范围[1,9999],数字越大优先级越高。默认内容转发规则下为0。 */ - @SerializedName("PolicyPriority") - private Integer policyPriority; + public static class SSLBindedTargetSet extends Response { - /** 所属VServerId */ + /** SSL证书绑定到的VServer的资源ID */ @SerializedName("VServerId") private String vServerId; - /** 默认内容转发类型下返回当前rs总数 */ - @SerializedName("TotalCount") - private Integer totalCount; - - /** 内容转发下rs的详细信息,参考PolicyBackendSet */ - @SerializedName("BackendSet") - private List backendSet; - - public String getDomainMatchMode() { - return domainMatchMode; - } - - public void setDomainMatchMode(String domainMatchMode) { - this.domainMatchMode = domainMatchMode; - } - - public String getPolicyId() { - return policyId; - } - - public void setPolicyId(String policyId) { - this.policyId = policyId; - } - - public String getPolicyType() { - return policyType; - } - - public void setPolicyType(String policyType) { - this.policyType = policyType; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getMatch() { - return match; - } - - public void setMatch(String match) { - this.match = match; - } + /** 对应的VServer的名字 */ + @SerializedName("VServerName") + private String vServerName; - public Integer getPolicyPriority() { - return policyPriority; - } + /** VServer 所属的ULB实例的资源ID */ + @SerializedName("ULBId") + private String ulbId; - public void setPolicyPriority(Integer policyPriority) { - this.policyPriority = policyPriority; - } + /** ULB实例的名称 */ + @SerializedName("ULBName") + private String ulbName; public String getVServerId() { return vServerId; @@ -762,20 +566,28 @@ public void setVServerId(String vServerId) { this.vServerId = vServerId; } - public Integer getTotalCount() { - return totalCount; + public String getVServerName() { + return vServerName; } - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; + public void setVServerName(String vServerName) { + this.vServerName = vServerName; } - public List getBackendSet() { - return backendSet; + public String getULBId() { + return ulbId; } - public void setBackendSet(List backendSet) { - this.backendSet = backendSet; + public void setULBId(String ulbId) { + this.ulbId = ulbId; + } + + public String getULBName() { + return ulbName; + } + + public void setULBName(String ulbName) { + this.ulbName = ulbName; } } @@ -842,117 +654,242 @@ public void setBandwidth(Integer bandwidth) { } } - public static class FirewallSet extends Response { + public static class ULBVServerSet extends Response { + + /** + * 健康检查类型,枚举值:Port -> 端口检查;Path -> 路径检查;Ping -> Ping探测, Customize -> UDP检查 + * + *

请求代理型默认值为Port,其中TCP协议仅支持Port,其他协议支持Port和Path; + * 报文转发型TCP协议仅支持Port,UDP协议支持Ping、Port和Customize + */ + @SerializedName("MonitorType") + private String monitorType; + + /** 负载均衡实例的Id */ + @SerializedName("ULBId") + private String ulbId; + + /** 根据MonitorType确认; 当MonitorType为Port时,此字段无意义。当MonitorType为Path时,代表HTTP检查域名 */ + @SerializedName("Domain") + private String domain; + + /** 根据MonitorType确认; 当MonitorType为Port时,此字段无意义。当MonitorType为Path时,代表HTTP检查路径 */ + @SerializedName("Path") + private String path; + + /** 根据MonitorType确认; 当MonitorType为Customize时,此字段有意义,代表UDP检查发出的请求报文 */ + @SerializedName("RequestMsg") + private String requestMsg; + + /** 根据MonitorType确认; 当MonitorType为Customize时,此字段有意义,代表UDP检查请求应收到的响应报文 */ + @SerializedName("ResponseMsg") + private String responseMsg; + + /** VServer实例的Id */ + @SerializedName("VServerId") + private String vServerId; + + /** VServer实例的名字 */ + @SerializedName("VServerName") + private String vServerName; + + /** VServer实例的协议。 枚举值为:HTTP,TCP,UDP,HTTPS。 */ + @SerializedName("Protocol") + private String protocol; + + /** VServer服务端口 */ + @SerializedName("FrontendPort") + private Integer frontendPort; + + /** + * VServer负载均衡的模式,枚举值:Roundrobin -> 轮询;Source -> 源地址;ConsistentHash -> 一致性哈希;SourcePort -> + * 源地址(计算端口);ConsistentHashPort -> 一致性哈希(计算端口)。 + */ + @SerializedName("Method") + private String method; + + /** VServer会话保持方式。枚举值为: None -> 关闭会话保持; ServerInsert -> 自动生成; UserDefined -> 用户自定义。 */ + @SerializedName("PersistenceType") + private String persistenceType; + + /** 根据PersistenceType确定: None或ServerInsert,此字段为空; UserDefined,此字段展示用户自定义会话string。 */ + @SerializedName("PersistenceInfo") + private String persistenceInfo; + + /** 空闲连接的回收时间,单位:秒。 */ + @SerializedName("ClientTimeout") + private Integer clientTimeout; + + /** VServer的运行状态。枚举值: 0 -> rs全部运行正常;1 -> rs全部运行异常;2 -> rs部分运行异常。 */ + @SerializedName("Status") + private Integer status; + + /** VServer绑定的SSL证书信息,具体结构见下方 ULBSSLSet。 */ + @SerializedName("SSLSet") + private List sslSet; + + /** 后端资源信息列表,具体结构见下方 ULBBackendSet */ + @SerializedName("BackendSet") + private List backendSet; + + /** 监听器类型,枚举值为: RequestProxy -> 请求代理;PacketsTransmit -> 报文转发 */ + @SerializedName("ListenType") + private String listenType; + + /** 内容转发信息列表,具体结构见下方 ULBPolicySet */ + @SerializedName("PolicySet") + private List policySet; + + public String getMonitorType() { + return monitorType; + } + + public void setMonitorType(String monitorType) { + this.monitorType = monitorType; + } + + public String getULBId() { + return ulbId; + } + + public void setULBId(String ulbId) { + this.ulbId = ulbId; + } + + public String getDomain() { + return domain; + } + + public void setDomain(String domain) { + this.domain = domain; + } + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + public String getRequestMsg() { + return requestMsg; + } + + public void setRequestMsg(String requestMsg) { + this.requestMsg = requestMsg; + } - /** 防火墙名称 */ - @SerializedName("FirewallName") - private String firewallName; + public String getResponseMsg() { + return responseMsg; + } - /** 防火墙ID */ - @SerializedName("FirewallId") - private String firewallId; + public void setResponseMsg(String responseMsg) { + this.responseMsg = responseMsg; + } - public String getFirewallName() { - return firewallName; + public String getVServerId() { + return vServerId; } - public void setFirewallName(String firewallName) { - this.firewallName = firewallName; + public void setVServerId(String vServerId) { + this.vServerId = vServerId; } - public String getFirewallId() { - return firewallId; + public String getVServerName() { + return vServerName; } - public void setFirewallId(String firewallId) { - this.firewallId = firewallId; + public void setVServerName(String vServerName) { + this.vServerName = vServerName; } - } - public static class ULBSSLSet extends Response { + public String getProtocol() { + return protocol; + } - /** SSL证书的Id */ - @SerializedName("SSLId") - private String sslId; + public void setProtocol(String protocol) { + this.protocol = protocol; + } - /** SSL证书的名字 */ - @SerializedName("SSLName") - private String sslName; + public Integer getFrontendPort() { + return frontendPort; + } - /** SSL证书类型,暂时只有 Pem 一种类型 */ - @SerializedName("SSLType") - private String sslType; + public void setFrontendPort(Integer frontendPort) { + this.frontendPort = frontendPort; + } - /** SSL证书的内容 */ - @SerializedName("SSLContent") - private String sslContent; + public String getMethod() { + return method; + } - /** SSL证书的创建时间 */ - @SerializedName("CreateTime") - private Integer createTime; + public void setMethod(String method) { + this.method = method; + } - /** SSL证书的HASH值 */ - @SerializedName("HashValue") - private String hashValue; + public String getPersistenceType() { + return persistenceType; + } - /** SSL证书绑定到的对象 */ - @SerializedName("BindedTargetSet") - private List bindedTargetSet; + public void setPersistenceType(String persistenceType) { + this.persistenceType = persistenceType; + } - public String getSSLId() { - return sslId; + public String getPersistenceInfo() { + return persistenceInfo; } - public void setSSLId(String sslId) { - this.sslId = sslId; + public void setPersistenceInfo(String persistenceInfo) { + this.persistenceInfo = persistenceInfo; } - public String getSSLName() { - return sslName; + public Integer getClientTimeout() { + return clientTimeout; } - public void setSSLName(String sslName) { - this.sslName = sslName; + public void setClientTimeout(Integer clientTimeout) { + this.clientTimeout = clientTimeout; } - public String getSSLType() { - return sslType; + public Integer getStatus() { + return status; } - public void setSSLType(String sslType) { - this.sslType = sslType; + public void setStatus(Integer status) { + this.status = status; } - public String getSSLContent() { - return sslContent; + public List getSSLSet() { + return sslSet; } - public void setSSLContent(String sslContent) { - this.sslContent = sslContent; + public void setSSLSet(List sslSet) { + this.sslSet = sslSet; } - public Integer getCreateTime() { - return createTime; + public List getBackendSet() { + return backendSet; } - public void setCreateTime(Integer createTime) { - this.createTime = createTime; + public void setBackendSet(List backendSet) { + this.backendSet = backendSet; } - public String getHashValue() { - return hashValue; + public String getListenType() { + return listenType; } - public void setHashValue(String hashValue) { - this.hashValue = hashValue; + public void setListenType(String listenType) { + this.listenType = listenType; } - public List getBindedTargetSet() { - return bindedTargetSet; + public List getPolicySet() { + return policySet; } - public void setBindedTargetSet(List bindedTargetSet) { - this.bindedTargetSet = bindedTargetSet; + public void setPolicySet(List policySet) { + this.policySet = policySet; } } @@ -1119,54 +1056,117 @@ public void setIsBackup(Integer isBackup) { } } - public static class SSLBindedTargetSet extends Response { + public static class ULBSSLSet extends Response { - /** SSL证书绑定到的VServer的资源ID */ - @SerializedName("VServerId") - private String vServerId; + /** SSL证书的Id */ + @SerializedName("SSLId") + private String sslId; - /** 对应的VServer的名字 */ - @SerializedName("VServerName") - private String vServerName; + /** SSL证书的名字 */ + @SerializedName("SSLName") + private String sslName; - /** VServer 所属的ULB实例的资源ID */ - @SerializedName("ULBId") - private String ulbId; + /** SSL证书类型,暂时只有 Pem 一种类型 */ + @SerializedName("SSLType") + private String sslType; - /** ULB实例的名称 */ - @SerializedName("ULBName") - private String ulbName; + /** SSL证书的内容 */ + @SerializedName("SSLContent") + private String sslContent; - public String getVServerId() { - return vServerId; + /** SSL证书的创建时间 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** SSL证书的HASH值 */ + @SerializedName("HashValue") + private String hashValue; + + /** SSL证书绑定到的对象 */ + @SerializedName("BindedTargetSet") + private List bindedTargetSet; + + public String getSSLId() { + return sslId; } - public void setVServerId(String vServerId) { - this.vServerId = vServerId; + public void setSSLId(String sslId) { + this.sslId = sslId; } - public String getVServerName() { - return vServerName; + public String getSSLName() { + return sslName; } - public void setVServerName(String vServerName) { - this.vServerName = vServerName; + public void setSSLName(String sslName) { + this.sslName = sslName; } - public String getULBId() { - return ulbId; + public String getSSLType() { + return sslType; } - public void setULBId(String ulbId) { - this.ulbId = ulbId; + public void setSSLType(String sslType) { + this.sslType = sslType; } - public String getULBName() { - return ulbName; + public String getSSLContent() { + return sslContent; } - public void setULBName(String ulbName) { - this.ulbName = ulbName; + public void setSSLContent(String sslContent) { + this.sslContent = sslContent; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public String getHashValue() { + return hashValue; + } + + public void setHashValue(String hashValue) { + this.hashValue = hashValue; + } + + public List getBindedTargetSet() { + return bindedTargetSet; + } + + public void setBindedTargetSet(List bindedTargetSet) { + this.bindedTargetSet = bindedTargetSet; + } + } + + public static class FirewallSet extends Response { + + /** 防火墙名称 */ + @SerializedName("FirewallName") + private String firewallName; + + /** 防火墙ID */ + @SerializedName("FirewallId") + private String firewallId; + + public String getFirewallName() { + return firewallName; + } + + public void setFirewallName(String firewallName) { + this.firewallName = firewallName; + } + + public String getFirewallId() { + return firewallId; + } + + public void setFirewallId(String firewallId) { + this.firewallId = firewallId; } } } diff --git a/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/DescribeULBSimpleResponse.java b/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/DescribeULBSimpleResponse.java index 05f37d2a..c4e8cd5a 100644 --- a/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/DescribeULBSimpleResponse.java +++ b/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/DescribeULBSimpleResponse.java @@ -45,96 +45,6 @@ public void setDataSet(List dataSet) { this.dataSet = dataSet; } - public static class FirewallSet extends Response { - - /** 防火墙名称 */ - @SerializedName("FirewallName") - private String firewallName; - - /** 防火墙ID */ - @SerializedName("FirewallId") - private String firewallId; - - public String getFirewallName() { - return firewallName; - } - - public void setFirewallName(String firewallName) { - this.firewallName = firewallName; - } - - public String getFirewallId() { - return firewallId; - } - - public void setFirewallId(String firewallId) { - this.firewallId = firewallId; - } - } - - public static class ULBIPSet extends Response { - - /** 弹性IP的运营商信息,枚举值为: Bgp:BGP IP International:国际IP */ - @SerializedName("OperatorName") - private String operatorName; - - /** 弹性IP地址 */ - @SerializedName("EIP") - private String eip; - - /** 弹性IP的ID */ - @SerializedName("EIPId") - private String eipId; - - /** 弹性IP的带宽类型,枚举值:1 表示是共享带宽,0 普通带宽类型(暂未对外开放) */ - @SerializedName("BandwidthType") - private Integer bandwidthType; - - /** 弹性IP的带宽值(暂未对外开放) */ - @SerializedName("Bandwidth") - private Integer bandwidth; - - public String getOperatorName() { - return operatorName; - } - - public void setOperatorName(String operatorName) { - this.operatorName = operatorName; - } - - public String getEIP() { - return eip; - } - - public void setEIP(String eip) { - this.eip = eip; - } - - public String getEIPId() { - return eipId; - } - - public void setEIPId(String eipId) { - this.eipId = eipId; - } - - public Integer getBandwidthType() { - return bandwidthType; - } - - public void setBandwidthType(Integer bandwidthType) { - this.bandwidthType = bandwidthType; - } - - public Integer getBandwidth() { - return bandwidth; - } - - public void setBandwidth(Integer bandwidth) { - this.bandwidth = bandwidth; - } - } - public static class ULBSimpleSet extends Response { /** ULB 监听器类型,枚举值:RequestProxy,请求代理; PacketsTransmit ,报文转发;Comprehensive,兼容型;Pending,未定型 */ @@ -404,4 +314,94 @@ public void setTokenName(String tokenName) { this.tokenName = tokenName; } } + + public static class FirewallSet extends Response { + + /** 防火墙名称 */ + @SerializedName("FirewallName") + private String firewallName; + + /** 防火墙ID */ + @SerializedName("FirewallId") + private String firewallId; + + public String getFirewallName() { + return firewallName; + } + + public void setFirewallName(String firewallName) { + this.firewallName = firewallName; + } + + public String getFirewallId() { + return firewallId; + } + + public void setFirewallId(String firewallId) { + this.firewallId = firewallId; + } + } + + public static class ULBIPSet extends Response { + + /** 弹性IP的运营商信息,枚举值为: Bgp:BGP IP International:国际IP */ + @SerializedName("OperatorName") + private String operatorName; + + /** 弹性IP地址 */ + @SerializedName("EIP") + private String eip; + + /** 弹性IP的ID */ + @SerializedName("EIPId") + private String eipId; + + /** 弹性IP的带宽类型,枚举值:1 表示是共享带宽,0 普通带宽类型(暂未对外开放) */ + @SerializedName("BandwidthType") + private Integer bandwidthType; + + /** 弹性IP的带宽值(暂未对外开放) */ + @SerializedName("Bandwidth") + private Integer bandwidth; + + public String getOperatorName() { + return operatorName; + } + + public void setOperatorName(String operatorName) { + this.operatorName = operatorName; + } + + public String getEIP() { + return eip; + } + + public void setEIP(String eip) { + this.eip = eip; + } + + public String getEIPId() { + return eipId; + } + + public void setEIPId(String eipId) { + this.eipId = eipId; + } + + public Integer getBandwidthType() { + return bandwidthType; + } + + public void setBandwidthType(Integer bandwidthType) { + this.bandwidthType = bandwidthType; + } + + public Integer getBandwidth() { + return bandwidth; + } + + public void setBandwidth(Integer bandwidth) { + this.bandwidth = bandwidth; + } + } } diff --git a/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/DescribeVServerResponse.java b/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/DescribeVServerResponse.java index 0f654ab9..1686fe6d 100644 --- a/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/DescribeVServerResponse.java +++ b/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/DescribeVServerResponse.java @@ -45,6 +45,120 @@ public void setDataSet(List dataSet) { this.dataSet = dataSet; } + public static class PolicyBackendSet extends Response { + + /** 所添加的后端资源在ULB中的对象ID,(为ULB系统中使用,与资源自身ID无关 */ + @SerializedName("BackendId") + private String backendId; + + /** + * 所添加的后端资源的类型,枚举值:UHost -> 云主机;UPM -> 物理云主机; UDHost -> 私有专区主机;UDocker -> + * 容器;UHybrid->混合云主机;CUBE->Cube;UNI -> 虚拟网卡 + */ + @SerializedName("ResourceType") + private String resourceType; + + /** 后端资源的实例名称 */ + @SerializedName("ResourceName") + private String resourceName; + + /** 如果资源绑定了弹性网卡,则展示弹性网卡的资源ID */ + @SerializedName("SubResourceId") + private String subResourceId; + + /** 如果资源绑定了弹性网卡,则展示弹性网卡的资源名称 */ + @SerializedName("SubResourceName") + private String subResourceName; + + /** "UNI"或者为空 */ + @SerializedName("SubResourceType") + private String subResourceType; + + /** 后端资源的对象ID */ + @SerializedName("ObjectId") + private String objectId; + + /** 所添加的后端资源服务端口 */ + @SerializedName("Port") + private Integer port; + + /** 后端资源的内网IP */ + @SerializedName("PrivateIP") + private String privateIP; + + public String getBackendId() { + return backendId; + } + + public void setBackendId(String backendId) { + this.backendId = backendId; + } + + public String getResourceType() { + return resourceType; + } + + public void setResourceType(String resourceType) { + this.resourceType = resourceType; + } + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + public String getSubResourceId() { + return subResourceId; + } + + public void setSubResourceId(String subResourceId) { + this.subResourceId = subResourceId; + } + + public String getSubResourceName() { + return subResourceName; + } + + public void setSubResourceName(String subResourceName) { + this.subResourceName = subResourceName; + } + + public String getSubResourceType() { + return subResourceType; + } + + public void setSubResourceType(String subResourceType) { + this.subResourceType = subResourceType; + } + + public String getObjectId() { + return objectId; + } + + public void setObjectId(String objectId) { + this.objectId = objectId; + } + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + public String getPrivateIP() { + return privateIP; + } + + public void setPrivateIP(String privateIP) { + this.privateIP = privateIP; + } + } + public static class ULBVServerSet extends Response { /** @@ -371,6 +485,57 @@ public void setBindedTargetSet(List bindedTargetSet) { } } + public static class SSLBindedTargetSet extends Response { + + /** SSL证书绑定到的VServer的资源ID */ + @SerializedName("VServerId") + private String vServerId; + + /** 对应的VServer的名字 */ + @SerializedName("VServerName") + private String vServerName; + + /** VServer 所属的ULB实例的资源ID */ + @SerializedName("ULBId") + private String ulbId; + + /** ULB实例的名称 */ + @SerializedName("ULBName") + private String ulbName; + + public String getVServerId() { + return vServerId; + } + + public void setVServerId(String vServerId) { + this.vServerId = vServerId; + } + + public String getVServerName() { + return vServerName; + } + + public void setVServerName(String vServerName) { + this.vServerName = vServerName; + } + + public String getULBId() { + return ulbId; + } + + public void setULBId(String ulbId) { + this.ulbId = ulbId; + } + + public String getULBName() { + return ulbName; + } + + public void setULBName(String ulbName) { + this.ulbName = ulbName; + } + } + public static class ULBPolicySet extends Response { /** 内容转发规则中域名的匹配方式。枚举值:Regular,正则;Wildcard,泛域名 */ @@ -482,171 +647,6 @@ public void setBackendSet(List backendSet) { } } - public static class SSLBindedTargetSet extends Response { - - /** SSL证书绑定到的VServer的资源ID */ - @SerializedName("VServerId") - private String vServerId; - - /** 对应的VServer的名字 */ - @SerializedName("VServerName") - private String vServerName; - - /** VServer 所属的ULB实例的资源ID */ - @SerializedName("ULBId") - private String ulbId; - - /** ULB实例的名称 */ - @SerializedName("ULBName") - private String ulbName; - - public String getVServerId() { - return vServerId; - } - - public void setVServerId(String vServerId) { - this.vServerId = vServerId; - } - - public String getVServerName() { - return vServerName; - } - - public void setVServerName(String vServerName) { - this.vServerName = vServerName; - } - - public String getULBId() { - return ulbId; - } - - public void setULBId(String ulbId) { - this.ulbId = ulbId; - } - - public String getULBName() { - return ulbName; - } - - public void setULBName(String ulbName) { - this.ulbName = ulbName; - } - } - - public static class PolicyBackendSet extends Response { - - /** 所添加的后端资源在ULB中的对象ID,(为ULB系统中使用,与资源自身ID无关 */ - @SerializedName("BackendId") - private String backendId; - - /** - * 所添加的后端资源的类型,枚举值:UHost -> 云主机;UPM -> 物理云主机; UDHost -> 私有专区主机;UDocker -> - * 容器;UHybrid->混合云主机;CUBE->Cube;UNI -> 虚拟网卡 - */ - @SerializedName("ResourceType") - private String resourceType; - - /** 后端资源的实例名称 */ - @SerializedName("ResourceName") - private String resourceName; - - /** 如果资源绑定了弹性网卡,则展示弹性网卡的资源ID */ - @SerializedName("SubResourceId") - private String subResourceId; - - /** 如果资源绑定了弹性网卡,则展示弹性网卡的资源名称 */ - @SerializedName("SubResourceName") - private String subResourceName; - - /** "UNI"或者为空 */ - @SerializedName("SubResourceType") - private String subResourceType; - - /** 后端资源的对象ID */ - @SerializedName("ObjectId") - private String objectId; - - /** 所添加的后端资源服务端口 */ - @SerializedName("Port") - private Integer port; - - /** 后端资源的内网IP */ - @SerializedName("PrivateIP") - private String privateIP; - - public String getBackendId() { - return backendId; - } - - public void setBackendId(String backendId) { - this.backendId = backendId; - } - - public String getResourceType() { - return resourceType; - } - - public void setResourceType(String resourceType) { - this.resourceType = resourceType; - } - - public String getResourceName() { - return resourceName; - } - - public void setResourceName(String resourceName) { - this.resourceName = resourceName; - } - - public String getSubResourceId() { - return subResourceId; - } - - public void setSubResourceId(String subResourceId) { - this.subResourceId = subResourceId; - } - - public String getSubResourceName() { - return subResourceName; - } - - public void setSubResourceName(String subResourceName) { - this.subResourceName = subResourceName; - } - - public String getSubResourceType() { - return subResourceType; - } - - public void setSubResourceType(String subResourceType) { - this.subResourceType = subResourceType; - } - - public String getObjectId() { - return objectId; - } - - public void setObjectId(String objectId) { - this.objectId = objectId; - } - - public Integer getPort() { - return port; - } - - public void setPort(Integer port) { - this.port = port; - } - - public String getPrivateIP() { - return privateIP; - } - - public void setPrivateIP(String privateIP) { - this.privateIP = privateIP; - } - } - public static class ULBBackendSet extends Response { /** 后端资源实例的Id */ diff --git a/ucloud-sdk-java-unet/src/main/java/cn/ucloud/unet/models/DescribeShareBandwidthResponse.java b/ucloud-sdk-java-unet/src/main/java/cn/ucloud/unet/models/DescribeShareBandwidthResponse.java index 5e811b82..34cb219d 100644 --- a/ucloud-sdk-java-unet/src/main/java/cn/ucloud/unet/models/DescribeShareBandwidthResponse.java +++ b/ucloud-sdk-java-unet/src/main/java/cn/ucloud/unet/models/DescribeShareBandwidthResponse.java @@ -45,6 +45,33 @@ public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } + public static class EIPAddrSet extends Response { + + /** 运营商信息, 枚举值为: BGP: BGP; International: 国际. */ + @SerializedName("OperatorName") + private String operatorName; + + /** 弹性IP地址 */ + @SerializedName("IP") + private String ip; + + public String getOperatorName() { + return operatorName; + } + + public void setOperatorName(String operatorName) { + this.operatorName = operatorName; + } + + public String getIP() { + return ip; + } + + public void setIP(String ip) { + this.ip = ip; + } + } + public static class UnetShareBandwidthSet extends Response { /** 共享带宽类型 */ @@ -182,31 +209,4 @@ public void setEIPId(String eipId) { this.eipId = eipId; } } - - public static class EIPAddrSet extends Response { - - /** 运营商信息, 枚举值为: BGP: BGP; International: 国际. */ - @SerializedName("OperatorName") - private String operatorName; - - /** 弹性IP地址 */ - @SerializedName("IP") - private String ip; - - public String getOperatorName() { - return operatorName; - } - - public void setOperatorName(String operatorName) { - this.operatorName = operatorName; - } - - public String getIP() { - return ip; - } - - public void setIP(String ip) { - this.ip = ip; - } - } } diff --git a/ucloud-sdk-java-uphone/src/main/java/cn/ucloud/uphone/models/DescribeUPhoneDetailByAppResponse.java b/ucloud-sdk-java-uphone/src/main/java/cn/ucloud/uphone/models/DescribeUPhoneDetailByAppResponse.java index e35ef5c8..30129e8f 100644 --- a/ucloud-sdk-java-uphone/src/main/java/cn/ucloud/uphone/models/DescribeUPhoneDetailByAppResponse.java +++ b/ucloud-sdk-java-uphone/src/main/java/cn/ucloud/uphone/models/DescribeUPhoneDetailByAppResponse.java @@ -45,105 +45,6 @@ public void setUPhoneDetails(List uPhoneDetails) { this.uPhoneDetails = uPhoneDetails; } - public static class AppVersionInstance extends Response { - - /** 应用的唯一标识ID */ - @SerializedName("AppId") - private String appId; - - /** 应用版本的唯一标识ID */ - @SerializedName("AppVersionId") - private String appVersionId; - - /** 应用版本名。 */ - @SerializedName("AppVersionName") - private String appVersionName; - - /** 应用包名。 */ - @SerializedName("PackageName") - private String packageName; - - /** 应用版本相关的Apk文件存放的公网URL地址。 */ - @SerializedName("URL") - private String url; - - /** 创建时间,格式为Unix时间戳。 */ - @SerializedName("CreateTime") - private Integer createTime; - - /** 修改时间,格式为Unix时间戳。 */ - @SerializedName("ModifyTime") - private Integer modifyTime; - - /** 应用版本描述。 */ - @SerializedName("Description") - private String description; - - public String getAppId() { - return appId; - } - - public void setAppId(String appId) { - this.appId = appId; - } - - public String getAppVersionId() { - return appVersionId; - } - - public void setAppVersionId(String appVersionId) { - this.appVersionId = appVersionId; - } - - public String getAppVersionName() { - return appVersionName; - } - - public void setAppVersionName(String appVersionName) { - this.appVersionName = appVersionName; - } - - public String getPackageName() { - return packageName; - } - - public void setPackageName(String packageName) { - this.packageName = packageName; - } - - public String getURL() { - return url; - } - - public void setURL(String url) { - this.url = url; - } - - public Integer getCreateTime() { - return createTime; - } - - public void setCreateTime(Integer createTime) { - this.createTime = createTime; - } - - public Integer getModifyTime() { - return modifyTime; - } - - public void setModifyTime(Integer modifyTime) { - this.modifyTime = modifyTime; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - } - public static class UPhoneDetailInstance extends Response { /** 云手机的名称,不超过65个字符。 */ @@ -351,4 +252,103 @@ public void setAppVersion(AppVersionInstance appVersion) { this.appVersion = appVersion; } } + + public static class AppVersionInstance extends Response { + + /** 应用的唯一标识ID */ + @SerializedName("AppId") + private String appId; + + /** 应用版本的唯一标识ID */ + @SerializedName("AppVersionId") + private String appVersionId; + + /** 应用版本名。 */ + @SerializedName("AppVersionName") + private String appVersionName; + + /** 应用包名。 */ + @SerializedName("PackageName") + private String packageName; + + /** 应用版本相关的Apk文件存放的公网URL地址。 */ + @SerializedName("URL") + private String url; + + /** 创建时间,格式为Unix时间戳。 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 修改时间,格式为Unix时间戳。 */ + @SerializedName("ModifyTime") + private Integer modifyTime; + + /** 应用版本描述。 */ + @SerializedName("Description") + private String description; + + public String getAppId() { + return appId; + } + + public void setAppId(String appId) { + this.appId = appId; + } + + public String getAppVersionId() { + return appVersionId; + } + + public void setAppVersionId(String appVersionId) { + this.appVersionId = appVersionId; + } + + public String getAppVersionName() { + return appVersionName; + } + + public void setAppVersionName(String appVersionName) { + this.appVersionName = appVersionName; + } + + public String getPackageName() { + return packageName; + } + + public void setPackageName(String packageName) { + this.packageName = packageName; + } + + public String getURL() { + return url; + } + + public void setURL(String url) { + this.url = url; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public Integer getModifyTime() { + return modifyTime; + } + + public void setModifyTime(Integer modifyTime) { + this.modifyTime = modifyTime; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + } } diff --git a/ucloud-sdk-java-uphone/src/main/java/cn/ucloud/uphone/models/DescribeUPhoneJobResponse.java b/ucloud-sdk-java-uphone/src/main/java/cn/ucloud/uphone/models/DescribeUPhoneJobResponse.java index 53fef35b..eb5fab4c 100644 --- a/ucloud-sdk-java-uphone/src/main/java/cn/ucloud/uphone/models/DescribeUPhoneJobResponse.java +++ b/ucloud-sdk-java-uphone/src/main/java/cn/ucloud/uphone/models/DescribeUPhoneJobResponse.java @@ -45,58 +45,46 @@ public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } - public static class Job extends Response { - - /** Job的唯一标识Id */ - @SerializedName("JobId") - private String jobId; + public static class Task extends Response { - /** Job创建时间,格式为Unix时间戳。 */ - @SerializedName("CreateTime") - private Integer createTime; + /** Task的唯一标识 */ + @SerializedName("TaskId") + private String taskId; - /** Job处理开始时间,格式为Unix时间戳。 */ + /** 任务处理开始时间,格式为Unix时间戳。 */ @SerializedName("BeginTime") private Integer beginTime; - /** Job处理结束时间,格式为Unix时间戳。 */ + /** 任务处理结束时间,格式为Unix时间戳。 */ @SerializedName("EndTime") private Integer endTime; - /** 任务状态 等待中:PENDING 运行中:RUNNING 成功:SUCCESS 部分成功:PARTIAL_SUCCESS 失败:FAILED */ + /** 任务状态 等待中:PENDING 运行中:RUNNING 成功:SUCCESS 失败:FAILED */ @SerializedName("State") private String state; - /** Job类型,仅支持INSTALL_APP、UNINSTALL_APP、RUN_ASYNC_COMMAND。 */ - @SerializedName("JobType") - private String jobType; + /** Task错误信息 */ + @SerializedName("ErrorMsg") + private String errorMsg; - /** Task信息,详情见数据结构Task(如果State为PENDING,此字段为空) */ - @SerializedName("Tasks") - private List tasks; + /** 异步任务执行结果 */ + @SerializedName("ExecuteMsg") + private String executeMsg; - /** 安装/卸载Job相关的应用版本唯一标识 */ + /** 云手机的唯一标识,云手机相关任务包含此字段。 */ + @SerializedName("UPhoneId") + private String uPhoneId; + + /** 安装/卸载任务相关的应用版本唯一标识ID */ @SerializedName("AppVersionId") private String appVersionId; - /** 此Job相关的云手机唯一标识 */ - @SerializedName("UPhoneIds") - private List uPhoneIds; - - public String getJobId() { - return jobId; - } - - public void setJobId(String jobId) { - this.jobId = jobId; - } - - public Integer getCreateTime() { - return createTime; + public String getTaskId() { + return taskId; } - public void setCreateTime(Integer createTime) { - this.createTime = createTime; + public void setTaskId(String taskId) { + this.taskId = taskId; } public Integer getBeginTime() { @@ -123,79 +111,91 @@ public void setState(String state) { this.state = state; } - public String getJobType() { - return jobType; + public String getErrorMsg() { + return errorMsg; } - public void setJobType(String jobType) { - this.jobType = jobType; + public void setErrorMsg(String errorMsg) { + this.errorMsg = errorMsg; } - public List getTasks() { - return tasks; + public String getExecuteMsg() { + return executeMsg; } - public void setTasks(List tasks) { - this.tasks = tasks; + public void setExecuteMsg(String executeMsg) { + this.executeMsg = executeMsg; } - public String getAppVersionId() { - return appVersionId; + public String getUPhoneId() { + return uPhoneId; } - public void setAppVersionId(String appVersionId) { - this.appVersionId = appVersionId; + public void setUPhoneId(String uPhoneId) { + this.uPhoneId = uPhoneId; } - public List getUPhoneIds() { - return uPhoneIds; + public String getAppVersionId() { + return appVersionId; } - public void setUPhoneIds(List uPhoneIds) { - this.uPhoneIds = uPhoneIds; + public void setAppVersionId(String appVersionId) { + this.appVersionId = appVersionId; } } - public static class Task extends Response { + public static class Job extends Response { - /** Task的唯一标识 */ - @SerializedName("TaskId") - private String taskId; + /** Job的唯一标识Id */ + @SerializedName("JobId") + private String jobId; - /** 任务处理开始时间,格式为Unix时间戳。 */ + /** Job创建时间,格式为Unix时间戳。 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** Job处理开始时间,格式为Unix时间戳。 */ @SerializedName("BeginTime") private Integer beginTime; - /** 任务处理结束时间,格式为Unix时间戳。 */ + /** Job处理结束时间,格式为Unix时间戳。 */ @SerializedName("EndTime") private Integer endTime; - /** 任务状态 等待中:PENDING 运行中:RUNNING 成功:SUCCESS 失败:FAILED */ + /** 任务状态 等待中:PENDING 运行中:RUNNING 成功:SUCCESS 部分成功:PARTIAL_SUCCESS 失败:FAILED */ @SerializedName("State") private String state; - /** Task错误信息 */ - @SerializedName("ErrorMsg") - private String errorMsg; - - /** 异步任务执行结果 */ - @SerializedName("ExecuteMsg") - private String executeMsg; + /** Job类型,仅支持INSTALL_APP、UNINSTALL_APP、RUN_ASYNC_COMMAND。 */ + @SerializedName("JobType") + private String jobType; - /** 云手机的唯一标识,云手机相关任务包含此字段。 */ - @SerializedName("UPhoneId") - private String uPhoneId; + /** Task信息,详情见数据结构Task(如果State为PENDING,此字段为空) */ + @SerializedName("Tasks") + private List tasks; - /** 安装/卸载任务相关的应用版本唯一标识ID */ + /** 安装/卸载Job相关的应用版本唯一标识 */ @SerializedName("AppVersionId") private String appVersionId; - public String getTaskId() { - return taskId; + /** 此Job相关的云手机唯一标识 */ + @SerializedName("UPhoneIds") + private List uPhoneIds; + + public String getJobId() { + return jobId; } - public void setTaskId(String taskId) { - this.taskId = taskId; + public void setJobId(String jobId) { + this.jobId = jobId; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; } public Integer getBeginTime() { @@ -222,28 +222,20 @@ public void setState(String state) { this.state = state; } - public String getErrorMsg() { - return errorMsg; - } - - public void setErrorMsg(String errorMsg) { - this.errorMsg = errorMsg; - } - - public String getExecuteMsg() { - return executeMsg; + public String getJobType() { + return jobType; } - public void setExecuteMsg(String executeMsg) { - this.executeMsg = executeMsg; + public void setJobType(String jobType) { + this.jobType = jobType; } - public String getUPhoneId() { - return uPhoneId; + public List getTasks() { + return tasks; } - public void setUPhoneId(String uPhoneId) { - this.uPhoneId = uPhoneId; + public void setTasks(List tasks) { + this.tasks = tasks; } public String getAppVersionId() { @@ -253,5 +245,13 @@ public String getAppVersionId() { public void setAppVersionId(String appVersionId) { this.appVersionId = appVersionId; } + + public List getUPhoneIds() { + return uPhoneIds; + } + + public void setUPhoneIds(List uPhoneIds) { + this.uPhoneIds = uPhoneIds; + } } } diff --git a/ucloud-sdk-java-uphone/src/main/java/cn/ucloud/uphone/models/DescribeUPhoneServerResponse.java b/ucloud-sdk-java-uphone/src/main/java/cn/ucloud/uphone/models/DescribeUPhoneServerResponse.java index 195e8c85..c04d101f 100644 --- a/ucloud-sdk-java-uphone/src/main/java/cn/ucloud/uphone/models/DescribeUPhoneServerResponse.java +++ b/ucloud-sdk-java-uphone/src/main/java/cn/ucloud/uphone/models/DescribeUPhoneServerResponse.java @@ -45,6 +45,51 @@ public void setServers(List servers) { this.servers = servers; } + public static class ServerDiskSet extends Response { + + /** 磁盘类型。请参考磁盘类型。 */ + @SerializedName("DiskType") + private String diskType; + + /** + * 是否是系统盘。枚举值: + * + *

> True,是系统盘 + * + *

> False,是数据盘(默认)。Disks数组中有且只能有一块盘是系统盘。 + */ + @SerializedName("IsBoot") + private Boolean isBoot; + + /** 磁盘大小,单位: GB */ + @SerializedName("Size") + private Integer size; + + public String getDiskType() { + return diskType; + } + + public void setDiskType(String diskType) { + this.diskType = diskType; + } + + public Boolean getIsBoot() { + return isBoot; + } + + public void setIsBoot(Boolean isBoot) { + this.isBoot = isBoot; + } + + public Integer getSize() { + return size; + } + + public void setSize(Integer size) { + this.size = size; + } + } + public static class IpSet extends Response { /** IP地址 */ @@ -222,51 +267,6 @@ public void setUPhoneCount(Integer uPhoneCount) { } } - public static class ServerDiskSet extends Response { - - /** 磁盘类型。请参考磁盘类型。 */ - @SerializedName("DiskType") - private String diskType; - - /** - * 是否是系统盘。枚举值: - * - *

> True,是系统盘 - * - *

> False,是数据盘(默认)。Disks数组中有且只能有一块盘是系统盘。 - */ - @SerializedName("IsBoot") - private Boolean isBoot; - - /** 磁盘大小,单位: GB */ - @SerializedName("Size") - private Integer size; - - public String getDiskType() { - return diskType; - } - - public void setDiskType(String diskType) { - this.diskType = diskType; - } - - public Boolean getIsBoot() { - return isBoot; - } - - public void setIsBoot(Boolean isBoot) { - this.isBoot = isBoot; - } - - public Integer getSize() { - return size; - } - - public void setSize(Integer size) { - this.size = size; - } - } - public static class ServerInstance extends Response { /** 云手机服务器的唯一标识。 */ diff --git a/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribeBaremetalMachineTypeResponse.java b/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribeBaremetalMachineTypeResponse.java index d57a4eb5..8c19c74c 100644 --- a/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribeBaremetalMachineTypeResponse.java +++ b/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribeBaremetalMachineTypeResponse.java @@ -33,6 +33,57 @@ public void setMachineTypes(List machineTypes) { this.machineTypes = machineTypes; } + public static class PHostCPUSet extends Response { + + /** CPU型号 */ + @SerializedName("Model") + private String model; + + /** CPU主频 */ + @SerializedName("Frequence") + private Double frequence; + + /** CPU个数 */ + @SerializedName("Count") + private Integer count; + + /** CPU核数 */ + @SerializedName("CoreCount") + private Integer coreCount; + + public String getModel() { + return model; + } + + public void setModel(String model) { + this.model = model; + } + + public Double getFrequence() { + return frequence; + } + + public void setFrequence(Double frequence) { + this.frequence = frequence; + } + + public Integer getCount() { + return count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public Integer getCoreCount() { + return coreCount; + } + + public void setCoreCount(Integer coreCount) { + this.coreCount = coreCount; + } + } + public static class PHostCloudMachineTypeSet extends Response { /** 物理云主机机型别名,全网唯一。 */ @@ -149,55 +200,4 @@ public void setCount(Integer count) { this.count = count; } } - - public static class PHostCPUSet extends Response { - - /** CPU型号 */ - @SerializedName("Model") - private String model; - - /** CPU主频 */ - @SerializedName("Frequence") - private Double frequence; - - /** CPU个数 */ - @SerializedName("Count") - private Integer count; - - /** CPU核数 */ - @SerializedName("CoreCount") - private Integer coreCount; - - public String getModel() { - return model; - } - - public void setModel(String model) { - this.model = model; - } - - public Double getFrequence() { - return frequence; - } - - public void setFrequence(Double frequence) { - this.frequence = frequence; - } - - public Integer getCount() { - return count; - } - - public void setCount(Integer count) { - this.count = count; - } - - public Integer getCoreCount() { - return coreCount; - } - - public void setCoreCount(Integer coreCount) { - this.coreCount = coreCount; - } - } } diff --git a/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribePHostMachineTypeResponse.java b/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribePHostMachineTypeResponse.java index ed2f177a..be6ba04d 100644 --- a/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribePHostMachineTypeResponse.java +++ b/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribePHostMachineTypeResponse.java @@ -33,38 +33,34 @@ public void setMachineTypes(List machineTypes) { this.machineTypes = machineTypes; } - public static class PHostCPUSet extends Response { - - /** CPU型号 */ - @SerializedName("Model") - private String model; + public static class PHostDiskSet extends Response { - /** CPU主频 */ - @SerializedName("Frequence") - private Double frequence; + /** 单盘大小,单位GB */ + @SerializedName("Space") + private Integer space; - /** CPU个数 */ + /** 磁盘数量 */ @SerializedName("Count") private Integer count; - /** CPU核数 */ - @SerializedName("CoreCount") - private Integer coreCount; + /** 磁盘属性 */ + @SerializedName("Type") + private String type; - public String getModel() { - return model; - } + /** 磁盘名称,sys/data */ + @SerializedName("Name") + private String name; - public void setModel(String model) { - this.model = model; - } + /** 磁盘IO性能,单位MB/s(待废弃) */ + @SerializedName("IOCap") + private Integer ioCap; - public Double getFrequence() { - return frequence; + public Integer getSpace() { + return space; } - public void setFrequence(Double frequence) { - this.frequence = frequence; + public void setSpace(Integer space) { + this.space = space; } public Integer getCount() { @@ -75,12 +71,28 @@ public void setCount(Integer count) { this.count = count; } - public Integer getCoreCount() { - return coreCount; + public String getType() { + return type; } - public void setCoreCount(Integer coreCount) { - this.coreCount = coreCount; + public void setType(String type) { + this.type = type; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getIOCap() { + return ioCap; + } + + public void setIOCap(Integer ioCap) { + this.ioCap = ioCap; } } @@ -111,34 +123,38 @@ public void setStockStatus(String stockStatus) { } } - public static class PHostDiskSet extends Response { + public static class PHostCPUSet extends Response { - /** 单盘大小,单位GB */ - @SerializedName("Space") - private Integer space; + /** CPU型号 */ + @SerializedName("Model") + private String model; - /** 磁盘数量 */ + /** CPU主频 */ + @SerializedName("Frequence") + private Double frequence; + + /** CPU个数 */ @SerializedName("Count") private Integer count; - /** 磁盘属性 */ - @SerializedName("Type") - private String type; + /** CPU核数 */ + @SerializedName("CoreCount") + private Integer coreCount; - /** 磁盘名称,sys/data */ - @SerializedName("Name") - private String name; + public String getModel() { + return model; + } - /** 磁盘IO性能,单位MB/s(待废弃) */ - @SerializedName("IOCap") - private Integer ioCap; + public void setModel(String model) { + this.model = model; + } - public Integer getSpace() { - return space; + public Double getFrequence() { + return frequence; } - public void setSpace(Integer space) { - this.space = space; + public void setFrequence(Double frequence) { + this.frequence = frequence; } public Integer getCount() { @@ -149,28 +165,12 @@ public void setCount(Integer count) { this.count = count; } - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getIOCap() { - return ioCap; + public Integer getCoreCount() { + return coreCount; } - public void setIOCap(Integer ioCap) { - this.ioCap = ioCap; + public void setCoreCount(Integer coreCount) { + this.coreCount = coreCount; } } diff --git a/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribePHostResponse.java b/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribePHostResponse.java index 09c80a67..91f68dbe 100644 --- a/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribePHostResponse.java +++ b/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribePHostResponse.java @@ -45,6 +45,156 @@ public void setPHostSet(List pHostSet) { this.pHostSet = pHostSet; } + public static class PHostDescDiskSet extends Response { + + /** 单盘大小,单位GB */ + @SerializedName("Space") + private Integer space; + + /** 磁盘数量 */ + @SerializedName("Count") + private Integer count; + + /** 磁盘属性 */ + @SerializedName("Type") + private String type; + + /** 磁盘名称,sys/data */ + @SerializedName("Name") + private String name; + + /** 磁盘IO性能,单位MB/s(待废弃) */ + @SerializedName("IOCap") + private Integer ioCap; + + /** 裸金属机型参数:磁盘盘符 */ + @SerializedName("Drive") + private String drive; + + /** 裸金属机型参数:磁盘ID */ + @SerializedName("DiskId") + private String diskId; + + /** 裸金属机型参数:是否是启动盘。True/False */ + @SerializedName("IsBoot") + private String isBoot; + + public Integer getSpace() { + return space; + } + + public void setSpace(Integer space) { + this.space = space; + } + + public Integer getCount() { + return count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getIOCap() { + return ioCap; + } + + public void setIOCap(Integer ioCap) { + this.ioCap = ioCap; + } + + public String getDrive() { + return drive; + } + + public void setDrive(String drive) { + this.drive = drive; + } + + public String getDiskId() { + return diskId; + } + + public void setDiskId(String diskId) { + this.diskId = diskId; + } + + public String getIsBoot() { + return isBoot; + } + + public void setIsBoot(String isBoot) { + this.isBoot = isBoot; + } + } + + public static class PHostCPUSet extends Response { + + /** CPU型号 */ + @SerializedName("Model") + private String model; + + /** CPU主频 */ + @SerializedName("Frequence") + private Double frequence; + + /** CPU个数 */ + @SerializedName("Count") + private Integer count; + + /** CPU核数 */ + @SerializedName("CoreCount") + private Integer coreCount; + + public String getModel() { + return model; + } + + public void setModel(String model) { + this.model = model; + } + + public Double getFrequence() { + return frequence; + } + + public void setFrequence(Double frequence) { + this.frequence = frequence; + } + + public Integer getCount() { + return count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public Integer getCoreCount() { + return coreCount; + } + + public void setCoreCount(Integer coreCount) { + this.coreCount = coreCount; + } + } + public static class PHostSet extends Response { /** 可用区,参见 [可用区列表](../summary/regionlist.html) */ @@ -437,154 +587,4 @@ public void setVPCId(String vpcId) { this.vpcId = vpcId; } } - - public static class PHostDescDiskSet extends Response { - - /** 单盘大小,单位GB */ - @SerializedName("Space") - private Integer space; - - /** 磁盘数量 */ - @SerializedName("Count") - private Integer count; - - /** 磁盘属性 */ - @SerializedName("Type") - private String type; - - /** 磁盘名称,sys/data */ - @SerializedName("Name") - private String name; - - /** 磁盘IO性能,单位MB/s(待废弃) */ - @SerializedName("IOCap") - private Integer ioCap; - - /** 裸金属机型参数:磁盘盘符 */ - @SerializedName("Drive") - private String drive; - - /** 裸金属机型参数:磁盘ID */ - @SerializedName("DiskId") - private String diskId; - - /** 裸金属机型参数:是否是启动盘。True/False */ - @SerializedName("IsBoot") - private String isBoot; - - public Integer getSpace() { - return space; - } - - public void setSpace(Integer space) { - this.space = space; - } - - public Integer getCount() { - return count; - } - - public void setCount(Integer count) { - this.count = count; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getIOCap() { - return ioCap; - } - - public void setIOCap(Integer ioCap) { - this.ioCap = ioCap; - } - - public String getDrive() { - return drive; - } - - public void setDrive(String drive) { - this.drive = drive; - } - - public String getDiskId() { - return diskId; - } - - public void setDiskId(String diskId) { - this.diskId = diskId; - } - - public String getIsBoot() { - return isBoot; - } - - public void setIsBoot(String isBoot) { - this.isBoot = isBoot; - } - } - - public static class PHostCPUSet extends Response { - - /** CPU型号 */ - @SerializedName("Model") - private String model; - - /** CPU主频 */ - @SerializedName("Frequence") - private Double frequence; - - /** CPU个数 */ - @SerializedName("Count") - private Integer count; - - /** CPU核数 */ - @SerializedName("CoreCount") - private Integer coreCount; - - public String getModel() { - return model; - } - - public void setModel(String model) { - this.model = model; - } - - public Double getFrequence() { - return frequence; - } - - public void setFrequence(Double frequence) { - this.frequence = frequence; - } - - public Integer getCount() { - return count; - } - - public void setCount(Integer count) { - this.count = count; - } - - public Integer getCoreCount() { - return coreCount; - } - - public void setCoreCount(Integer coreCount) { - this.coreCount = coreCount; - } - } } diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/SendBatchUSMSMessageResponse.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/SendBatchUSMSMessageResponse.java index 389057bf..d07eec2d 100644 --- a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/SendBatchUSMSMessageResponse.java +++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/SendBatchUSMSMessageResponse.java @@ -69,57 +69,6 @@ public void setFailContent(List failContent) { this.failContent = failContent; } - public static class BatchInfo extends Response { - - /** 模板ID */ - @SerializedName("TemplateId") - private String templateId; - - /** 签名 */ - @SerializedName("SigContent") - private String sigContent; - - /** 具体号码信息 */ - @SerializedName("Target") - private List target; - - /** 未能成功发送的详情。注:模板/签名检验失败时,该字段有效 */ - @SerializedName("FailureDetails") - private String failureDetails; - - public String getTemplateId() { - return templateId; - } - - public void setTemplateId(String templateId) { - this.templateId = templateId; - } - - public String getSigContent() { - return sigContent; - } - - public void setSigContent(String sigContent) { - this.sigContent = sigContent; - } - - public List getTarget() { - return target; - } - - public void setTarget(List target) { - this.target = target; - } - - public String getFailureDetails() { - return failureDetails; - } - - public void setFailureDetails(String failureDetails) { - this.failureDetails = failureDetails; - } - } - public static class FailPhoneDetail extends Response { /** 模板参数 */ @@ -182,4 +131,55 @@ public void setFailureDetails(String failureDetails) { this.failureDetails = failureDetails; } } + + public static class BatchInfo extends Response { + + /** 模板ID */ + @SerializedName("TemplateId") + private String templateId; + + /** 签名 */ + @SerializedName("SigContent") + private String sigContent; + + /** 具体号码信息 */ + @SerializedName("Target") + private List target; + + /** 未能成功发送的详情。注:模板/签名检验失败时,该字段有效 */ + @SerializedName("FailureDetails") + private String failureDetails; + + public String getTemplateId() { + return templateId; + } + + public void setTemplateId(String templateId) { + this.templateId = templateId; + } + + public String getSigContent() { + return sigContent; + } + + public void setSigContent(String sigContent) { + this.sigContent = sigContent; + } + + public List getTarget() { + return target; + } + + public void setTarget(List target) { + this.target = target; + } + + public String getFailureDetails() { + return failureDetails; + } + + public void setFailureDetails(String failureDetails) { + this.failureDetails = failureDetails; + } + } } diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeNATGWResponse.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeNATGWResponse.java index ca901ae3..e50aaa65 100644 --- a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeNATGWResponse.java +++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeNATGWResponse.java @@ -45,135 +45,6 @@ public void setDataSet(List dataSet) { this.dataSet = dataSet; } - public static class NatGatewayIPSet extends Response { - - /** 外网IP的 EIPId */ - @SerializedName("EIPId") - private String eipId; - - /** 权重为100的为出口 */ - @SerializedName("Weight") - private Integer weight; - - /** EIP带宽类型 */ - @SerializedName("BandwidthType") - private String bandwidthType; - - /** 带宽 */ - @SerializedName("Bandwidth") - private Integer bandwidth; - - /** 外网IP信息 */ - @SerializedName("IPResInfo") - private List ipResInfo; - - public String getEIPId() { - return eipId; - } - - public void setEIPId(String eipId) { - this.eipId = eipId; - } - - public Integer getWeight() { - return weight; - } - - public void setWeight(Integer weight) { - this.weight = weight; - } - - public String getBandwidthType() { - return bandwidthType; - } - - public void setBandwidthType(String bandwidthType) { - this.bandwidthType = bandwidthType; - } - - public Integer getBandwidth() { - return bandwidth; - } - - public void setBandwidth(Integer bandwidth) { - this.bandwidth = bandwidth; - } - - public List getIPResInfo() { - return ipResInfo; - } - - public void setIPResInfo(List ipResInfo) { - this.ipResInfo = ipResInfo; - } - } - - public static class NatGWIPResInfo extends Response { - - /** IP的运营商信息 */ - @SerializedName("OperatorName") - private String operatorName; - - /** 外网IP */ - @SerializedName("EIP") - private String eip; - - public String getOperatorName() { - return operatorName; - } - - public void setOperatorName(String operatorName) { - this.operatorName = operatorName; - } - - public String getEIP() { - return eip; - } - - public void setEIP(String eip) { - this.eip = eip; - } - } - - public static class NatGatewaySubnetSet extends Response { - - /** 子网id */ - @SerializedName("SubnetworkId") - private String subnetworkId; - - /** 子网网段 */ - @SerializedName("Subnet") - private String subnet; - - /** 子网名字 */ - @SerializedName("SubnetName") - private String subnetName; - - public String getSubnetworkId() { - return subnetworkId; - } - - public void setSubnetworkId(String subnetworkId) { - this.subnetworkId = subnetworkId; - } - - public String getSubnet() { - return subnet; - } - - public void setSubnet(String subnet) { - this.subnet = subnet; - } - - public String getSubnetName() { - return subnetName; - } - - public void setSubnetName(String subnetName) { - this.subnetName = subnetName; - } - } - public static class NatGatewayDataSet extends Response { /** natgw id */ @@ -320,4 +191,133 @@ public void setPolicyId(List policyId) { this.policyId = policyId; } } + + public static class NatGatewayIPSet extends Response { + + /** 外网IP的 EIPId */ + @SerializedName("EIPId") + private String eipId; + + /** 权重为100的为出口 */ + @SerializedName("Weight") + private Integer weight; + + /** EIP带宽类型 */ + @SerializedName("BandwidthType") + private String bandwidthType; + + /** 带宽 */ + @SerializedName("Bandwidth") + private Integer bandwidth; + + /** 外网IP信息 */ + @SerializedName("IPResInfo") + private List ipResInfo; + + public String getEIPId() { + return eipId; + } + + public void setEIPId(String eipId) { + this.eipId = eipId; + } + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } + + public String getBandwidthType() { + return bandwidthType; + } + + public void setBandwidthType(String bandwidthType) { + this.bandwidthType = bandwidthType; + } + + public Integer getBandwidth() { + return bandwidth; + } + + public void setBandwidth(Integer bandwidth) { + this.bandwidth = bandwidth; + } + + public List getIPResInfo() { + return ipResInfo; + } + + public void setIPResInfo(List ipResInfo) { + this.ipResInfo = ipResInfo; + } + } + + public static class NatGWIPResInfo extends Response { + + /** IP的运营商信息 */ + @SerializedName("OperatorName") + private String operatorName; + + /** 外网IP */ + @SerializedName("EIP") + private String eip; + + public String getOperatorName() { + return operatorName; + } + + public void setOperatorName(String operatorName) { + this.operatorName = operatorName; + } + + public String getEIP() { + return eip; + } + + public void setEIP(String eip) { + this.eip = eip; + } + } + + public static class NatGatewaySubnetSet extends Response { + + /** 子网id */ + @SerializedName("SubnetworkId") + private String subnetworkId; + + /** 子网网段 */ + @SerializedName("Subnet") + private String subnet; + + /** 子网名字 */ + @SerializedName("SubnetName") + private String subnetName; + + public String getSubnetworkId() { + return subnetworkId; + } + + public void setSubnetworkId(String subnetworkId) { + this.subnetworkId = subnetworkId; + } + + public String getSubnet() { + return subnet; + } + + public void setSubnet(String subnet) { + this.subnet = subnet; + } + + public String getSubnetName() { + return subnetName; + } + + public void setSubnetName(String subnetName) { + this.subnetName = subnetName; + } + } } diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeNetworkAclEntryResponse.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeNetworkAclEntryResponse.java index b8cd06be..655cc6df 100644 --- a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeNetworkAclEntryResponse.java +++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeNetworkAclEntryResponse.java @@ -33,105 +33,6 @@ public void setEntryList(List entryList) { this.entryList = entryList; } - public static class TargetResourceInfo extends Response { - - /** 子网ID */ - @SerializedName("SubnetworkId") - private String subnetworkId; - - /** 资源名称 */ - @SerializedName("ResourceName") - private String resourceName; - - /** 资源ID */ - @SerializedName("ResourceId") - private String resourceId; - - /** 资源类型 */ - @SerializedName("ResourceType") - private Integer resourceType; - - /** 资源绑定的虚拟网卡的名称 */ - @SerializedName("SubResourceName") - private String subResourceName; - - /** 资源绑定的虚拟网卡的ID */ - @SerializedName("SubResourceId") - private String subResourceId; - - /** 资源绑定虚拟网卡的类型 */ - @SerializedName("SubResourceType") - private Integer subResourceType; - - /** 资源内网IP */ - @SerializedName("PrivateIp") - private String privateIp; - - public String getSubnetworkId() { - return subnetworkId; - } - - public void setSubnetworkId(String subnetworkId) { - this.subnetworkId = subnetworkId; - } - - public String getResourceName() { - return resourceName; - } - - public void setResourceName(String resourceName) { - this.resourceName = resourceName; - } - - public String getResourceId() { - return resourceId; - } - - public void setResourceId(String resourceId) { - this.resourceId = resourceId; - } - - public Integer getResourceType() { - return resourceType; - } - - public void setResourceType(Integer resourceType) { - this.resourceType = resourceType; - } - - public String getSubResourceName() { - return subResourceName; - } - - public void setSubResourceName(String subResourceName) { - this.subResourceName = subResourceName; - } - - public String getSubResourceId() { - return subResourceId; - } - - public void setSubResourceId(String subResourceId) { - this.subResourceId = subResourceId; - } - - public Integer getSubResourceType() { - return subResourceType; - } - - public void setSubResourceType(Integer subResourceType) { - this.subResourceType = subResourceType; - } - - public String getPrivateIp() { - return privateIp; - } - - public void setPrivateIp(String privateIp) { - this.privateIp = privateIp; - } - } - public static class AclEntryInfo extends Response { /** Entry的ID */ @@ -278,4 +179,103 @@ public void setTargetResourceCount(Integer targetResourceCount) { this.targetResourceCount = targetResourceCount; } } + + public static class TargetResourceInfo extends Response { + + /** 子网ID */ + @SerializedName("SubnetworkId") + private String subnetworkId; + + /** 资源名称 */ + @SerializedName("ResourceName") + private String resourceName; + + /** 资源ID */ + @SerializedName("ResourceId") + private String resourceId; + + /** 资源类型 */ + @SerializedName("ResourceType") + private Integer resourceType; + + /** 资源绑定的虚拟网卡的名称 */ + @SerializedName("SubResourceName") + private String subResourceName; + + /** 资源绑定的虚拟网卡的ID */ + @SerializedName("SubResourceId") + private String subResourceId; + + /** 资源绑定虚拟网卡的类型 */ + @SerializedName("SubResourceType") + private Integer subResourceType; + + /** 资源内网IP */ + @SerializedName("PrivateIp") + private String privateIp; + + public String getSubnetworkId() { + return subnetworkId; + } + + public void setSubnetworkId(String subnetworkId) { + this.subnetworkId = subnetworkId; + } + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + public String getResourceId() { + return resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + public Integer getResourceType() { + return resourceType; + } + + public void setResourceType(Integer resourceType) { + this.resourceType = resourceType; + } + + public String getSubResourceName() { + return subResourceName; + } + + public void setSubResourceName(String subResourceName) { + this.subResourceName = subResourceName; + } + + public String getSubResourceId() { + return subResourceId; + } + + public void setSubResourceId(String subResourceId) { + this.subResourceId = subResourceId; + } + + public Integer getSubResourceType() { + return subResourceType; + } + + public void setSubResourceType(Integer subResourceType) { + this.subResourceType = subResourceType; + } + + public String getPrivateIp() { + return privateIp; + } + + public void setPrivateIp(String privateIp) { + this.privateIp = privateIp; + } + } } diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeVPCResponse.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeVPCResponse.java index c61ae47b..ca7a9170 100644 --- a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeVPCResponse.java +++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeVPCResponse.java @@ -33,6 +33,33 @@ public void setDataSet(List dataSet) { this.dataSet = dataSet; } + public static class VPCNetworkInfo extends Response { + + /** vpc地址空间 */ + @SerializedName("Network") + private String network; + + /** 地址空间中子网数量 */ + @SerializedName("SubnetCount") + private Integer subnetCount; + + public String getNetwork() { + return network; + } + + public void setNetwork(String network) { + this.network = network; + } + + public Integer getSubnetCount() { + return subnetCount; + } + + public void setSubnetCount(Integer subnetCount) { + this.subnetCount = subnetCount; + } + } + public static class VPCInfo extends Response { /** */ @@ -155,31 +182,4 @@ public void setOperatorName(String operatorName) { this.operatorName = operatorName; } } - - public static class VPCNetworkInfo extends Response { - - /** vpc地址空间 */ - @SerializedName("Network") - private String network; - - /** 地址空间中子网数量 */ - @SerializedName("SubnetCount") - private Integer subnetCount; - - public String getNetwork() { - return network; - } - - public void setNetwork(String network) { - this.network = network; - } - - public Integer getSubnetCount() { - return subnetCount; - } - - public void setSubnetCount(Integer subnetCount) { - this.subnetCount = subnetCount; - } - } } diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeWhiteListResourceResponse.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeWhiteListResourceResponse.java index 5ce58d30..408784a2 100644 --- a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeWhiteListResourceResponse.java +++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DescribeWhiteListResourceResponse.java @@ -45,45 +45,6 @@ public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } - public static class NatGWWhitelistDataSet extends Response { - - /** NATGateWay Id */ - @SerializedName("NATGWId") - private String natgwId; - - /** 白名单开关标记 */ - @SerializedName("IfOpen") - private Integer ifOpen; - - /** 白名单详情 */ - @SerializedName("ObjectIPInfo") - private List objectIPInfo; - - public String getNATGWId() { - return natgwId; - } - - public void setNATGWId(String natgwId) { - this.natgwId = natgwId; - } - - public Integer getIfOpen() { - return ifOpen; - } - - public void setIfOpen(Integer ifOpen) { - this.ifOpen = ifOpen; - } - - public List getObjectIPInfo() { - return objectIPInfo; - } - - public void setObjectIPInfo(List objectIPInfo) { - this.objectIPInfo = objectIPInfo; - } - } - public static class DescribeWhiteListResourceObjectIPInfo extends Response { /** natgw字符串 */ @@ -194,4 +155,43 @@ public void setVPCId(String vpcId) { this.vpcId = vpcId; } } + + public static class NatGWWhitelistDataSet extends Response { + + /** NATGateWay Id */ + @SerializedName("NATGWId") + private String natgwId; + + /** 白名单开关标记 */ + @SerializedName("IfOpen") + private Integer ifOpen; + + /** 白名单详情 */ + @SerializedName("ObjectIPInfo") + private List objectIPInfo; + + public String getNATGWId() { + return natgwId; + } + + public void setNATGWId(String natgwId) { + this.natgwId = natgwId; + } + + public Integer getIfOpen() { + return ifOpen; + } + + public void setIfOpen(Integer ifOpen) { + this.ifOpen = ifOpen; + } + + public List getObjectIPInfo() { + return objectIPInfo; + } + + public void setObjectIPInfo(List objectIPInfo) { + this.objectIPInfo = objectIPInfo; + } + } }