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.



32422
32423
32424
32425
32426
# File 'lib/v20210820/models.rb', line 32422

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:

    订阅者信息



32420
32421
32422
# File 'lib/v20210820/models.rb', line 32420

def RuleGroups
  @RuleGroups
end

#SubscriptionsObject

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

Parameters:

  • TableInfo:

    表信息

  • RuleGroups:

    规则组调度信息

  • Subscriptions:

    订阅者信息



32420
32421
32422
# File 'lib/v20210820/models.rb', line 32420

def Subscriptions
  @Subscriptions
end

#TableInfoObject

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

Parameters:

  • TableInfo:

    表信息

  • RuleGroups:

    规则组调度信息

  • Subscriptions:

    订阅者信息



32420
32421
32422
# File 'lib/v20210820/models.rb', line 32420

def TableInfo
  @TableInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



32428
32429
32430
32431
32432
32433
32434
32435
32436
32437
32438
32439
32440
32441
32442
32443
32444
32445
32446
32447
32448
32449
# File 'lib/v20210820/models.rb', line 32428

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