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.
7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 |
# File 'lib/v20181119/models.rb', line 7922 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
7920 7921 7922 |
# File 'lib/v20181119/models.rb', line 7920 def CnName @CnName end |
#DateOfBirth ⇒ Object
7920 7921 7922 |
# File 'lib/v20181119/models.rb', line 7920 def DateOfBirth @DateOfBirth end |
#EnName ⇒ Object
7920 7921 7922 |
# File 'lib/v20181119/models.rb', line 7920 def EnName @EnName end |
#IssuedAuthority ⇒ Object
7920 7921 7922 |
# File 'lib/v20181119/models.rb', line 7920 def IssuedAuthority @IssuedAuthority end |
#Nationality ⇒ Object
7920 7921 7922 |
# File 'lib/v20181119/models.rb', line 7920 def Nationality @Nationality end |
#No ⇒ Object
7920 7921 7922 |
# File 'lib/v20181119/models.rb', line 7920 def No @No end |
#PeriodOfValidity ⇒ Object
7920 7921 7922 |
# File 'lib/v20181119/models.rb', line 7920 def PeriodOfValidity @PeriodOfValidity end |
#PortraitImageInfo ⇒ Object
7920 7921 7922 |
# File 'lib/v20181119/models.rb', line 7920 def PortraitImageInfo @PortraitImageInfo end |
#PreviousNumber ⇒ Object
7920 7921 7922 |
# File 'lib/v20181119/models.rb', line 7920 def PreviousNumber @PreviousNumber end |
#RequestId ⇒ Object
7920 7921 7922 |
# File 'lib/v20181119/models.rb', line 7920 def RequestId @RequestId end |
#Sex ⇒ Object
7920 7921 7922 |
# File 'lib/v20181119/models.rb', line 7920 def Sex @Sex end |
Instance Method Details
#deserialize(params) ⇒ Object
7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 |
# File 'lib/v20181119/models.rb', line 7936 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 |