Class: TencentCloud::Iss::V20230517::CarAIResultInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::CarAIResultInfo
- Defined in:
- lib/v20230517/models.rb
Overview
车辆车牌识别结果信息
Instance Attribute Summary collapse
- #Brand ⇒ Object
- #Color ⇒ Object
- #Confidence ⇒ Object
- #Location ⇒ Object
- #PlateContent ⇒ Object
- #Serial ⇒ Object
- #Type ⇒ Object
- #Year ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(serial = nil, brand = nil, type = nil, color = nil, confidence = nil, year = nil, platecontent = nil, location = nil) ⇒ CarAIResultInfo
constructor
A new instance of CarAIResultInfo.
Constructor Details
#initialize(serial = nil, brand = nil, type = nil, color = nil, confidence = nil, year = nil, platecontent = nil, location = nil) ⇒ CarAIResultInfo
Returns a new instance of CarAIResultInfo.
1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 |
# File 'lib/v20230517/models.rb', line 1436 def initialize(serial=nil, brand=nil, type=nil, color=nil, confidence=nil, year=nil, platecontent=nil, location=nil) @Serial = serial @Brand = brand @Type = type @Color = color @Confidence = confidence @Year = year @PlateContent = platecontent @Location = location end |
Instance Attribute Details
#Brand ⇒ Object
1434 1435 1436 |
# File 'lib/v20230517/models.rb', line 1434 def Brand @Brand end |
#Color ⇒ Object
1434 1435 1436 |
# File 'lib/v20230517/models.rb', line 1434 def Color @Color end |
#Confidence ⇒ Object
1434 1435 1436 |
# File 'lib/v20230517/models.rb', line 1434 def Confidence @Confidence end |
#Location ⇒ Object
1434 1435 1436 |
# File 'lib/v20230517/models.rb', line 1434 def Location @Location end |
#PlateContent ⇒ Object
1434 1435 1436 |
# File 'lib/v20230517/models.rb', line 1434 def PlateContent @PlateContent end |
#Serial ⇒ Object
1434 1435 1436 |
# File 'lib/v20230517/models.rb', line 1434 def Serial @Serial end |
#Type ⇒ Object
1434 1435 1436 |
# File 'lib/v20230517/models.rb', line 1434 def Type @Type end |
#Year ⇒ Object
1434 1435 1436 |
# File 'lib/v20230517/models.rb', line 1434 def Year @Year end |
Instance Method Details
#deserialize(params) ⇒ Object
1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 |
# File 'lib/v20230517/models.rb', line 1447 def deserialize(params) @Serial = params['Serial'] @Brand = params['Brand'] @Type = params['Type'] @Color = params['Color'] @Confidence = params['Confidence'] @Year = params['Year'] unless params['PlateContent'].nil? @PlateContent = PlateContent.new @PlateContent.deserialize(params['PlateContent']) end unless params['Location'].nil? @Location = Location.new @Location.deserialize(params['Location']) end end |