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.
12658 12659 12660 12661 12662 12663 12664 12665 12666 |
# File 'lib/v20181119/models.rb', line 12658 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
12656 12657 12658 |
# File 'lib/v20181119/models.rb', line 12656 def RecAddr @RecAddr end |
#RecName ⇒ Object
12656 12657 12658 |
# File 'lib/v20181119/models.rb', line 12656 def RecName @RecName end |
#RecNum ⇒ Object
12656 12657 12658 |
# File 'lib/v20181119/models.rb', line 12656 def RecNum @RecNum end |
#SenderAddr ⇒ Object
12656 12657 12658 |
# File 'lib/v20181119/models.rb', line 12656 def SenderAddr @SenderAddr end |
#SenderName ⇒ Object
12656 12657 12658 |
# File 'lib/v20181119/models.rb', line 12656 def SenderName @SenderName end |
#SenderNum ⇒ Object
12656 12657 12658 |
# File 'lib/v20181119/models.rb', line 12656 def SenderNum @SenderNum end |
#WaybillNum ⇒ Object
12656 12657 12658 |
# File 'lib/v20181119/models.rb', line 12656 def WaybillNum @WaybillNum end |
Instance Method Details
#deserialize(params) ⇒ Object
12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 |
# File 'lib/v20181119/models.rb', line 12668 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 |