Class: TencentCloud::Dts::V20211206::SubscribeObject
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::SubscribeObject
- Defined in:
- lib/v20211206/models.rb
Overview
订阅的数据库表信息,用于配置和查询订阅任务接口。
Instance Attribute Summary collapse
-
#Database ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ObjectType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Tables ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(objecttype = nil, database = nil, tables = nil) ⇒ SubscribeObject
constructor
A new instance of SubscribeObject.
Constructor Details
#initialize(objecttype = nil, database = nil, tables = nil) ⇒ SubscribeObject
Returns a new instance of SubscribeObject.
7436 7437 7438 7439 7440 |
# File 'lib/v20211206/models.rb', line 7436 def initialize(objecttype=nil, database=nil, tables=nil) @ObjectType = objecttype @Database = database @Tables = tables end |
Instance Attribute Details
#Database ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7434 7435 7436 |
# File 'lib/v20211206/models.rb', line 7434 def Database @Database end |
#ObjectType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7434 7435 7436 |
# File 'lib/v20211206/models.rb', line 7434 def ObjectType @ObjectType end |
#Tables ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7434 7435 7436 |
# File 'lib/v20211206/models.rb', line 7434 def Tables @Tables end |
Instance Method Details
#deserialize(params) ⇒ Object
7442 7443 7444 7445 7446 |
# File 'lib/v20211206/models.rb', line 7442 def deserialize(params) @ObjectType = params['ObjectType'] @Database = params['Database'] @Tables = params['Tables'] end |