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.
4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 |
# File 'lib/v20181119/models.rb', line 4710 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-反面
4708 4709 4710 |
# File 'lib/v20181119/models.rb', line 4708 def Address @Address end |
#Authority ⇒ Object
1-反面
4708 4709 4710 |
# File 'lib/v20181119/models.rb', line 4708 def Authority @Authority end |
#Birth ⇒ Object
1-反面
4708 4709 4710 |
# File 'lib/v20181119/models.rb', line 4708 def Birth @Birth end |
#CardType ⇒ Object
1-反面
4708 4709 4710 |
# File 'lib/v20181119/models.rb', line 4708 def CardType @CardType end |
#IdCardNo ⇒ Object
1-反面
4708 4709 4710 |
# File 'lib/v20181119/models.rb', line 4708 def IdCardNo @IdCardNo end |
#Name ⇒ Object
1-反面
4708 4709 4710 |
# File 'lib/v20181119/models.rb', line 4708 def Name @Name end |
#PassNo ⇒ Object
1-反面
4708 4709 4710 |
# File 'lib/v20181119/models.rb', line 4708 def PassNo @PassNo end |
#PortraitImageInfo ⇒ Object
1-反面
4708 4709 4710 |
# File 'lib/v20181119/models.rb', line 4708 def PortraitImageInfo @PortraitImageInfo end |
#RequestId ⇒ Object
1-反面
4708 4709 4710 |
# File 'lib/v20181119/models.rb', line 4708 def RequestId @RequestId end |
#Sex ⇒ Object
1-反面
4708 4709 4710 |
# File 'lib/v20181119/models.rb', line 4708 def Sex @Sex end |
#ValidDate ⇒ Object
1-反面
4708 4709 4710 |
# File 'lib/v20181119/models.rb', line 4708 def ValidDate @ValidDate end |
#VisaNum ⇒ Object
1-反面
4708 4709 4710 |
# File 'lib/v20181119/models.rb', line 4708 def VisaNum @VisaNum end |
Instance Method Details
#deserialize(params) ⇒ Object
4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 |
# File 'lib/v20181119/models.rb', line 4725 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 |