Class: TencentCloud::Tiia::V20190529::RecognizeCarResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tiia::V20190529::RecognizeCarResponse
- Defined in:
- lib/v20190529/models.rb
Overview
RecognizeCar返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(carcoords = nil, cartags = nil, requestid = nil) ⇒ RecognizeCarResponse
constructor
A new instance of RecognizeCarResponse.
Constructor Details
#initialize(carcoords = nil, cartags = nil, requestid = nil) ⇒ RecognizeCarResponse
Returns a new instance of RecognizeCarResponse.
1796 1797 1798 1799 1800 |
# File 'lib/v20190529/models.rb', line 1796 def initialize(carcoords=nil, =nil, requestid=nil) @CarCoords = carcoords @CarTags = @RequestId = requestid end |
Instance Attribute Details
#CarCoords ⇒ Object
1794 1795 1796 |
# File 'lib/v20190529/models.rb', line 1794 def CarCoords @CarCoords end |
#CarTags ⇒ Object
1794 1795 1796 |
# File 'lib/v20190529/models.rb', line 1794 def CarTags @CarTags end |
#RequestId ⇒ Object
1794 1795 1796 |
# File 'lib/v20190529/models.rb', line 1794 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 |
# File 'lib/v20190529/models.rb', line 1802 def deserialize(params) unless params['CarCoords'].nil? @CarCoords = [] params['CarCoords'].each do |i| coord_tmp = Coord.new coord_tmp.deserialize(i) @CarCoords << coord_tmp end end unless params['CarTags'].nil? @CarTags = [] params['CarTags'].each do |i| cartagitem_tmp = CarTagItem.new cartagitem_tmp.deserialize(i) @CarTags << cartagitem_tmp end end @RequestId = params['RequestId'] end |