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.
9216 9217 9218 9219 9220 9221 |
# File 'lib/v20181119/models.rb', line 9216 def initialize(storeinfo=nil, angle=nil, storelabel=nil, requestid=nil) @StoreInfo = storeinfo @Angle = angle @StoreLabel = storelabel @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
9214 9215 9216 |
# File 'lib/v20181119/models.rb', line 9214 def Angle @Angle end |
#RequestId ⇒ Object
9214 9215 9216 |
# File 'lib/v20181119/models.rb', line 9214 def RequestId @RequestId end |
#StoreInfo ⇒ Object
9214 9215 9216 |
# File 'lib/v20181119/models.rb', line 9214 def StoreInfo @StoreInfo end |
#StoreLabel ⇒ Object
9214 9215 9216 |
# File 'lib/v20181119/models.rb', line 9214 def StoreLabel @StoreLabel end |
Instance Method Details
#deserialize(params) ⇒ Object
9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 |
# File 'lib/v20181119/models.rb', line 9223 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 |