Skip to content

Commit

Permalink
-Fixed DescribeVodMediaPlayData接口返回数据类型错误
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed May 8, 2024
1 parent 5aa4377 commit d3d39c7
Show file tree
Hide file tree
Showing 7 changed files with 423 additions and 5 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-vod/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-05-08 Version: 2.16.24
-Fixed DescribeVodMediaPlayData接口返回数据类型错误

2024-04-25 Version: 2.16.23
- Generated 2017-03-21 for `vod`.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-vod/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-vod</artifactId>
<packaging>jar</packaging>
<version>2.16.23</version>
<version>2.16.24</version>
<name>aliyun-java-sdk-vod</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.vod.model.v20170321;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.vod.Endpoint;

/**
* @author auto create
* @version
*/
public class DescribeVodDomainQpsDataRequest extends RpcAcsRequest<DescribeVodDomainQpsDataResponse> {


private String locationNameEn;

private String startTime;

private String ispNameEn;

private String domainName;

private String endTime;

private Long ownerId;

private String interval;
public DescribeVodDomainQpsDataRequest() {
super("vod", "2017-03-21", "DescribeVodDomainQpsData", "vod");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}

public String getLocationNameEn() {
return this.locationNameEn;
}

public void setLocationNameEn(String locationNameEn) {
this.locationNameEn = locationNameEn;
if(locationNameEn != null){
putQueryParameter("LocationNameEn", locationNameEn);
}
}

public String getStartTime() {
return this.startTime;
}

public void setStartTime(String startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime);
}
}

public String getIspNameEn() {
return this.ispNameEn;
}

public void setIspNameEn(String ispNameEn) {
this.ispNameEn = ispNameEn;
if(ispNameEn != null){
putQueryParameter("IspNameEn", ispNameEn);
}
}

public String getDomainName() {
return this.domainName;
}

public void setDomainName(String domainName) {
this.domainName = domainName;
if(domainName != null){
putQueryParameter("DomainName", domainName);
}
}

public String getEndTime() {
return this.endTime;
}

public void setEndTime(String endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime);
}
}

public Long getOwnerId() {
return this.ownerId;
}

public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}

public String getInterval() {
return this.interval;
}

public void setInterval(String interval) {
this.interval = interval;
if(interval != null){
putQueryParameter("Interval", interval);
}
}

@Override
public Class<DescribeVodDomainQpsDataResponse> getResponseClass() {
return DescribeVodDomainQpsDataResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.vod.model.v20170321;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.vod.transform.v20170321.DescribeVodDomainQpsDataResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class DescribeVodDomainQpsDataResponse extends AcsResponse {

private String endTime;

private String startTime;

private String requestId;

private String domainName;

private String dataInterval;

private List<DataModule> qpsDataInterval;

public String getEndTime() {
return this.endTime;
}

public void setEndTime(String endTime) {
this.endTime = endTime;
}

public String getStartTime() {
return this.startTime;
}

public void setStartTime(String startTime) {
this.startTime = startTime;
}

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public String getDomainName() {
return this.domainName;
}

public void setDomainName(String domainName) {
this.domainName = domainName;
}

public String getDataInterval() {
return this.dataInterval;
}

public void setDataInterval(String dataInterval) {
this.dataInterval = dataInterval;
}

public List<DataModule> getQpsDataInterval() {
return this.qpsDataInterval;
}

public void setQpsDataInterval(List<DataModule> qpsDataInterval) {
this.qpsDataInterval = qpsDataInterval;
}

public static class DataModule {

private String accValue;

private String accDomesticValue;

private String accOverseasValue;

private String httpsValue;

private String httpsOverseasValue;

private String domesticValue;

private String httpsAccOverseasValue;

private String httpsDomesticValue;

private String httpsAccValue;

private String value;

private String overseasValue;

private String timeStamp;

private String httpsAccDomesticValue;

public String getAccValue() {
return this.accValue;
}

public void setAccValue(String accValue) {
this.accValue = accValue;
}

public String getAccDomesticValue() {
return this.accDomesticValue;
}

public void setAccDomesticValue(String accDomesticValue) {
this.accDomesticValue = accDomesticValue;
}

public String getAccOverseasValue() {
return this.accOverseasValue;
}

public void setAccOverseasValue(String accOverseasValue) {
this.accOverseasValue = accOverseasValue;
}

public String getHttpsValue() {
return this.httpsValue;
}

public void setHttpsValue(String httpsValue) {
this.httpsValue = httpsValue;
}

public String getHttpsOverseasValue() {
return this.httpsOverseasValue;
}

public void setHttpsOverseasValue(String httpsOverseasValue) {
this.httpsOverseasValue = httpsOverseasValue;
}

public String getDomesticValue() {
return this.domesticValue;
}

public void setDomesticValue(String domesticValue) {
this.domesticValue = domesticValue;
}

public String getHttpsAccOverseasValue() {
return this.httpsAccOverseasValue;
}

public void setHttpsAccOverseasValue(String httpsAccOverseasValue) {
this.httpsAccOverseasValue = httpsAccOverseasValue;
}

public String getHttpsDomesticValue() {
return this.httpsDomesticValue;
}

public void setHttpsDomesticValue(String httpsDomesticValue) {
this.httpsDomesticValue = httpsDomesticValue;
}

public String getHttpsAccValue() {
return this.httpsAccValue;
}

public void setHttpsAccValue(String httpsAccValue) {
this.httpsAccValue = httpsAccValue;
}

public String getValue() {
return this.value;
}

public void setValue(String value) {
this.value = value;
}

public String getOverseasValue() {
return this.overseasValue;
}

public void setOverseasValue(String overseasValue) {
this.overseasValue = overseasValue;
}

public String getTimeStamp() {
return this.timeStamp;
}

public void setTimeStamp(String timeStamp) {
this.timeStamp = timeStamp;
}

public String getHttpsAccDomesticValue() {
return this.httpsAccDomesticValue;
}

public void setHttpsAccDomesticValue(String httpsAccDomesticValue) {
this.httpsAccDomesticValue = httpsAccDomesticValue;
}
}

@Override
public DescribeVodDomainQpsDataResponse getInstance(UnmarshallerContext context) {
return DescribeVodDomainQpsDataResponseUnmarshaller.unmarshall(this, context);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void setQoeInfoList(List<Data> qoeInfoList) {

public static class Data {

private Float videoTitle;
private String videoTitle;

private Float videoDuration;

Expand All @@ -93,11 +93,11 @@ public static class Data {

private Float playPerVv;

public Float getVideoTitle() {
public String getVideoTitle() {
return this.videoTitle;
}

public void setVideoTitle(Float videoTitle) {
public void setVideoTitle(String videoTitle) {
this.videoTitle = videoTitle;
}

Expand Down
Loading

0 comments on commit d3d39c7

Please sign in to comment.