com.tencentcloudapi.lke.v20231130.models.GetMsgRecordRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-lke Show documentation
Show all versions of tencentcloud-sdk-java-lke 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.lke.v20231130.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 GetMsgRecordRequest extends AbstractModel {
/**
* 类型
*/
@SerializedName("Type")
@Expose
private Long Type;
/**
* 数量
*/
@SerializedName("Count")
@Expose
private Long Count;
/**
* 会话sessionid
*/
@SerializedName("SessionId")
@Expose
private String SessionId;
/**
* 最后一条记录ID
*/
@SerializedName("LastRecordId")
@Expose
private String LastRecordId;
/**
* 应用AppKey, 当Type=5[API访客]时, 该字段必填
*/
@SerializedName("BotAppKey")
@Expose
private String BotAppKey;
/**
* 场景, 体验: 1; 正式: 2
*/
@SerializedName("Scene")
@Expose
private Long Scene;
/**
* Get 类型
* @return Type 类型
*/
public Long getType() {
return this.Type;
}
/**
* Set 类型
* @param Type 类型
*/
public void setType(Long Type) {
this.Type = Type;
}
/**
* Get 数量
* @return Count 数量
*/
public Long getCount() {
return this.Count;
}
/**
* Set 数量
* @param Count 数量
*/
public void setCount(Long Count) {
this.Count = Count;
}
/**
* Get 会话sessionid
* @return SessionId 会话sessionid
*/
public String getSessionId() {
return this.SessionId;
}
/**
* Set 会话sessionid
* @param SessionId 会话sessionid
*/
public void setSessionId(String SessionId) {
this.SessionId = SessionId;
}
/**
* Get 最后一条记录ID
* @return LastRecordId 最后一条记录ID
*/
public String getLastRecordId() {
return this.LastRecordId;
}
/**
* Set 最后一条记录ID
* @param LastRecordId 最后一条记录ID
*/
public void setLastRecordId(String LastRecordId) {
this.LastRecordId = LastRecordId;
}
/**
* Get 应用AppKey, 当Type=5[API访客]时, 该字段必填
* @return BotAppKey 应用AppKey, 当Type=5[API访客]时, 该字段必填
*/
public String getBotAppKey() {
return this.BotAppKey;
}
/**
* Set 应用AppKey, 当Type=5[API访客]时, 该字段必填
* @param BotAppKey 应用AppKey, 当Type=5[API访客]时, 该字段必填
*/
public void setBotAppKey(String BotAppKey) {
this.BotAppKey = BotAppKey;
}
/**
* Get 场景, 体验: 1; 正式: 2
* @return Scene 场景, 体验: 1; 正式: 2
*/
public Long getScene() {
return this.Scene;
}
/**
* Set 场景, 体验: 1; 正式: 2
* @param Scene 场景, 体验: 1; 正式: 2
*/
public void setScene(Long Scene) {
this.Scene = Scene;
}
public GetMsgRecordRequest() {
}
/**
* 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 GetMsgRecordRequest(GetMsgRecordRequest source) {
if (source.Type != null) {
this.Type = new Long(source.Type);
}
if (source.Count != null) {
this.Count = new Long(source.Count);
}
if (source.SessionId != null) {
this.SessionId = new String(source.SessionId);
}
if (source.LastRecordId != null) {
this.LastRecordId = new String(source.LastRecordId);
}
if (source.BotAppKey != null) {
this.BotAppKey = new String(source.BotAppKey);
}
if (source.Scene != null) {
this.Scene = new Long(source.Scene);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Type", this.Type);
this.setParamSimple(map, prefix + "Count", this.Count);
this.setParamSimple(map, prefix + "SessionId", this.SessionId);
this.setParamSimple(map, prefix + "LastRecordId", this.LastRecordId);
this.setParamSimple(map, prefix + "BotAppKey", this.BotAppKey);
this.setParamSimple(map, prefix + "Scene", this.Scene);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy