Class: TencentCloud::Ocr::V20181119::DutyPaidProofOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::DutyPaidProofOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
DutyPaidProofOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dutypaidproofinfos = nil, angle = nil, requestid = nil) ⇒ DutyPaidProofOCRResponse
constructor
A new instance of DutyPaidProofOCRResponse.
Constructor Details
#initialize(dutypaidproofinfos = nil, angle = nil, requestid = nil) ⇒ DutyPaidProofOCRResponse
Returns a new instance of DutyPaidProofOCRResponse.
1887 1888 1889 1890 1891 |
# File 'lib/v20181119/models.rb', line 1887 def initialize(dutypaidproofinfos=nil, angle=nil, requestid=nil) @DutyPaidProofInfos = dutypaidproofinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
1885 1886 1887 |
# File 'lib/v20181119/models.rb', line 1885 def Angle @Angle end |
#DutyPaidProofInfos ⇒ Object
1885 1886 1887 |
# File 'lib/v20181119/models.rb', line 1885 def DutyPaidProofInfos @DutyPaidProofInfos end |
#RequestId ⇒ Object
1885 1886 1887 |
# File 'lib/v20181119/models.rb', line 1885 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 |
# File 'lib/v20181119/models.rb', line 1893 def deserialize(params) unless params['DutyPaidProofInfos'].nil? @DutyPaidProofInfos = [] params['DutyPaidProofInfos'].each do |i| dutypaidproofinfo_tmp = DutyPaidProofInfo.new dutypaidproofinfo_tmp.deserialize(i) @DutyPaidProofInfos << dutypaidproofinfo_tmp end end @Angle = params['Angle'] @RequestId = params['RequestId'] end |