Skip to content

Commit d3d39c7

Browse files
committed
-Fixed DescribeVodMediaPlayData接口返回数据类型错误
1 parent 5aa4377 commit d3d39c7

File tree

7 files changed

+423
-5
lines changed

7 files changed

+423
-5
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+
2024-05-08 Version: 2.16.24
2+
-Fixed DescribeVodMediaPlayData接口返回数据类型错误
3+
14
2024-04-25 Version: 2.16.23
25
- Generated 2017-03-21 for `vod`.
36

aliyun-java-sdk-vod/pom.xml

Lines changed: 1 addition & 1 deletion
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.23</version>
7+
<version>2.16.24</version>
88
<name>aliyun-java-sdk-vod</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
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 DescribeVodDomainQpsDataRequest extends RpcAcsRequest<DescribeVodDomainQpsDataResponse> {
26+
27+
28+
private String locationNameEn;
29+
30+
private String startTime;
31+
32+
private String ispNameEn;
33+
34+
private String domainName;
35+
36+
private String endTime;
37+
38+
private Long ownerId;
39+
40+
private String interval;
41+
public DescribeVodDomainQpsDataRequest() {
42+
super("vod", "2017-03-21", "DescribeVodDomainQpsData", "vod");
43+
setMethod(MethodType.POST);
44+
try {
45+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
46+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
47+
} catch (Exception e) {}
48+
}
49+
50+
public String getLocationNameEn() {
51+
return this.locationNameEn;
52+
}
53+
54+
public void setLocationNameEn(String locationNameEn) {
55+
this.locationNameEn = locationNameEn;
56+
if(locationNameEn != null){
57+
putQueryParameter("LocationNameEn", locationNameEn);
58+
}
59+
}
60+
61+
public String getStartTime() {
62+
return this.startTime;
63+
}
64+
65+
public void setStartTime(String startTime) {
66+
this.startTime = startTime;
67+
if(startTime != null){
68+
putQueryParameter("StartTime", startTime);
69+
}
70+
}
71+
72+
public String getIspNameEn() {
73+
return this.ispNameEn;
74+
}
75+
76+
public void setIspNameEn(String ispNameEn) {
77+
this.ispNameEn = ispNameEn;
78+
if(ispNameEn != null){
79+
putQueryParameter("IspNameEn", ispNameEn);
80+
}
81+
}
82+
83+
public String getDomainName() {
84+
return this.domainName;
85+
}
86+
87+
public void setDomainName(String domainName) {
88+
this.domainName = domainName;
89+
if(domainName != null){
90+
putQueryParameter("DomainName", domainName);
91+
}
92+
}
93+
94+
public String getEndTime() {
95+
return this.endTime;
96+
}
97+
98+
public void setEndTime(String endTime) {
99+
this.endTime = endTime;
100+
if(endTime != null){
101+
putQueryParameter("EndTime", endTime);
102+
}
103+
}
104+
105+
public Long getOwnerId() {
106+
return this.ownerId;
107+
}
108+
109+
public void setOwnerId(Long ownerId) {
110+
this.ownerId = ownerId;
111+
if(ownerId != null){
112+
putQueryParameter("OwnerId", ownerId.toString());
113+
}
114+
}
115+
116+
public String getInterval() {
117+
return this.interval;
118+
}
119+
120+
public void setInterval(String interval) {
121+
this.interval = interval;
122+
if(interval != null){
123+
putQueryParameter("Interval", interval);
124+
}
125+
}
126+
127+
@Override
128+
public Class<DescribeVodDomainQpsDataResponse> getResponseClass() {
129+
return DescribeVodDomainQpsDataResponse.class;
130+
}
131+
132+
}
Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,225 @@
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.DescribeVodDomainQpsDataResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class DescribeVodDomainQpsDataResponse extends AcsResponse {
27+
28+
private String endTime;
29+
30+
private String startTime;
31+
32+
private String requestId;
33+
34+
private String domainName;
35+
36+
private String dataInterval;
37+
38+
private List<DataModule> qpsDataInterval;
39+
40+
public String getEndTime() {
41+
return this.endTime;
42+
}
43+
44+
public void setEndTime(String endTime) {
45+
this.endTime = endTime;
46+
}
47+
48+
public String getStartTime() {
49+
return this.startTime;
50+
}
51+
52+
public void setStartTime(String startTime) {
53+
this.startTime = startTime;
54+
}
55+
56+
public String getRequestId() {
57+
return this.requestId;
58+
}
59+
60+
public void setRequestId(String requestId) {
61+
this.requestId = requestId;
62+
}
63+
64+
public String getDomainName() {
65+
return this.domainName;
66+
}
67+
68+
public void setDomainName(String domainName) {
69+
this.domainName = domainName;
70+
}
71+
72+
public String getDataInterval() {
73+
return this.dataInterval;
74+
}
75+
76+
public void setDataInterval(String dataInterval) {
77+
this.dataInterval = dataInterval;
78+
}
79+
80+
public List<DataModule> getQpsDataInterval() {
81+
return this.qpsDataInterval;
82+
}
83+
84+
public void setQpsDataInterval(List<DataModule> qpsDataInterval) {
85+
this.qpsDataInterval = qpsDataInterval;
86+
}
87+
88+
public static class DataModule {
89+
90+
private String accValue;
91+
92+
private String accDomesticValue;
93+
94+
private String accOverseasValue;
95+
96+
private String httpsValue;
97+
98+
private String httpsOverseasValue;
99+
100+
private String domesticValue;
101+
102+
private String httpsAccOverseasValue;
103+
104+
private String httpsDomesticValue;
105+
106+
private String httpsAccValue;
107+
108+
private String value;
109+
110+
private String overseasValue;
111+
112+
private String timeStamp;
113+
114+
private String httpsAccDomesticValue;
115+
116+
public String getAccValue() {
117+
return this.accValue;
118+
}
119+
120+
public void setAccValue(String accValue) {
121+
this.accValue = accValue;
122+
}
123+
124+
public String getAccDomesticValue() {
125+
return this.accDomesticValue;
126+
}
127+
128+
public void setAccDomesticValue(String accDomesticValue) {
129+
this.accDomesticValue = accDomesticValue;
130+
}
131+
132+
public String getAccOverseasValue() {
133+
return this.accOverseasValue;
134+
}
135+
136+
public void setAccOverseasValue(String accOverseasValue) {
137+
this.accOverseasValue = accOverseasValue;
138+
}
139+
140+
public String getHttpsValue() {
141+
return this.httpsValue;
142+
}
143+
144+
public void setHttpsValue(String httpsValue) {
145+
this.httpsValue = httpsValue;
146+
}
147+
148+
public String getHttpsOverseasValue() {
149+
return this.httpsOverseasValue;
150+
}
151+
152+
public void setHttpsOverseasValue(String httpsOverseasValue) {
153+
this.httpsOverseasValue = httpsOverseasValue;
154+
}
155+
156+
public String getDomesticValue() {
157+
return this.domesticValue;
158+
}
159+
160+
public void setDomesticValue(String domesticValue) {
161+
this.domesticValue = domesticValue;
162+
}
163+
164+
public String getHttpsAccOverseasValue() {
165+
return this.httpsAccOverseasValue;
166+
}
167+
168+
public void setHttpsAccOverseasValue(String httpsAccOverseasValue) {
169+
this.httpsAccOverseasValue = httpsAccOverseasValue;
170+
}
171+
172+
public String getHttpsDomesticValue() {
173+
return this.httpsDomesticValue;
174+
}
175+
176+
public void setHttpsDomesticValue(String httpsDomesticValue) {
177+
this.httpsDomesticValue = httpsDomesticValue;
178+
}
179+
180+
public String getHttpsAccValue() {
181+
return this.httpsAccValue;
182+
}
183+
184+
public void setHttpsAccValue(String httpsAccValue) {
185+
this.httpsAccValue = httpsAccValue;
186+
}
187+
188+
public String getValue() {
189+
return this.value;
190+
}
191+
192+
public void setValue(String value) {
193+
this.value = value;
194+
}
195+
196+
public String getOverseasValue() {
197+
return this.overseasValue;
198+
}
199+
200+
public void setOverseasValue(String overseasValue) {
201+
this.overseasValue = overseasValue;
202+
}
203+
204+
public String getTimeStamp() {
205+
return this.timeStamp;
206+
}
207+
208+
public void setTimeStamp(String timeStamp) {
209+
this.timeStamp = timeStamp;
210+
}
211+
212+
public String getHttpsAccDomesticValue() {
213+
return this.httpsAccDomesticValue;
214+
}
215+
216+
public void setHttpsAccDomesticValue(String httpsAccDomesticValue) {
217+
this.httpsAccDomesticValue = httpsAccDomesticValue;
218+
}
219+
}
220+
221+
@Override
222+
public DescribeVodDomainQpsDataResponse getInstance(UnmarshallerContext context) {
223+
return DescribeVodDomainQpsDataResponseUnmarshaller.unmarshall(this, context);
224+
}
225+
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void setQoeInfoList(List<Data> qoeInfoList) {
7777

7878
public static class Data {
7979

80-
private Float videoTitle;
80+
private String videoTitle;
8181

8282
private Float videoDuration;
8383

@@ -93,11 +93,11 @@ public static class Data {
9393

9494
private Float playPerVv;
9595

96-
public Float getVideoTitle() {
96+
public String getVideoTitle() {
9797
return this.videoTitle;
9898
}
9999

100-
public void setVideoTitle(Float videoTitle) {
100+
public void setVideoTitle(String videoTitle) {
101101
this.videoTitle = videoTitle;
102102
}
103103

0 commit comments

Comments
 (0)