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.



32081
32082
32083
32084
32085
# File 'lib/v20210820/models.rb', line 32081

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:

    订阅者信息



32079
32080
32081
# File 'lib/v20210820/models.rb', line 32079

def RuleGroups
  @RuleGroups
end

#SubscriptionsObject

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

Parameters:

  • TableInfo:

    表信息

  • RuleGroups:

    规则组调度信息

  • Subscriptions:

    订阅者信息



32079
32080
32081
# File 'lib/v20210820/models.rb', line 32079

def Subscriptions
  @Subscriptions
end

#TableInfoObject

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

Parameters:

  • TableInfo:

    表信息

  • RuleGroups:

    规则组调度信息

  • Subscriptions:

    订阅者信息



32079
32080
32081
# File 'lib/v20210820/models.rb', line 32079

def TableInfo
  @TableInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



32087
32088
32089
32090
32091
32092
32093
32094
32095
32096
32097
32098
32099
32100
32101
32102
32103
32104
32105
32106
32107
32108
# File 'lib/v20210820/models.rb', line 32087

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