Class: TencentCloud::Wedata::V20210820::LineageCommonInfoVO

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

Overview

LineageCommonInfoVO

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(currentresource = nil, parentset = nil, childset = nil, downstreamcount = nil, upstreamcount = nil, streamcountflag = nil) ⇒ LineageCommonInfoVO

Returns a new instance of LineageCommonInfoVO.



25378
25379
25380
25381
25382
25383
25384
25385
# File 'lib/v20210820/models.rb', line 25378

def initialize(currentresource=nil, parentset=nil, childset=nil, downstreamcount=nil, upstreamcount=nil, streamcountflag=nil)
  @CurrentResource = currentresource
  @ParentSet = parentset
  @ChildSet = childset
  @DownStreamCount = downstreamcount
  @UpStreamCount = upstreamcount
  @StreamCountFlag = streamcountflag
end

Instance Attribute Details

#ChildSetObject

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

Parameters:

  • CurrentResource:

    当前节点

  • ParentSet:

    上游节点

  • ChildSet:

    下游节点

  • DownStreamCount:

    下游数量

  • UpStreamCount:

    上游数量

  • StreamCountFlag:

    父/子节点是否展示上下游数量



25376
25377
25378
# File 'lib/v20210820/models.rb', line 25376

def ChildSet
  @ChildSet
end

#CurrentResourceObject

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

Parameters:

  • CurrentResource:

    当前节点

  • ParentSet:

    上游节点

  • ChildSet:

    下游节点

  • DownStreamCount:

    下游数量

  • UpStreamCount:

    上游数量

  • StreamCountFlag:

    父/子节点是否展示上下游数量



25376
25377
25378
# File 'lib/v20210820/models.rb', line 25376

def CurrentResource
  @CurrentResource
end

#DownStreamCountObject

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

Parameters:

  • CurrentResource:

    当前节点

  • ParentSet:

    上游节点

  • ChildSet:

    下游节点

  • DownStreamCount:

    下游数量

  • UpStreamCount:

    上游数量

  • StreamCountFlag:

    父/子节点是否展示上下游数量



25376
25377
25378
# File 'lib/v20210820/models.rb', line 25376

def DownStreamCount
  @DownStreamCount
end

#ParentSetObject

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

Parameters:

  • CurrentResource:

    当前节点

  • ParentSet:

    上游节点

  • ChildSet:

    下游节点

  • DownStreamCount:

    下游数量

  • UpStreamCount:

    上游数量

  • StreamCountFlag:

    父/子节点是否展示上下游数量



25376
25377
25378
# File 'lib/v20210820/models.rb', line 25376

def ParentSet
  @ParentSet
end

#StreamCountFlagObject

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

Parameters:

  • CurrentResource:

    当前节点

  • ParentSet:

    上游节点

  • ChildSet:

    下游节点

  • DownStreamCount:

    下游数量

  • UpStreamCount:

    上游数量

  • StreamCountFlag:

    父/子节点是否展示上下游数量



25376
25377
25378
# File 'lib/v20210820/models.rb', line 25376

def StreamCountFlag
  @StreamCountFlag
end

#UpStreamCountObject

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

Parameters:

  • CurrentResource:

    当前节点

  • ParentSet:

    上游节点

  • ChildSet:

    下游节点

  • DownStreamCount:

    下游数量

  • UpStreamCount:

    上游数量

  • StreamCountFlag:

    父/子节点是否展示上下游数量



25376
25377
25378
# File 'lib/v20210820/models.rb', line 25376

def UpStreamCount
  @UpStreamCount
end

Instance Method Details

#deserialize(params) ⇒ Object



25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
# File 'lib/v20210820/models.rb', line 25387

def deserialize(params)
  unless params['CurrentResource'].nil?
    @CurrentResource = LineageResouce.new
    @CurrentResource.deserialize(params['CurrentResource'])
  end
  unless params['ParentSet'].nil?
    @ParentSet = []
    params['ParentSet'].each do |i|
      lineagenodeinfovo_tmp = LineageNodeInfoVO.new
      lineagenodeinfovo_tmp.deserialize(i)
      @ParentSet << lineagenodeinfovo_tmp
    end
  end
  unless params['ChildSet'].nil?
    @ChildSet = []
    params['ChildSet'].each do |i|
      lineagenodeinfovo_tmp = LineageNodeInfoVO.new
      lineagenodeinfovo_tmp.deserialize(i)
      @ChildSet << lineagenodeinfovo_tmp
    end
  end
  @DownStreamCount = params['DownStreamCount']
  @UpStreamCount = params['UpStreamCount']
  @StreamCountFlag = params['StreamCountFlag']
end