public class SubscribeObject extends AbstractModel
header, skipSign
Constructor and Description |
---|
SubscribeObject() |
SubscribeObject(SubscribeObject 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 |
getDatabase()
Get Subscribed database name
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getObjectType()
Get Subscription data type.
|
String[] |
getTables()
Get Name of the table in the subscribed database.
|
void |
setDatabase(String Database)
Set Subscribed database name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setObjectType(String ObjectType)
Set Subscription data type.
|
void |
setTables(String[] Tables)
Set Name of the table in the subscribed database.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SubscribeObject()
public SubscribeObject(SubscribeObject source)
public String getObjectType()
public void setObjectType(String ObjectType)
ObjectType
- Subscription data type. Valid values: database; table (if DatabaseType is mongodb, it means a collection).Note: This field may return null, indicating that no valid values can be obtained.public String getDatabase()
public void setDatabase(String Database)
Database
- Subscribed database name
Note: This field may return null, indicating that no valid values can be obtained.public String[] getTables()
public void setTables(String[] Tables)
Tables
- Name of the table in the subscribed database. If DatabaseType is mongodb, fill in the collection name. MongoDB only supports subscribing to a single database or a single collection.Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.