lib/v20200910/models.rb in tencentcloud-sdk-mrs-1.0.342 vs lib/v20200910/models.rb in tencentcloud-sdk-mrs-1.0.343
- old
+ new
@@ -161,10 +161,42 @@
@Summary.deserialize(params['Summary'])
end
end
end
+ # 坐标
+ class Coordinate < TencentCloud::Common::AbstractModel
+ # @param X: 左上角x坐标
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type X: Integer
+ # @param Y: 左上角y坐标
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Y: Integer
+ # @param Width: 宽度,单位像素
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Width: Integer
+ # @param Height: 高度,单位像素
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Height: Integer
+
+ attr_accessor :X, :Y, :Width, :Height
+
+ def initialize(x=nil, y=nil, width=nil, height=nil)
+ @X = x
+ @Y = y
+ @Width = width
+ @Height = height
+ end
+
+ def deserialize(params)
+ @X = params['X']
+ @Y = params['Y']
+ @Width = params['Width']
+ @Height = params['Height']
+ end
+ end
+
# 描述
class Desc < TencentCloud::Common::AbstractModel
# @param Text: 描述
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Text: String
@@ -1223,24 +1255,32 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Normal: Boolean
# @param ItemString: 项目原文
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ItemString: String
+ # @param Id: 指标项ID
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Id: Integer
+ # @param Coords: 指标项坐标位置
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Coords: :class:`Tencentcloud::Mrs.v20200910.models.Coordinate`
- attr_accessor :Code, :Scode, :Name, :Sname, :Result, :Unit, :Range, :Arrow, :Normal, :ItemString
+ attr_accessor :Code, :Scode, :Name, :Sname, :Result, :Unit, :Range, :Arrow, :Normal, :ItemString, :Id, :Coords
- def initialize(code=nil, scode=nil, name=nil, sname=nil, result=nil, unit=nil, range=nil, arrow=nil, normal=nil, itemstring=nil)
+ def initialize(code=nil, scode=nil, name=nil, sname=nil, result=nil, unit=nil, range=nil, arrow=nil, normal=nil, itemstring=nil, id=nil, coords=nil)
@Code = code
@Scode = scode
@Name = name
@Sname = sname
@Result = result
@Unit = unit
@Range = range
@Arrow = arrow
@Normal = normal
@ItemString = itemstring
+ @Id = id
+ @Coords = coords
end
def deserialize(params)
@Code = params['Code']
@Scode = params['Scode']
@@ -1250,9 +1290,14 @@
@Unit = params['Unit']
@Range = params['Range']
@Arrow = params['Arrow']
@Normal = params['Normal']
@ItemString = params['ItemString']
+ @Id = params['Id']
+ unless params['Coords'].nil?
+ @Coords = Coordinate.new
+ @Coords.deserialize(params['Coords'])
+ end
end
end
# 侵犯扩散
class Invas < TencentCloud::Common::AbstractModel