Class SendMessageRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ckafka.v20190819.models.SendMessageRequest
-
public class SendMessageRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SendMessageRequest()SendMessageRequest(SendMessageRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDataHubId()Get DataHub接入IDBatchContent[]getMessage()Get 发送消息内容(单次请求最多500条)voidsetDataHubId(String DataHubId)Set DataHub接入IDvoidsetMessage(BatchContent[] Message)Set 发送消息内容(单次请求最多500条)voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
SendMessageRequest
public SendMessageRequest()
-
SendMessageRequest
public SendMessageRequest(SendMessageRequest 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.
-
-
Method Detail
-
getDataHubId
public String getDataHubId()
Get DataHub接入ID- Returns:
- DataHubId DataHub接入ID
-
setDataHubId
public void setDataHubId(String DataHubId)
Set DataHub接入ID- Parameters:
DataHubId- DataHub接入ID
-
getMessage
public BatchContent[] getMessage()
Get 发送消息内容(单次请求最多500条)- Returns:
- Message 发送消息内容(单次请求最多500条)
-
setMessage
public void setMessage(BatchContent[] Message)
Set 发送消息内容(单次请求最多500条)- Parameters:
Message- 发送消息内容(单次请求最多500条)
-
-