Skip to content

Commit

Permalink
Update to support new apis.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Dec 13, 2023
1 parent 263e240 commit cd591bf
Show file tree
Hide file tree
Showing 15 changed files with 1,229 additions and 35 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-live/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2023-12-13 Version: 3.9.42
- Update to support new apis.

2023-11-22 Version: 3.9.41
- Update to support new apis.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-live/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-live</artifactId>
<packaging>jar</packaging>
<version>3.9.41</version>
<version>3.9.42</version>
<name>aliyun-java-sdk-live</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,119 @@
/*
* 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.live.model.v20161101;

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

/**
* @author auto create
* @version
*/
public class DescribeLiveDomainEdgeLogRequest extends RpcAcsRequest<DescribeLiveDomainEdgeLogResponse> {


private String startTime;

private Long pageNumber;

private Long pageSize;

private String domainName;

private String endTime;

private Long ownerId;
public DescribeLiveDomainEdgeLogRequest() {
super("live", "2016-11-01", "DescribeLiveDomainEdgeLog", "live");
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 getStartTime() {
return this.startTime;
}

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

public Long getPageNumber() {
return this.pageNumber;
}

public void setPageNumber(Long pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}

public Long getPageSize() {
return this.pageSize;
}

public void setPageSize(Long pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}

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());
}
}

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
/*
* 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.live.model.v20161101;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.live.transform.v20161101.DescribeLiveDomainEdgeLogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

private String domainName;

private String requestId;

private List<DomainLogDetail> domainLogDetails;

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

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

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

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

public List<DomainLogDetail> getDomainLogDetails() {
return this.domainLogDetails;
}

public void setDomainLogDetails(List<DomainLogDetail> domainLogDetails) {
this.domainLogDetails = domainLogDetails;
}

public static class DomainLogDetail {

private Long logCount;

private List<LogInfoDetail> logInfos;

private PageInfos pageInfos;

public Long getLogCount() {
return this.logCount;
}

public void setLogCount(Long logCount) {
this.logCount = logCount;
}

public List<LogInfoDetail> getLogInfos() {
return this.logInfos;
}

public void setLogInfos(List<LogInfoDetail> logInfos) {
this.logInfos = logInfos;
}

public PageInfos getPageInfos() {
return this.pageInfos;
}

public void setPageInfos(PageInfos pageInfos) {
this.pageInfos = pageInfos;
}

public static class LogInfoDetail {

private String endTime;

private Long logSize;

private String startTime;

private String logName;

private String logPath;

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

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

public Long getLogSize() {
return this.logSize;
}

public void setLogSize(Long logSize) {
this.logSize = logSize;
}

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

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

public String getLogName() {
return this.logName;
}

public void setLogName(String logName) {
this.logName = logName;
}

public String getLogPath() {
return this.logPath;
}

public void setLogPath(String logPath) {
this.logPath = logPath;
}
}

public static class PageInfos {

private Long pageIndex;

private Long pageSize;

private Long total;

public Long getPageIndex() {
return this.pageIndex;
}

public void setPageIndex(Long pageIndex) {
this.pageIndex = pageIndex;
}

public Long getPageSize() {
return this.pageSize;
}

public void setPageSize(Long pageSize) {
this.pageSize = pageSize;
}

public Long getTotal() {
return this.total;
}

public void setTotal(Long total) {
this.total = total;
}
}
}

@Override
public DescribeLiveDomainEdgeLogResponse getInstance(UnmarshallerContext context) {
return DescribeLiveDomainEdgeLogResponseUnmarshaller.unmarshall(this, context);
}
}
Loading

0 comments on commit cd591bf

Please sign in to comment.