Class: TencentCloud::Cwp::V20180228::IncidentVertexInfo

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

Overview

事件点信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(incidentid = nil, tablename = nil, vertex = nil, vertexcount = nil) ⇒ IncidentVertexInfo

Returns a new instance of IncidentVertexInfo.



30379
30380
30381
30382
30383
30384
# File 'lib/v20180228/models.rb', line 30379

def initialize(incidentid=nil, tablename=nil, vertex=nil, vertexcount=nil)
  @IncidentId = incidentid
  @TableName = tablename
  @Vertex = vertex
  @VertexCount = vertexcount
end

Instance Attribute Details

#IncidentIdObject

Parameters:

  • IncidentId:

    事件id

  • TableName:

    事件所在表名

  • Vertex:

    节点信息列表,数组项中包含节点详细信息

  • VertexCount:

    节点总个数



30377
30378
30379
# File 'lib/v20180228/models.rb', line 30377

def IncidentId
  @IncidentId
end

#TableNameObject

Parameters:

  • IncidentId:

    事件id

  • TableName:

    事件所在表名

  • Vertex:

    节点信息列表,数组项中包含节点详细信息

  • VertexCount:

    节点总个数



30377
30378
30379
# File 'lib/v20180228/models.rb', line 30377

def TableName
  @TableName
end

#VertexObject

Parameters:

  • IncidentId:

    事件id

  • TableName:

    事件所在表名

  • Vertex:

    节点信息列表,数组项中包含节点详细信息

  • VertexCount:

    节点总个数



30377
30378
30379
# File 'lib/v20180228/models.rb', line 30377

def Vertex
  @Vertex
end

#VertexCountObject

Parameters:

  • IncidentId:

    事件id

  • TableName:

    事件所在表名

  • Vertex:

    节点信息列表,数组项中包含节点详细信息

  • VertexCount:

    节点总个数



30377
30378
30379
# File 'lib/v20180228/models.rb', line 30377

def VertexCount
  @VertexCount
end

Instance Method Details

#deserialize(params) ⇒ Object



30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
# File 'lib/v20180228/models.rb', line 30386

def deserialize(params)
  @IncidentId = params['IncidentId']
  @TableName = params['TableName']
  unless params['Vertex'].nil?
    @Vertex = []
    params['Vertex'].each do |i|
      vertexinfo_tmp = VertexInfo.new
      vertexinfo_tmp.deserialize(i)
      @Vertex << vertexinfo_tmp
    end
  end
  @VertexCount = params['VertexCount']
end