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.
17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 |
# File 'lib/v20210820/models.rb', line 17705 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
17703 17704 17705 |
# File 'lib/v20210820/models.rb', line 17703 def DatabaseId @DatabaseId end |
#DatasourceId ⇒ Object
17703 17704 17705 |
# File 'lib/v20210820/models.rb', line 17703 def DatasourceId @DatasourceId end |
#ProjectId ⇒ Object
17703 17704 17705 |
# File 'lib/v20210820/models.rb', line 17703 def ProjectId @ProjectId end |
#Receivers ⇒ Object
17703 17704 17705 |
# File 'lib/v20210820/models.rb', line 17703 def Receivers @Receivers end |
#RuleGroupId ⇒ Object
17703 17704 17705 |
# File 'lib/v20210820/models.rb', line 17703 def RuleGroupId @RuleGroupId end |
#SubscribeType ⇒ Object
17703 17704 17705 |
# File 'lib/v20210820/models.rb', line 17703 def SubscribeType @SubscribeType end |
#TableId ⇒ Object
17703 17704 17705 |
# File 'lib/v20210820/models.rb', line 17703 def TableId @TableId end |
#WebHooks ⇒ Object
17703 17704 17705 |
# File 'lib/v20210820/models.rb', line 17703 def WebHooks @WebHooks end |
Instance Method Details
#deserialize(params) ⇒ Object
17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 |
# File 'lib/v20210820/models.rb', line 17716 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 |