Class: TencentCloud::Ocr::V20181119::ResidencePermitInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181119/models.rb

Overview

港澳台居住证信息返回

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, sex = nil, nation = nil, birth = nil, address = nil, idnum = nil, authority = nil, validdate = nil, warninfos = nil, cardimage = nil, portraitimage = nil, passnum = nil, issuenum = nil) ⇒ ResidencePermitInfo

Returns a new instance of ResidencePermitInfo.



10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
# File 'lib/v20181119/models.rb', line 10248

def initialize(name=nil, sex=nil, nation=nil, birth=nil, address=nil, idnum=nil, authority=nil, validdate=nil, warninfos=nil, cardimage=nil, portraitimage=nil, passnum=nil, issuenum=nil)
  @Name = name
  @Sex = sex
  @Nation = nation
  @Birth = birth
  @Address = address
  @IdNum = idnum
  @Authority = authority
  @ValidDate = validdate
  @WarnInfos = warninfos
  @CardImage = cardimage
  @PortraitImage = portraitimage
  @PassNum = passnum
  @IssueNum = issuenum
end

Instance Attribute Details

#AddressObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def Address
  @Address
end

#AuthorityObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def Authority
  @Authority
end

#BirthObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def Birth
  @Birth
end

#CardImageObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def CardImage
  @CardImage
end

#IdNumObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def IdNum
  @IdNum
end

#IssueNumObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def IssueNum
  @IssueNum
end

#NameObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def Name
  @Name
end

#NationObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def Nation
  @Nation
end

#PassNumObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def PassNum
  @PassNum
end

#PortraitImageObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def PortraitImage
  @PortraitImage
end

#SexObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def Sex
  @Sex
end

#ValidDateObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def ValidDate
  @ValidDate
end

#WarnInfosObject

Parameters:

  • Name:

    姓名(人像面)

  • Sex:

    性别(人像面)

  • Nation:

    民族(人像面)

  • Birth:

    出生日期(人像面)

  • Address:

    地址(人像面)

  • IdNum:

    公民身份号码(人像面)

  • Authority:

    发证机关(国徽面)

  • ValidDate:

    证件有效期(国徽面)

  • WarnInfos:

    WarnInfos,告警信息

  • CardImage:

    IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;

  • PortraitImage:

    Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;

  • PassNum:

    通行证号码,港澳台居住证国徽面 返回该字段

  • IssueNum:

    签发次数,港澳台居住证国徽面 返回该字段



10246
10247
10248
# File 'lib/v20181119/models.rb', line 10246

def WarnInfos
  @WarnInfos
end

Instance Method Details

#deserialize(params) ⇒ Object



10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
# File 'lib/v20181119/models.rb', line 10264

def deserialize(params)
  unless params['Name'].nil?
    @Name = ContentInfo.new
    @Name.deserialize(params['Name'])
  end
  unless params['Sex'].nil?
    @Sex = ContentInfo.new
    @Sex.deserialize(params['Sex'])
  end
  unless params['Nation'].nil?
    @Nation = ContentInfo.new
    @Nation.deserialize(params['Nation'])
  end
  unless params['Birth'].nil?
    @Birth = ContentInfo.new
    @Birth.deserialize(params['Birth'])
  end
  unless params['Address'].nil?
    @Address = ContentInfo.new
    @Address.deserialize(params['Address'])
  end
  unless params['IdNum'].nil?
    @IdNum = ContentInfo.new
    @IdNum.deserialize(params['IdNum'])
  end
  unless params['Authority'].nil?
    @Authority = ContentInfo.new
    @Authority.deserialize(params['Authority'])
  end
  unless params['ValidDate'].nil?
    @ValidDate = ContentInfo.new
    @ValidDate.deserialize(params['ValidDate'])
  end
  unless params['WarnInfos'].nil?
    @WarnInfos = CardWarnInfo.new
    @WarnInfos.deserialize(params['WarnInfos'])
  end
  unless params['CardImage'].nil?
    @CardImage = ContentInfo.new
    @CardImage.deserialize(params['CardImage'])
  end
  unless params['PortraitImage'].nil?
    @PortraitImage = ContentInfo.new
    @PortraitImage.deserialize(params['PortraitImage'])
  end
  unless params['PassNum'].nil?
    @PassNum = ContentInfo.new
    @PassNum.deserialize(params['PassNum'])
  end
  unless params['IssueNum'].nil?
    @IssueNum = ContentInfo.new
    @IssueNum.deserialize(params['IssueNum'])
  end
end