com.tencentcloudapi.mps.v20190612.models.DescribeStreamLinkEventsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-mps Show documentation
Show all versions of tencentcloud-sdk-java-mps Show documentation
Tencent Cloud Open API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.tencentcloudapi.mps.v20190612.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeStreamLinkEventsResponse extends AbstractModel{
/**
* 媒体传输事件的配置信息列表。
*/
@SerializedName("Infos")
@Expose
private DescribeEvent [] Infos;
/**
* 当前页数。
*/
@SerializedName("PageNum")
@Expose
private Long PageNum;
/**
* 每页大小。
*/
@SerializedName("PageSize")
@Expose
private Long PageSize;
/**
* 总数量。
*/
@SerializedName("TotalNum")
@Expose
private Long TotalNum;
/**
* 总页数。
*/
@SerializedName("TotalPage")
@Expose
private Long TotalPage;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get 媒体传输事件的配置信息列表。
* @return Infos 媒体传输事件的配置信息列表。
*/
public DescribeEvent [] getInfos() {
return this.Infos;
}
/**
* Set 媒体传输事件的配置信息列表。
* @param Infos 媒体传输事件的配置信息列表。
*/
public void setInfos(DescribeEvent [] Infos) {
this.Infos = Infos;
}
/**
* Get 当前页数。
* @return PageNum 当前页数。
*/
public Long getPageNum() {
return this.PageNum;
}
/**
* Set 当前页数。
* @param PageNum 当前页数。
*/
public void setPageNum(Long PageNum) {
this.PageNum = PageNum;
}
/**
* Get 每页大小。
* @return PageSize 每页大小。
*/
public Long getPageSize() {
return this.PageSize;
}
/**
* Set 每页大小。
* @param PageSize 每页大小。
*/
public void setPageSize(Long PageSize) {
this.PageSize = PageSize;
}
/**
* Get 总数量。
* @return TotalNum 总数量。
*/
public Long getTotalNum() {
return this.TotalNum;
}
/**
* Set 总数量。
* @param TotalNum 总数量。
*/
public void setTotalNum(Long TotalNum) {
this.TotalNum = TotalNum;
}
/**
* Get 总页数。
* @return TotalPage 总页数。
*/
public Long getTotalPage() {
return this.TotalPage;
}
/**
* Set 总页数。
* @param TotalPage 总页数。
*/
public void setTotalPage(Long TotalPage) {
this.TotalPage = TotalPage;
}
/**
* Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @return RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public String getRequestId() {
return this.RequestId;
}
/**
* Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @param RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public void setRequestId(String RequestId) {
this.RequestId = RequestId;
}
public DescribeStreamLinkEventsResponse() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public DescribeStreamLinkEventsResponse(DescribeStreamLinkEventsResponse source) {
if (source.Infos != null) {
this.Infos = new DescribeEvent[source.Infos.length];
for (int i = 0; i < source.Infos.length; i++) {
this.Infos[i] = new DescribeEvent(source.Infos[i]);
}
}
if (source.PageNum != null) {
this.PageNum = new Long(source.PageNum);
}
if (source.PageSize != null) {
this.PageSize = new Long(source.PageSize);
}
if (source.TotalNum != null) {
this.TotalNum = new Long(source.TotalNum);
}
if (source.TotalPage != null) {
this.TotalPage = new Long(source.TotalPage);
}
if (source.RequestId != null) {
this.RequestId = new String(source.RequestId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamArrayObj(map, prefix + "Infos.", this.Infos);
this.setParamSimple(map, prefix + "PageNum", this.PageNum);
this.setParamSimple(map, prefix + "PageSize", this.PageSize);
this.setParamSimple(map, prefix + "TotalNum", this.TotalNum);
this.setParamSimple(map, prefix + "TotalPage", this.TotalPage);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy