Skip to content

Commit b345ae6

Browse files
committed
support DescribeVodUserVipsByDomain.
1 parent 050fcfc commit b345ae6

23 files changed

+1620
-77
lines changed

aliyun-java-sdk-vod/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-09-22 Version: 2.16.33
2+
- support DescribeVodUserVipsByDomain.
3+
14
2025-03-21 Version: 2.16.32
25
- GetDailyPlayRegionStatis
36

aliyun-java-sdk-vod/pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-vod</artifactId>
66
<packaging>jar</packaging>
7-
<version>2.16.32</version>
7+
<version>2.16.33</version>
88
<name>aliyun-java-sdk-vod</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -103,14 +103,14 @@ http://www.aliyun.com</description>
103103
</executions>
104104
</plugin>
105105
<plugin>
106-
<groupId>org.sonatype.plugins</groupId>
107-
<artifactId>nexus-staging-maven-plugin</artifactId>
108-
<version>1.6.3</version>
106+
<groupId>org.sonatype.central</groupId>
107+
<artifactId>central-publishing-maven-plugin</artifactId>
108+
<version>0.8.0</version>
109109
<extensions>true</extensions>
110110
<configuration>
111-
<serverId>sonatype-nexus-staging</serverId>
112-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
113-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
111+
<publishingServerId>central</publishingServerId>
112+
<autoPublish>true</autoPublish>
113+
<waitUntil>published</waitUntil>
114114
</configuration>
115115
</plugin>
116116
</plugins>

aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/DescribeMediaDistributionRequest.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
public class DescribeMediaDistributionRequest extends RpcAcsRequest<DescribeMediaDistributionResponse> {
2727

2828

29-
private String endTime;
30-
3129
private String startTime;
3230

31+
private String endTime;
32+
3333
private String storageClass;
3434

3535
private String interval;
@@ -43,17 +43,6 @@ public DescribeMediaDistributionRequest() {
4343
} catch (Exception e) {}
4444
}
4545

46-
public String getEndTime() {
47-
return this.endTime;
48-
}
49-
50-
public void setEndTime(String endTime) {
51-
this.endTime = endTime;
52-
if(endTime != null){
53-
putQueryParameter("EndTime", endTime);
54-
}
55-
}
56-
5746
public String getStartTime() {
5847
return this.startTime;
5948
}
@@ -65,6 +54,17 @@ public void setStartTime(String startTime) {
6554
}
6655
}
6756

57+
public String getEndTime() {
58+
return this.endTime;
59+
}
60+
61+
public void setEndTime(String endTime) {
62+
this.endTime = endTime;
63+
if(endTime != null){
64+
putQueryParameter("EndTime", endTime);
65+
}
66+
}
67+
6868
public String getStorageClass() {
6969
return this.storageClass;
7070
}
Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.vod.model.v20170321;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.vod.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DescribeVodPlayerCollectDataRequest extends RpcAcsRequest<DescribeVodPlayerCollectDataResponse> {
26+
27+
28+
private String startTime;
29+
30+
private String period;
31+
32+
private String os;
33+
34+
private String endTime;
35+
36+
private String appId;
37+
38+
private String interval;
39+
40+
private String metrics;
41+
42+
private String terminalType;
43+
public DescribeVodPlayerCollectDataRequest() {
44+
super("vod", "2017-03-21", "DescribeVodPlayerCollectData", "vod");
45+
setMethod(MethodType.POST);
46+
try {
47+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
48+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
49+
} catch (Exception e) {}
50+
}
51+
52+
public String getStartTime() {
53+
return this.startTime;
54+
}
55+
56+
public void setStartTime(String startTime) {
57+
this.startTime = startTime;
58+
if(startTime != null){
59+
putQueryParameter("StartTime", startTime);
60+
}
61+
}
62+
63+
public String getPeriod() {
64+
return this.period;
65+
}
66+
67+
public void setPeriod(String period) {
68+
this.period = period;
69+
if(period != null){
70+
putQueryParameter("Period", period);
71+
}
72+
}
73+
74+
public String getOs() {
75+
return this.os;
76+
}
77+
78+
public void setOs(String os) {
79+
this.os = os;
80+
if(os != null){
81+
putQueryParameter("Os", os);
82+
}
83+
}
84+
85+
public String getEndTime() {
86+
return this.endTime;
87+
}
88+
89+
public void setEndTime(String endTime) {
90+
this.endTime = endTime;
91+
if(endTime != null){
92+
putQueryParameter("EndTime", endTime);
93+
}
94+
}
95+
96+
public String getAppId() {
97+
return this.appId;
98+
}
99+
100+
public void setAppId(String appId) {
101+
this.appId = appId;
102+
if(appId != null){
103+
putQueryParameter("AppId", appId);
104+
}
105+
}
106+
107+
public String getInterval() {
108+
return this.interval;
109+
}
110+
111+
public void setInterval(String interval) {
112+
this.interval = interval;
113+
if(interval != null){
114+
putQueryParameter("Interval", interval);
115+
}
116+
}
117+
118+
public String getMetrics() {
119+
return this.metrics;
120+
}
121+
122+
public void setMetrics(String metrics) {
123+
this.metrics = metrics;
124+
if(metrics != null){
125+
putQueryParameter("Metrics", metrics);
126+
}
127+
}
128+
129+
public String getTerminalType() {
130+
return this.terminalType;
131+
}
132+
133+
public void setTerminalType(String terminalType) {
134+
this.terminalType = terminalType;
135+
if(terminalType != null){
136+
putQueryParameter("TerminalType", terminalType);
137+
}
138+
}
139+
140+
@Override
141+
public Class<DescribeVodPlayerCollectDataResponse> getResponseClass() {
142+
return DescribeVodPlayerCollectDataResponse.class;
143+
}
144+
145+
}
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.vod.model.v20170321;
16+
17+
import java.util.List;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.vod.transform.v20170321.DescribeVodPlayerCollectDataResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class DescribeVodPlayerCollectDataResponse extends AcsResponse {
27+
28+
private String requestId;
29+
30+
private List<Datas> dataList;
31+
32+
public String getRequestId() {
33+
return this.requestId;
34+
}
35+
36+
public void setRequestId(String requestId) {
37+
this.requestId = requestId;
38+
}
39+
40+
public List<Datas> getDataList() {
41+
return this.dataList;
42+
}
43+
44+
public void setDataList(List<Datas> dataList) {
45+
this.dataList = dataList;
46+
}
47+
48+
public static class Datas {
49+
50+
private String metric;
51+
52+
private Double value;
53+
54+
private Double valueRefer;
55+
56+
private Double valueRatio;
57+
58+
public String getMetric() {
59+
return this.metric;
60+
}
61+
62+
public void setMetric(String metric) {
63+
this.metric = metric;
64+
}
65+
66+
public Double getValue() {
67+
return this.value;
68+
}
69+
70+
public void setValue(Double value) {
71+
this.value = value;
72+
}
73+
74+
public Double getValueRefer() {
75+
return this.valueRefer;
76+
}
77+
78+
public void setValueRefer(Double valueRefer) {
79+
this.valueRefer = valueRefer;
80+
}
81+
82+
public Double getValueRatio() {
83+
return this.valueRatio;
84+
}
85+
86+
public void setValueRatio(Double valueRatio) {
87+
this.valueRatio = valueRatio;
88+
}
89+
}
90+
91+
@Override
92+
public DescribeVodPlayerCollectDataResponse getInstance(UnmarshallerContext context) {
93+
return DescribeVodPlayerCollectDataResponseUnmarshaller.unmarshall(this, context);
94+
}
95+
96+
@Override
97+
public boolean checkShowJsonItemName() {
98+
return false;
99+
}
100+
}

0 commit comments

Comments
 (0)