Class: TencentCloud::Tiia::V20190529::CarTagItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tiia::V20190529::CarTagItem
- Defined in:
- lib/v20190529/models.rb
Overview
车辆属性识别的结果
Instance Attribute Summary collapse
-
#Brand ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CarLocation ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Color ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ColorConfidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Confidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Orientation ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#OrientationConfidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PlateConfidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PlateContent ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Serial ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TypeConfidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Year ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(serial = nil, brand = nil, type = nil, color = nil, confidence = nil, year = nil, carlocation = nil, platecontent = nil, plateconfidence = nil, typeconfidence = nil, colorconfidence = nil, orientation = nil, orientationconfidence = nil) ⇒ CarTagItem
constructor
A new instance of CarTagItem.
Constructor Details
#initialize(serial = nil, brand = nil, type = nil, color = nil, confidence = nil, year = nil, carlocation = nil, platecontent = nil, plateconfidence = nil, typeconfidence = nil, colorconfidence = nil, orientation = nil, orientationconfidence = nil) ⇒ CarTagItem
Returns a new instance of CarTagItem.
282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
# File 'lib/v20190529/models.rb', line 282 def initialize(serial=nil, brand=nil, type=nil, color=nil, confidence=nil, year=nil, carlocation=nil, platecontent=nil, plateconfidence=nil, typeconfidence=nil, colorconfidence=nil, orientation=nil, orientationconfidence=nil) @Serial = serial @Brand = brand @Type = type @Color = color @Confidence = confidence @Year = year @CarLocation = carlocation @PlateContent = platecontent @PlateConfidence = plateconfidence @TypeConfidence = typeconfidence @ColorConfidence = colorconfidence @Orientation = orientation @OrientationConfidence = orientationconfidence end |
Instance Attribute Details
#Brand ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def Brand @Brand end |
#CarLocation ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def CarLocation @CarLocation end |
#Color ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def Color @Color end |
#ColorConfidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def ColorConfidence @ColorConfidence end |
#Confidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def Confidence @Confidence end |
#Orientation ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def Orientation @Orientation end |
#OrientationConfidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def OrientationConfidence @OrientationConfidence end |
#PlateConfidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def PlateConfidence @PlateConfidence end |
#PlateContent ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def PlateContent @PlateContent end |
#Serial ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def Serial @Serial end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def Type @Type end |
#TypeConfidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def TypeConfidence @TypeConfidence end |
#Year ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20190529/models.rb', line 280 def Year @Year end |
Instance Method Details
#deserialize(params) ⇒ Object
298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 |
# File 'lib/v20190529/models.rb', line 298 def deserialize(params) @Serial = params['Serial'] @Brand = params['Brand'] @Type = params['Type'] @Color = params['Color'] @Confidence = params['Confidence'] @Year = params['Year'] unless params['CarLocation'].nil? @CarLocation = [] params['CarLocation'].each do |i| coord_tmp = Coord.new coord_tmp.deserialize(i) @CarLocation << coord_tmp end end unless params['PlateContent'].nil? @PlateContent = CarPlateContent.new @PlateContent.deserialize(params['PlateContent']) end @PlateConfidence = params['PlateConfidence'] @TypeConfidence = params['TypeConfidence'] @ColorConfidence = params['ColorConfidence'] @Orientation = params['Orientation'] @OrientationConfidence = params['OrientationConfidence'] end |