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.



10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
# File 'lib/v20181119/models.rb', line 10220

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

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:

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



10218
10219
10220
# File 'lib/v20181119/models.rb', line 10218

def WarnInfos
  @WarnInfos
end

Instance Method Details

#deserialize(params) ⇒ Object



10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
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
# File 'lib/v20181119/models.rb', line 10236

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