
com.tencentcloudapi.trtc.v20190722.models.DescribeUserInfoRequest Maven / Gradle / Ivy
/*
* 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.trtc.v20190722.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeUserInfoRequest extends AbstractModel{
/**
* 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
*/
@SerializedName("CommId")
@Expose
private String CommId;
/**
* 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
注意:支持查询14天内的数据
*/
@SerializedName("StartTime")
@Expose
private Long StartTime;
/**
* 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
注意:与StartTime间隔时间不超过4小时。
*/
@SerializedName("EndTime")
@Expose
private Long EndTime;
/**
* 用户SdkAppId(如:1400xxxxxx)
*/
@SerializedName("SdkAppId")
@Expose
private Long SdkAppId;
/**
* 需查询的用户数组,不填默认返回6个用户
范围:[1,100]。
*/
@SerializedName("UserIds")
@Expose
private String [] UserIds;
/**
* 当前页数,默认为0,
注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
*/
@SerializedName("PageNumber")
@Expose
private Long PageNumber;
/**
* 每页个数,默认为6,
范围:[1,100]。
*/
@SerializedName("PageSize")
@Expose
private Long PageSize;
/**
* Get 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
* @return CommId 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
*/
public String getCommId() {
return this.CommId;
}
/**
* Set 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
* @param CommId 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
*/
public void setCommId(String CommId) {
this.CommId = CommId;
}
/**
* Get 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
注意:支持查询14天内的数据
* @return StartTime 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
注意:支持查询14天内的数据
*/
public Long getStartTime() {
return this.StartTime;
}
/**
* Set 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
注意:支持查询14天内的数据
* @param StartTime 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
注意:支持查询14天内的数据
*/
public void setStartTime(Long StartTime) {
this.StartTime = StartTime;
}
/**
* Get 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
注意:与StartTime间隔时间不超过4小时。
* @return EndTime 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
注意:与StartTime间隔时间不超过4小时。
*/
public Long getEndTime() {
return this.EndTime;
}
/**
* Set 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
注意:与StartTime间隔时间不超过4小时。
* @param EndTime 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
注意:与StartTime间隔时间不超过4小时。
*/
public void setEndTime(Long EndTime) {
this.EndTime = EndTime;
}
/**
* Get 用户SdkAppId(如:1400xxxxxx)
* @return SdkAppId 用户SdkAppId(如:1400xxxxxx)
*/
public Long getSdkAppId() {
return this.SdkAppId;
}
/**
* Set 用户SdkAppId(如:1400xxxxxx)
* @param SdkAppId 用户SdkAppId(如:1400xxxxxx)
*/
public void setSdkAppId(Long SdkAppId) {
this.SdkAppId = SdkAppId;
}
/**
* Get 需查询的用户数组,不填默认返回6个用户
范围:[1,100]。
* @return UserIds 需查询的用户数组,不填默认返回6个用户
范围:[1,100]。
*/
public String [] getUserIds() {
return this.UserIds;
}
/**
* Set 需查询的用户数组,不填默认返回6个用户
范围:[1,100]。
* @param UserIds 需查询的用户数组,不填默认返回6个用户
范围:[1,100]。
*/
public void setUserIds(String [] UserIds) {
this.UserIds = UserIds;
}
/**
* Get 当前页数,默认为0,
注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
* @return PageNumber 当前页数,默认为0,
注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
*/
public Long getPageNumber() {
return this.PageNumber;
}
/**
* Set 当前页数,默认为0,
注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
* @param PageNumber 当前页数,默认为0,
注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
*/
public void setPageNumber(Long PageNumber) {
this.PageNumber = PageNumber;
}
/**
* Get 每页个数,默认为6,
范围:[1,100]。
* @return PageSize 每页个数,默认为6,
范围:[1,100]。
*/
public Long getPageSize() {
return this.PageSize;
}
/**
* Set 每页个数,默认为6,
范围:[1,100]。
* @param PageSize 每页个数,默认为6,
范围:[1,100]。
*/
public void setPageSize(Long PageSize) {
this.PageSize = PageSize;
}
public DescribeUserInfoRequest() {
}
/**
* 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 DescribeUserInfoRequest(DescribeUserInfoRequest source) {
if (source.CommId != null) {
this.CommId = new String(source.CommId);
}
if (source.StartTime != null) {
this.StartTime = new Long(source.StartTime);
}
if (source.EndTime != null) {
this.EndTime = new Long(source.EndTime);
}
if (source.SdkAppId != null) {
this.SdkAppId = new Long(source.SdkAppId);
}
if (source.UserIds != null) {
this.UserIds = new String[source.UserIds.length];
for (int i = 0; i < source.UserIds.length; i++) {
this.UserIds[i] = new String(source.UserIds[i]);
}
}
if (source.PageNumber != null) {
this.PageNumber = new Long(source.PageNumber);
}
if (source.PageSize != null) {
this.PageSize = new Long(source.PageSize);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "CommId", this.CommId);
this.setParamSimple(map, prefix + "StartTime", this.StartTime);
this.setParamSimple(map, prefix + "EndTime", this.EndTime);
this.setParamSimple(map, prefix + "SdkAppId", this.SdkAppId);
this.setParamArraySimple(map, prefix + "UserIds.", this.UserIds);
this.setParamSimple(map, prefix + "PageNumber", this.PageNumber);
this.setParamSimple(map, prefix + "PageSize", this.PageSize);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy