Class: TencentCloud::Ocr::V20181119::RecognizePhilippinesTinIDOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizePhilippinesTinIDOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizePhilippinesTinIDOCR返回参数结构体
Instance Attribute Summary collapse
- #Address ⇒ Object
- #Birthday ⇒ Object
- #FullName ⇒ Object
- #HeadPortrait ⇒ Object
- #IssueDate ⇒ Object
- #LicenseNumber ⇒ Object
- #RequestId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(headportrait = nil, licensenumber = nil, fullname = nil, address = nil, birthday = nil, issuedate = nil, requestid = nil) ⇒ RecognizePhilippinesTinIDOCRResponse
constructor
A new instance of RecognizePhilippinesTinIDOCRResponse.
Constructor Details
#initialize(headportrait = nil, licensenumber = nil, fullname = nil, address = nil, birthday = nil, issuedate = nil, requestid = nil) ⇒ RecognizePhilippinesTinIDOCRResponse
Returns a new instance of RecognizePhilippinesTinIDOCRResponse.
8934 8935 8936 8937 8938 8939 8940 8941 8942 |
# File 'lib/v20181119/models.rb', line 8934 def initialize(headportrait=nil, licensenumber=nil, fullname=nil, address=nil, birthday=nil, issuedate=nil, requestid=nil) @HeadPortrait = headportrait @LicenseNumber = licensenumber @FullName = fullname @Address = address @Birthday = birthday @IssueDate = issuedate @RequestId = requestid end |
Instance Attribute Details
#Address ⇒ Object
8932 8933 8934 |
# File 'lib/v20181119/models.rb', line 8932 def Address @Address end |
#Birthday ⇒ Object
8932 8933 8934 |
# File 'lib/v20181119/models.rb', line 8932 def Birthday @Birthday end |
#FullName ⇒ Object
8932 8933 8934 |
# File 'lib/v20181119/models.rb', line 8932 def FullName @FullName end |
#HeadPortrait ⇒ Object
8932 8933 8934 |
# File 'lib/v20181119/models.rb', line 8932 def HeadPortrait @HeadPortrait end |
#IssueDate ⇒ Object
8932 8933 8934 |
# File 'lib/v20181119/models.rb', line 8932 def IssueDate @IssueDate end |
#LicenseNumber ⇒ Object
8932 8933 8934 |
# File 'lib/v20181119/models.rb', line 8932 def LicenseNumber @LicenseNumber end |
#RequestId ⇒ Object
8932 8933 8934 |
# File 'lib/v20181119/models.rb', line 8932 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 |
# File 'lib/v20181119/models.rb', line 8944 def deserialize(params) unless params['HeadPortrait'].nil? @HeadPortrait = TextDetectionResult.new @HeadPortrait.deserialize(params['HeadPortrait']) end unless params['LicenseNumber'].nil? @LicenseNumber = TextDetectionResult.new @LicenseNumber.deserialize(params['LicenseNumber']) end unless params['FullName'].nil? @FullName = TextDetectionResult.new @FullName.deserialize(params['FullName']) end unless params['Address'].nil? @Address = TextDetectionResult.new @Address.deserialize(params['Address']) end unless params['Birthday'].nil? @Birthday = TextDetectionResult.new @Birthday.deserialize(params['Birthday']) end unless params['IssueDate'].nil? @IssueDate = TextDetectionResult.new @IssueDate.deserialize(params['IssueDate']) end @RequestId = params['RequestId'] end |