Class: TencentCloud::Ocr::V20181119::HmtResidentPermitOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::HmtResidentPermitOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
HmtResidentPermitOCR返回参数结构体
Instance Attribute Summary collapse
-
#Address ⇒ Object
1-反面.
-
#Authority ⇒ Object
1-反面.
-
#Birth ⇒ Object
1-反面.
-
#CardType ⇒ Object
1-反面.
-
#IdCardNo ⇒ Object
1-反面.
-
#Name ⇒ Object
1-反面.
-
#PassNo ⇒ Object
1-反面.
-
#PortraitImageInfo ⇒ Object
1-反面.
-
#RequestId ⇒ Object
1-反面.
-
#Sex ⇒ Object
1-反面.
-
#ValidDate ⇒ Object
1-反面.
-
#VisaNum ⇒ Object
1-反面.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, sex = nil, birth = nil, address = nil, idcardno = nil, cardtype = nil, validdate = nil, authority = nil, visanum = nil, passno = nil, portraitimageinfo = nil, requestid = nil) ⇒ HmtResidentPermitOCRResponse
constructor
A new instance of HmtResidentPermitOCRResponse.
Constructor Details
#initialize(name = nil, sex = nil, birth = nil, address = nil, idcardno = nil, cardtype = nil, validdate = nil, authority = nil, visanum = nil, passno = nil, portraitimageinfo = nil, requestid = nil) ⇒ HmtResidentPermitOCRResponse
Returns a new instance of HmtResidentPermitOCRResponse.
4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 |
# File 'lib/v20181119/models.rb', line 4197 def initialize(name=nil, sex=nil, birth=nil, address=nil, idcardno=nil, cardtype=nil, validdate=nil, =nil, visanum=nil, passno=nil, portraitimageinfo=nil, requestid=nil) @Name = name @Sex = sex @Birth = birth @Address = address @IdCardNo = idcardno @CardType = cardtype @ValidDate = validdate @Authority = @VisaNum = visanum @PassNo = passno @PortraitImageInfo = portraitimageinfo @RequestId = requestid end |
Instance Attribute Details
#Address ⇒ Object
1-反面
4195 4196 4197 |
# File 'lib/v20181119/models.rb', line 4195 def Address @Address end |
#Authority ⇒ Object
1-反面
4195 4196 4197 |
# File 'lib/v20181119/models.rb', line 4195 def Authority @Authority end |
#Birth ⇒ Object
1-反面
4195 4196 4197 |
# File 'lib/v20181119/models.rb', line 4195 def Birth @Birth end |
#CardType ⇒ Object
1-反面
4195 4196 4197 |
# File 'lib/v20181119/models.rb', line 4195 def CardType @CardType end |
#IdCardNo ⇒ Object
1-反面
4195 4196 4197 |
# File 'lib/v20181119/models.rb', line 4195 def IdCardNo @IdCardNo end |
#Name ⇒ Object
1-反面
4195 4196 4197 |
# File 'lib/v20181119/models.rb', line 4195 def Name @Name end |
#PassNo ⇒ Object
1-反面
4195 4196 4197 |
# File 'lib/v20181119/models.rb', line 4195 def PassNo @PassNo end |
#PortraitImageInfo ⇒ Object
1-反面
4195 4196 4197 |
# File 'lib/v20181119/models.rb', line 4195 def PortraitImageInfo @PortraitImageInfo end |
#RequestId ⇒ Object
1-反面
4195 4196 4197 |
# File 'lib/v20181119/models.rb', line 4195 def RequestId @RequestId end |
#Sex ⇒ Object
1-反面
4195 4196 4197 |
# File 'lib/v20181119/models.rb', line 4195 def Sex @Sex end |
#ValidDate ⇒ Object
1-反面
4195 4196 4197 |
# File 'lib/v20181119/models.rb', line 4195 def ValidDate @ValidDate end |
#VisaNum ⇒ Object
1-反面
4195 4196 4197 |
# File 'lib/v20181119/models.rb', line 4195 def VisaNum @VisaNum end |
Instance Method Details
#deserialize(params) ⇒ Object
4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 |
# File 'lib/v20181119/models.rb', line 4212 def deserialize(params) @Name = params['Name'] @Sex = params['Sex'] @Birth = params['Birth'] @Address = params['Address'] @IdCardNo = params['IdCardNo'] @CardType = params['CardType'] @ValidDate = params['ValidDate'] @Authority = params['Authority'] @VisaNum = params['VisaNum'] @PassNo = params['PassNo'] unless params['PortraitImageInfo'].nil? @PortraitImageInfo = PortraitImageInfo.new @PortraitImageInfo.deserialize(params['PortraitImageInfo']) end @RequestId = params['RequestId'] end |