Class: TencentCloud::Ocr::V20181119::TextWaybill
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::TextWaybill
- Defined in:
- lib/v20181119/models.rb
Overview
运单识别结果
Instance Attribute Summary collapse
- #RecAddr ⇒ Object
- #RecName ⇒ Object
- #RecNum ⇒ Object
- #SenderAddr ⇒ Object
- #SenderName ⇒ Object
- #SenderNum ⇒ Object
- #WaybillNum ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(recname = nil, recnum = nil, recaddr = nil, sendername = nil, sendernum = nil, senderaddr = nil, waybillnum = nil) ⇒ TextWaybill
constructor
A new instance of TextWaybill.
Constructor Details
#initialize(recname = nil, recnum = nil, recaddr = nil, sendername = nil, sendernum = nil, senderaddr = nil, waybillnum = nil) ⇒ TextWaybill
Returns a new instance of TextWaybill.
12260 12261 12262 12263 12264 12265 12266 12267 12268 |
# File 'lib/v20181119/models.rb', line 12260 def initialize(recname=nil, recnum=nil, recaddr=nil, sendername=nil, sendernum=nil, senderaddr=nil, waybillnum=nil) @RecName = recname @RecNum = recnum @RecAddr = recaddr @SenderName = sendername @SenderNum = sendernum @SenderAddr = senderaddr @WaybillNum = waybillnum end |
Instance Attribute Details
#RecAddr ⇒ Object
12258 12259 12260 |
# File 'lib/v20181119/models.rb', line 12258 def RecAddr @RecAddr end |
#RecName ⇒ Object
12258 12259 12260 |
# File 'lib/v20181119/models.rb', line 12258 def RecName @RecName end |
#RecNum ⇒ Object
12258 12259 12260 |
# File 'lib/v20181119/models.rb', line 12258 def RecNum @RecNum end |
#SenderAddr ⇒ Object
12258 12259 12260 |
# File 'lib/v20181119/models.rb', line 12258 def SenderAddr @SenderAddr end |
#SenderName ⇒ Object
12258 12259 12260 |
# File 'lib/v20181119/models.rb', line 12258 def SenderName @SenderName end |
#SenderNum ⇒ Object
12258 12259 12260 |
# File 'lib/v20181119/models.rb', line 12258 def SenderNum @SenderNum end |
#WaybillNum ⇒ Object
12258 12259 12260 |
# File 'lib/v20181119/models.rb', line 12258 def WaybillNum @WaybillNum end |
Instance Method Details
#deserialize(params) ⇒ Object
12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 |
# File 'lib/v20181119/models.rb', line 12270 def deserialize(params) unless params['RecName'].nil? @RecName = WaybillObj.new @RecName.deserialize(params['RecName']) end unless params['RecNum'].nil? @RecNum = WaybillObj.new @RecNum.deserialize(params['RecNum']) end unless params['RecAddr'].nil? @RecAddr = WaybillObj.new @RecAddr.deserialize(params['RecAddr']) end unless params['SenderName'].nil? @SenderName = WaybillObj.new @SenderName.deserialize(params['SenderName']) end unless params['SenderNum'].nil? @SenderNum = WaybillObj.new @SenderNum.deserialize(params['SenderNum']) end unless params['SenderAddr'].nil? @SenderAddr = WaybillObj.new @SenderAddr.deserialize(params['SenderAddr']) end unless params['WaybillNum'].nil? @WaybillNum = WaybillObj.new @WaybillNum.deserialize(params['WaybillNum']) end end |