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.



21473
21474
21475
21476
21477
# File 'lib/v20210820/models.rb', line 21473

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:

    订阅者信息



21471
21472
21473
# File 'lib/v20210820/models.rb', line 21471

def RuleGroups
  @RuleGroups
end

#SubscriptionsObject

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

Parameters:

  • TableInfo:

    表信息

  • RuleGroups:

    规则组调度信息

  • Subscriptions:

    订阅者信息



21471
21472
21473
# File 'lib/v20210820/models.rb', line 21471

def Subscriptions
  @Subscriptions
end

#TableInfoObject

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

Parameters:

  • TableInfo:

    表信息

  • RuleGroups:

    规则组调度信息

  • Subscriptions:

    订阅者信息



21471
21472
21473
# File 'lib/v20210820/models.rb', line 21471

def TableInfo
  @TableInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
# File 'lib/v20210820/models.rb', line 21479

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