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.
1961 1962 1963 1964 1965 |
# File 'lib/v20181119/models.rb', line 1961 def initialize(dutypaidproofinfos=nil, angle=nil, requestid=nil) @DutyPaidProofInfos = dutypaidproofinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
1959 1960 1961 |
# File 'lib/v20181119/models.rb', line 1959 def Angle @Angle end |
#DutyPaidProofInfos ⇒ Object
1959 1960 1961 |
# File 'lib/v20181119/models.rb', line 1959 def DutyPaidProofInfos @DutyPaidProofInfos end |
#RequestId ⇒ Object
1959 1960 1961 |
# File 'lib/v20181119/models.rb', line 1959 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 |
# File 'lib/v20181119/models.rb', line 1967 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 |