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.



33855
33856
33857
33858
33859
# File 'lib/v20210820/models.rb', line 33855

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:

    订阅者信息



33853
33854
33855
# File 'lib/v20210820/models.rb', line 33853

def RuleGroups
  @RuleGroups
end

#SubscriptionsObject

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

Parameters:

  • TableInfo:

    表信息

  • RuleGroups:

    规则组调度信息

  • Subscriptions:

    订阅者信息



33853
33854
33855
# File 'lib/v20210820/models.rb', line 33853

def Subscriptions
  @Subscriptions
end

#TableInfoObject

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

Parameters:

  • TableInfo:

    表信息

  • RuleGroups:

    规则组调度信息

  • Subscriptions:

    订阅者信息



33853
33854
33855
# File 'lib/v20210820/models.rb', line 33853

def TableInfo
  @TableInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



33861
33862
33863
33864
33865
33866
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
# File 'lib/v20210820/models.rb', line 33861

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