-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Fixed DescribeVodMediaPlayData接口返回数据类型错误
- Loading branch information
Showing
7 changed files
with
423 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
132 changes: 132 additions & 0 deletions
132
...k-vod/src/main/java/com/aliyuncs/vod/model/v20170321/DescribeVodDomainQpsDataRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
225 changes: 225 additions & 0 deletions
225
...-vod/src/main/java/com/aliyuncs/vod/model/v20170321/DescribeVodDomainQpsDataResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.