Class: TencentCloud::Ocr::V20181119::RecognizeForeignPermanentResidentIdCardResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeForeignPermanentResidentIdCardResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeForeignPermanentResidentIdCard返回参数结构体
Instance Attribute Summary collapse
- #CnName ⇒ Object
- #DateOfBirth ⇒ Object
- #EnName ⇒ Object
- #IssuedAuthority ⇒ Object
- #Nationality ⇒ Object
- #No ⇒ Object
- #PeriodOfValidity ⇒ Object
- #PortraitImageInfo ⇒ Object
- #PreviousNumber ⇒ Object
- #RequestId ⇒ Object
- #Sex ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cnname = nil, enname = nil, sex = nil, dateofbirth = nil, nationality = nil, periodofvalidity = nil, no = nil, previousnumber = nil, issuedauthority = nil, portraitimageinfo = nil, requestid = nil) ⇒ RecognizeForeignPermanentResidentIdCardResponse
constructor
A new instance of RecognizeForeignPermanentResidentIdCardResponse.
Constructor Details
#initialize(cnname = nil, enname = nil, sex = nil, dateofbirth = nil, nationality = nil, periodofvalidity = nil, no = nil, previousnumber = nil, issuedauthority = nil, portraitimageinfo = nil, requestid = nil) ⇒ RecognizeForeignPermanentResidentIdCardResponse
Returns a new instance of RecognizeForeignPermanentResidentIdCardResponse.
8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 |
# File 'lib/v20181119/models.rb', line 8786 def initialize(cnname=nil, enname=nil, sex=nil, dateofbirth=nil, nationality=nil, periodofvalidity=nil, no=nil, previousnumber=nil, =nil, portraitimageinfo=nil, requestid=nil) @CnName = cnname @EnName = enname @Sex = sex @DateOfBirth = dateofbirth @Nationality = nationality @PeriodOfValidity = periodofvalidity @No = no @PreviousNumber = previousnumber @IssuedAuthority = @PortraitImageInfo = portraitimageinfo @RequestId = requestid end |
Instance Attribute Details
#CnName ⇒ Object
8784 8785 8786 |
# File 'lib/v20181119/models.rb', line 8784 def CnName @CnName end |
#DateOfBirth ⇒ Object
8784 8785 8786 |
# File 'lib/v20181119/models.rb', line 8784 def DateOfBirth @DateOfBirth end |
#EnName ⇒ Object
8784 8785 8786 |
# File 'lib/v20181119/models.rb', line 8784 def EnName @EnName end |
#IssuedAuthority ⇒ Object
8784 8785 8786 |
# File 'lib/v20181119/models.rb', line 8784 def IssuedAuthority @IssuedAuthority end |
#Nationality ⇒ Object
8784 8785 8786 |
# File 'lib/v20181119/models.rb', line 8784 def Nationality @Nationality end |
#No ⇒ Object
8784 8785 8786 |
# File 'lib/v20181119/models.rb', line 8784 def No @No end |
#PeriodOfValidity ⇒ Object
8784 8785 8786 |
# File 'lib/v20181119/models.rb', line 8784 def PeriodOfValidity @PeriodOfValidity end |
#PortraitImageInfo ⇒ Object
8784 8785 8786 |
# File 'lib/v20181119/models.rb', line 8784 def PortraitImageInfo @PortraitImageInfo end |
#PreviousNumber ⇒ Object
8784 8785 8786 |
# File 'lib/v20181119/models.rb', line 8784 def PreviousNumber @PreviousNumber end |
#RequestId ⇒ Object
8784 8785 8786 |
# File 'lib/v20181119/models.rb', line 8784 def RequestId @RequestId end |
#Sex ⇒ Object
8784 8785 8786 |
# File 'lib/v20181119/models.rb', line 8784 def Sex @Sex end |
Instance Method Details
#deserialize(params) ⇒ Object
8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 |
# File 'lib/v20181119/models.rb', line 8800 def deserialize(params) @CnName = params['CnName'] @EnName = params['EnName'] @Sex = params['Sex'] @DateOfBirth = params['DateOfBirth'] @Nationality = params['Nationality'] @PeriodOfValidity = params['PeriodOfValidity'] @No = params['No'] @PreviousNumber = params['PreviousNumber'] @IssuedAuthority = params['IssuedAuthority'] unless params['PortraitImageInfo'].nil? @PortraitImageInfo = PortraitImageInfo.new @PortraitImageInfo.deserialize(params['PortraitImageInfo']) end @RequestId = params['RequestId'] end |