-
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.
- Loading branch information
Showing
15 changed files
with
1,229 additions
and
35 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
119 changes: 119 additions & 0 deletions
119
...ive/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveDomainEdgeLogRequest.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,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; | ||
} | ||
|
||
} |
181 changes: 181 additions & 0 deletions
181
...ve/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveDomainEdgeLogResponse.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,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); | ||
} | ||
} |
Oops, something went wrong.