Class: TencentCloud::Ocr::V20181119::RecognizeStoreNameResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeStoreNameResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeStoreName返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(storeinfo = nil, angle = nil, storelabel = nil, requestid = nil) ⇒ RecognizeStoreNameResponse
constructor
A new instance of RecognizeStoreNameResponse.
Constructor Details
#initialize(storeinfo = nil, angle = nil, storelabel = nil, requestid = nil) ⇒ RecognizeStoreNameResponse
Returns a new instance of RecognizeStoreNameResponse.
9453 9454 9455 9456 9457 9458 |
# File 'lib/v20181119/models.rb', line 9453 def initialize(storeinfo=nil, angle=nil, storelabel=nil, requestid=nil) @StoreInfo = storeinfo @Angle = angle @StoreLabel = storelabel @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
9451 9452 9453 |
# File 'lib/v20181119/models.rb', line 9451 def Angle @Angle end |
#RequestId ⇒ Object
9451 9452 9453 |
# File 'lib/v20181119/models.rb', line 9451 def RequestId @RequestId end |
#StoreInfo ⇒ Object
9451 9452 9453 |
# File 'lib/v20181119/models.rb', line 9451 def StoreInfo @StoreInfo end |
#StoreLabel ⇒ Object
9451 9452 9453 |
# File 'lib/v20181119/models.rb', line 9451 def StoreLabel @StoreLabel end |
Instance Method Details
#deserialize(params) ⇒ Object
9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 |
# File 'lib/v20181119/models.rb', line 9460 def deserialize(params) unless params['StoreInfo'].nil? @StoreInfo = [] params['StoreInfo'].each do |i| storeinfo_tmp = StoreInfo.new storeinfo_tmp.deserialize(i) @StoreInfo << storeinfo_tmp end end @Angle = params['Angle'] @StoreLabel = params['StoreLabel'] @RequestId = params['RequestId'] end |