public class TopicParam extends AbstractModel
Constructor and Description |
---|
TopicParam() |
TopicParam(TopicParam 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 |
getOffsetType()
Get Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getResource()
Get 单独售卖Topic的Topic名称
|
Long |
getStartTime()
Get Offset类型为timestamp时必传,传时间戳,精确到秒
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getTopicId()
Get Topic的TopicId【出参】
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setOffsetType(String OffsetType)
Set Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setResource(String Resource)
Set 单独售卖Topic的Topic名称
|
void |
setStartTime(Long StartTime)
Set Offset类型为timestamp时必传,传时间戳,精确到秒
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTopicId(String TopicId)
Set Topic的TopicId【出参】
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public TopicParam()
public TopicParam(TopicParam source)
public String getResource()
public void setResource(String Resource)
Resource
- 单独售卖Topic的Topic名称public String getOffsetType()
public void setOffsetType(String OffsetType)
OffsetType
- Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp
注意:此字段可能返回 null,表示取不到有效值。public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime
- Offset类型为timestamp时必传,传时间戳,精确到秒
注意:此字段可能返回 null,表示取不到有效值。public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- Topic的TopicId【出参】
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.