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.



10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
# File 'lib/v20181119/models.rb', line 10148

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

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:

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



10146
10147
10148
# File 'lib/v20181119/models.rb', line 10146

def WarnInfos
  @WarnInfos
end

Instance Method Details

#deserialize(params) ⇒ Object



10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
# File 'lib/v20181119/models.rb', line 10164

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