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.
12608 12609 12610 12611 12612 12613 12614 12615 12616 |
# File 'lib/v20181119/models.rb', line 12608 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
12606 12607 12608 |
# File 'lib/v20181119/models.rb', line 12606 def RecAddr @RecAddr end |
#RecName ⇒ Object
12606 12607 12608 |
# File 'lib/v20181119/models.rb', line 12606 def RecName @RecName end |
#RecNum ⇒ Object
12606 12607 12608 |
# File 'lib/v20181119/models.rb', line 12606 def RecNum @RecNum end |
#SenderAddr ⇒ Object
12606 12607 12608 |
# File 'lib/v20181119/models.rb', line 12606 def SenderAddr @SenderAddr end |
#SenderName ⇒ Object
12606 12607 12608 |
# File 'lib/v20181119/models.rb', line 12606 def SenderName @SenderName end |
#SenderNum ⇒ Object
12606 12607 12608 |
# File 'lib/v20181119/models.rb', line 12606 def SenderNum @SenderNum end |
#WaybillNum ⇒ Object
12606 12607 12608 |
# File 'lib/v20181119/models.rb', line 12606 def WaybillNum @WaybillNum end |
Instance Method Details
#deserialize(params) ⇒ Object
12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 |
# File 'lib/v20181119/models.rb', line 12618 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 |