public class DescribeMessageByTopicRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeMessageByTopicRequest() | 
| DescribeMessageByTopicRequest(DescribeMessageByTopicRequest source)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. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getInstanceId()Get 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。 | 
| Long | getMaxNumber()Get 查询消息条数,最大1024,默认100. | 
| Long | getStartTime()Get 开始时间,毫秒级时间戳 。 | 
| String | getTopic()Get home/room | 
| void | setInstanceId(String InstanceId)Set 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。 | 
| void | setMaxNumber(Long MaxNumber)Set 查询消息条数,最大1024,默认100. | 
| void | setStartTime(Long StartTime)Set 开始时间,毫秒级时间戳 。 | 
| void | setTopic(String Topic)Set home/room | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribeMessageByTopicRequest()
public DescribeMessageByTopicRequest(DescribeMessageByTopicRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。public String getTopic()
public void setTopic(String Topic)
Topic - home/roompublic Long getStartTime()
public void setStartTime(Long StartTime)
StartTime - 开始时间,毫秒级时间戳 。public Long getMaxNumber()
public void setMaxNumber(Long MaxNumber)
MaxNumber - 查询消息条数,最大1024,默认100.Copyright © 2025. All rights reserved.