Class: TencentCloud::Ocr::V20181119::RecognizePhilippinesSssIDOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizePhilippinesSssIDOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizePhilippinesSssIDOCR返回参数结构体
Instance Attribute Summary collapse
- #Birthday ⇒ Object
- #FullName ⇒ Object
- #HeadPortrait ⇒ Object
- #LicenseNumber ⇒ Object
- #RequestId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(headportrait = nil, licensenumber = nil, fullname = nil, birthday = nil, requestid = nil) ⇒ RecognizePhilippinesSssIDOCRResponse
constructor
A new instance of RecognizePhilippinesSssIDOCRResponse.
Constructor Details
#initialize(headportrait = nil, licensenumber = nil, fullname = nil, birthday = nil, requestid = nil) ⇒ RecognizePhilippinesSssIDOCRResponse
Returns a new instance of RecognizePhilippinesSssIDOCRResponse.
8855 8856 8857 8858 8859 8860 8861 |
# File 'lib/v20181119/models.rb', line 8855 def initialize(headportrait=nil, licensenumber=nil, fullname=nil, birthday=nil, requestid=nil) @HeadPortrait = headportrait @LicenseNumber = licensenumber @FullName = fullname @Birthday = birthday @RequestId = requestid end |
Instance Attribute Details
#Birthday ⇒ Object
8853 8854 8855 |
# File 'lib/v20181119/models.rb', line 8853 def Birthday @Birthday end |
#FullName ⇒ Object
8853 8854 8855 |
# File 'lib/v20181119/models.rb', line 8853 def FullName @FullName end |
#HeadPortrait ⇒ Object
8853 8854 8855 |
# File 'lib/v20181119/models.rb', line 8853 def HeadPortrait @HeadPortrait end |
#LicenseNumber ⇒ Object
8853 8854 8855 |
# File 'lib/v20181119/models.rb', line 8853 def LicenseNumber @LicenseNumber end |
#RequestId ⇒ Object
8853 8854 8855 |
# File 'lib/v20181119/models.rb', line 8853 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 |
# File 'lib/v20181119/models.rb', line 8863 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['Birthday'].nil? @Birthday = TextDetectionResult.new @Birthday.deserialize(params['Birthday']) end @RequestId = params['RequestId'] end |