com.tencentcloudapi.trtc.v20190722.models.DescribeUserEventRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-trtc Show documentation
Show all versions of tencentcloud-sdk-java-trtc Show documentation
Tencent Cloud Open API SDK for Java
The newest version!
/*
* 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.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeUserEventRequest 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)
注意:查询时间大于房间结束时间,以房间结束时间为准。
*/
@SerializedName("EndTime")
@Expose
private Long EndTime;
/**
* 用户UserId
*/
@SerializedName("UserId")
@Expose
private String UserId;
/**
* 房间号(如:223)
*/
@SerializedName("RoomId")
@Expose
private String RoomId;
/**
* 用户SdkAppId(如:1400xxxxxx)
*/
@SerializedName("SdkAppId")
@Expose
private Long SdkAppId;
/**
* 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)
注意:查询时间大于房间结束时间,以房间结束时间为准。
* @return EndTime 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
注意:查询时间大于房间结束时间,以房间结束时间为准。
*/
public Long getEndTime() {
return this.EndTime;
}
/**
* Set 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
注意:查询时间大于房间结束时间,以房间结束时间为准。
* @param EndTime 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
注意:查询时间大于房间结束时间,以房间结束时间为准。
*/
public void setEndTime(Long EndTime) {
this.EndTime = EndTime;
}
/**
* Get 用户UserId
* @return UserId 用户UserId
*/
public String getUserId() {
return this.UserId;
}
/**
* Set 用户UserId
* @param UserId 用户UserId
*/
public void setUserId(String UserId) {
this.UserId = UserId;
}
/**
* Get 房间号(如:223)
* @return RoomId 房间号(如:223)
*/
public String getRoomId() {
return this.RoomId;
}
/**
* Set 房间号(如:223)
* @param RoomId 房间号(如:223)
*/
public void setRoomId(String RoomId) {
this.RoomId = RoomId;
}
/**
* 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;
}
public DescribeUserEventRequest() {
}
/**
* 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 DescribeUserEventRequest(DescribeUserEventRequest 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.UserId != null) {
this.UserId = new String(source.UserId);
}
if (source.RoomId != null) {
this.RoomId = new String(source.RoomId);
}
if (source.SdkAppId != null) {
this.SdkAppId = new Long(source.SdkAppId);
}
}
/**
* 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 + "UserId", this.UserId);
this.setParamSimple(map, prefix + "RoomId", this.RoomId);
this.setParamSimple(map, prefix + "SdkAppId", this.SdkAppId);
}
}