Class: TencentCloud::Ocr::V20181119::RecognizePhilippinesDrivingLicenseOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizePhilippinesDrivingLicenseOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizePhilippinesDrivingLicenseOCR返回参数结构体
Instance Attribute Summary collapse
- #Address ⇒ Object
- #AgencyCode ⇒ Object
- #Birthday ⇒ Object
- #ExpiresDate ⇒ Object
- #FirstName ⇒ Object
- #HeadPortrait ⇒ Object
- #LastName ⇒ Object
- #LicenseNo ⇒ Object
- #MiddleName ⇒ Object
- #Name ⇒ Object
- #Nationality ⇒ Object
- #RequestId ⇒ Object
- #Sex ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(headportrait = nil, name = nil, lastname = nil, firstname = nil, middlename = nil, nationality = nil, sex = nil, address = nil, licenseno = nil, expiresdate = nil, agencycode = nil, birthday = nil, requestid = nil) ⇒ RecognizePhilippinesDrivingLicenseOCRResponse
constructor
A new instance of RecognizePhilippinesDrivingLicenseOCRResponse.
Constructor Details
#initialize(headportrait = nil, name = nil, lastname = nil, firstname = nil, middlename = nil, nationality = nil, sex = nil, address = nil, licenseno = nil, expiresdate = nil, agencycode = nil, birthday = nil, requestid = nil) ⇒ RecognizePhilippinesDrivingLicenseOCRResponse
Returns a new instance of RecognizePhilippinesDrivingLicenseOCRResponse.
8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 |
# File 'lib/v20181119/models.rb', line 8740 def initialize(headportrait=nil, name=nil, lastname=nil, firstname=nil, middlename=nil, nationality=nil, sex=nil, address=nil, licenseno=nil, expiresdate=nil, agencycode=nil, birthday=nil, requestid=nil) @HeadPortrait = headportrait @Name = name @LastName = lastname @FirstName = firstname @MiddleName = middlename @Nationality = nationality @Sex = sex @Address = address @LicenseNo = licenseno @ExpiresDate = expiresdate @AgencyCode = agencycode @Birthday = birthday @RequestId = requestid end |
Instance Attribute Details
#Address ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def Address @Address end |
#AgencyCode ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def AgencyCode @AgencyCode end |
#Birthday ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def Birthday @Birthday end |
#ExpiresDate ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def ExpiresDate @ExpiresDate end |
#FirstName ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def FirstName @FirstName end |
#HeadPortrait ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def HeadPortrait @HeadPortrait end |
#LastName ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def LastName @LastName end |
#LicenseNo ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def LicenseNo @LicenseNo end |
#MiddleName ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def MiddleName @MiddleName end |
#Name ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def Name @Name end |
#Nationality ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def Nationality @Nationality end |
#RequestId ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def RequestId @RequestId end |
#Sex ⇒ Object
8738 8739 8740 |
# File 'lib/v20181119/models.rb', line 8738 def Sex @Sex end |
Instance Method Details
#deserialize(params) ⇒ Object
8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 |
# File 'lib/v20181119/models.rb', line 8756 def deserialize(params) unless params['HeadPortrait'].nil? @HeadPortrait = TextDetectionResult.new @HeadPortrait.deserialize(params['HeadPortrait']) end unless params['Name'].nil? @Name = TextDetectionResult.new @Name.deserialize(params['Name']) end unless params['LastName'].nil? @LastName = TextDetectionResult.new @LastName.deserialize(params['LastName']) end unless params['FirstName'].nil? @FirstName = TextDetectionResult.new @FirstName.deserialize(params['FirstName']) end unless params['MiddleName'].nil? @MiddleName = TextDetectionResult.new @MiddleName.deserialize(params['MiddleName']) end unless params['Nationality'].nil? @Nationality = TextDetectionResult.new @Nationality.deserialize(params['Nationality']) end unless params['Sex'].nil? @Sex = TextDetectionResult.new @Sex.deserialize(params['Sex']) end unless params['Address'].nil? @Address = TextDetectionResult.new @Address.deserialize(params['Address']) end unless params['LicenseNo'].nil? @LicenseNo = TextDetectionResult.new @LicenseNo.deserialize(params['LicenseNo']) end unless params['ExpiresDate'].nil? @ExpiresDate = TextDetectionResult.new @ExpiresDate.deserialize(params['ExpiresDate']) end unless params['AgencyCode'].nil? @AgencyCode = TextDetectionResult.new @AgencyCode.deserialize(params['AgencyCode']) end unless params['Birthday'].nil? @Birthday = TextDetectionResult.new @Birthday.deserialize(params['Birthday']) end @RequestId = params['RequestId'] end |