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.



29928
29929
29930
29931
29932
29933
# File 'lib/v20180228/models.rb', line 29928

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

Instance Attribute Details

#IncidentIdObject

Parameters:

  • 事件id

  • 事件所在表名

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

  • 节点总个数



29926
29927
29928
# File 'lib/v20180228/models.rb', line 29926

def IncidentId
  @IncidentId
end

#TableNameObject

Parameters:

  • 事件id

  • 事件所在表名

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

  • 节点总个数



29926
29927
29928
# File 'lib/v20180228/models.rb', line 29926

def TableName
  @TableName
end

#VertexObject

Parameters:

  • 事件id

  • 事件所在表名

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

  • 节点总个数



29926
29927
29928
# File 'lib/v20180228/models.rb', line 29926

def Vertex
  @Vertex
end

#VertexCountObject

Parameters:

  • 事件id

  • 事件所在表名

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

  • 节点总个数



29926
29927
29928
# File 'lib/v20180228/models.rb', line 29926

def VertexCount
  @VertexCount
end

Instance Method Details

#deserialize(params) ⇒ Object



29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
# File 'lib/v20180228/models.rb', line 29935

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