Class: TencentCloud::Wedata::V20210820::ModifyRuleGroupSubscriptionRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::ModifyRuleGroupSubscriptionRequest
- Defined in:
- lib/v20210820/models.rb
Overview
ModifyRuleGroupSubscription请求参数结构体
Instance Attribute Summary collapse
- #DatabaseId ⇒ Object
- #DatasourceId ⇒ Object
- #ProjectId ⇒ Object
- #Receivers ⇒ Object
- #RuleGroupId ⇒ Object
- #SubscribeType ⇒ Object
- #TableId ⇒ Object
- #WebHooks ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rulegroupid = nil, receivers = nil, subscribetype = nil, projectid = nil, databaseid = nil, datasourceid = nil, tableid = nil, webhooks = nil) ⇒ ModifyRuleGroupSubscriptionRequest
constructor
A new instance of ModifyRuleGroupSubscriptionRequest.
Constructor Details
#initialize(rulegroupid = nil, receivers = nil, subscribetype = nil, projectid = nil, databaseid = nil, datasourceid = nil, tableid = nil, webhooks = nil) ⇒ ModifyRuleGroupSubscriptionRequest
Returns a new instance of ModifyRuleGroupSubscriptionRequest.
17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 |
# File 'lib/v20210820/models.rb', line 17522 def initialize(rulegroupid=nil, receivers=nil, subscribetype=nil, projectid=nil, databaseid=nil, datasourceid=nil, tableid=nil, webhooks=nil) @RuleGroupId = rulegroupid @Receivers = receivers @SubscribeType = subscribetype @ProjectId = projectid @DatabaseId = databaseid @DatasourceId = datasourceid @TableId = tableid @WebHooks = webhooks end |
Instance Attribute Details
#DatabaseId ⇒ Object
17520 17521 17522 |
# File 'lib/v20210820/models.rb', line 17520 def DatabaseId @DatabaseId end |
#DatasourceId ⇒ Object
17520 17521 17522 |
# File 'lib/v20210820/models.rb', line 17520 def DatasourceId @DatasourceId end |
#ProjectId ⇒ Object
17520 17521 17522 |
# File 'lib/v20210820/models.rb', line 17520 def ProjectId @ProjectId end |
#Receivers ⇒ Object
17520 17521 17522 |
# File 'lib/v20210820/models.rb', line 17520 def Receivers @Receivers end |
#RuleGroupId ⇒ Object
17520 17521 17522 |
# File 'lib/v20210820/models.rb', line 17520 def RuleGroupId @RuleGroupId end |
#SubscribeType ⇒ Object
17520 17521 17522 |
# File 'lib/v20210820/models.rb', line 17520 def SubscribeType @SubscribeType end |
#TableId ⇒ Object
17520 17521 17522 |
# File 'lib/v20210820/models.rb', line 17520 def TableId @TableId end |
#WebHooks ⇒ Object
17520 17521 17522 |
# File 'lib/v20210820/models.rb', line 17520 def WebHooks @WebHooks end |
Instance Method Details
#deserialize(params) ⇒ Object
17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 |
# File 'lib/v20210820/models.rb', line 17533 def deserialize(params) @RuleGroupId = params['RuleGroupId'] unless params['Receivers'].nil? @Receivers = [] params['Receivers'].each do |i| subscribereceiver_tmp = SubscribeReceiver.new subscribereceiver_tmp.deserialize(i) @Receivers << subscribereceiver_tmp end end @SubscribeType = params['SubscribeType'] @ProjectId = params['ProjectId'] @DatabaseId = params['DatabaseId'] @DatasourceId = params['DatasourceId'] @TableId = params['TableId'] unless params['WebHooks'].nil? @WebHooks = [] params['WebHooks'].each do |i| subscribewebhook_tmp = SubscribeWebHook.new subscribewebhook_tmp.deserialize(i) @WebHooks << subscribewebhook_tmp end end end |