Class: TencentCloud::Wedata::V20210820::RuleGroupTable

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210820/models.rb

Overview

表绑定规则组信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tableinfo = nil, rulegroups = nil, subscriptions = nil) ⇒ RuleGroupTable

Returns a new instance of RuleGroupTable.



21189
21190
21191
21192
21193
# File 'lib/v20210820/models.rb', line 21189

def initialize(tableinfo=nil, rulegroups=nil, subscriptions=nil)
  @TableInfo = tableinfo
  @RuleGroups = rulegroups
  @Subscriptions = subscriptions
end

Instance Attribute Details

#RuleGroupsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TableInfo:

    表信息

  • RuleGroups:

    规则组调度信息

  • Subscriptions:

    订阅者信息



21187
21188
21189
# File 'lib/v20210820/models.rb', line 21187

def RuleGroups
  @RuleGroups
end

#SubscriptionsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TableInfo:

    表信息

  • RuleGroups:

    规则组调度信息

  • Subscriptions:

    订阅者信息



21187
21188
21189
# File 'lib/v20210820/models.rb', line 21187

def Subscriptions
  @Subscriptions
end

#TableInfoObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TableInfo:

    表信息

  • RuleGroups:

    规则组调度信息

  • Subscriptions:

    订阅者信息



21187
21188
21189
# File 'lib/v20210820/models.rb', line 21187

def TableInfo
  @TableInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
# File 'lib/v20210820/models.rb', line 21195

def deserialize(params)
  unless params['TableInfo'].nil?
    @TableInfo = RuleGroupTableInnerInfo.new
    @TableInfo.deserialize(params['TableInfo'])
  end
  unless params['RuleGroups'].nil?
    @RuleGroups = []
    params['RuleGroups'].each do |i|
      rulegroupschedulerinfo_tmp = RuleGroupSchedulerInfo.new
      rulegroupschedulerinfo_tmp.deserialize(i)
      @RuleGroups << rulegroupschedulerinfo_tmp
    end
  end
  unless params['Subscriptions'].nil?
    @Subscriptions = []
    params['Subscriptions'].each do |i|
      rulegroupsubscribe_tmp = RuleGroupSubscribe.new
      rulegroupsubscribe_tmp.deserialize(i)
      @Subscriptions << rulegroupsubscribe_tmp
    end
  end
end