Class: TencentCloud::Ocr::V20181119::PermanentResidencePermitInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::PermanentResidencePermitInfo
- Defined in:
- lib/v20181119/models.rb
Overview
外国人永久居留证信息返回
Instance Attribute Summary collapse
- #Address ⇒ Object
- #Authority ⇒ Object
- #Birth ⇒ Object
- #CardImage ⇒ Object
- #HolderNum ⇒ Object
- #IdNum ⇒ Object
- #Name ⇒ Object
- #Nation ⇒ Object
- #Nationality ⇒ Object
- #PortraitImage ⇒ Object
- #Sex ⇒ Object
- #ValidDate ⇒ Object
- #WarnInfos ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, sex = nil, nation = nil, birth = nil, address = nil, idnum = nil, authority = nil, validdate = nil, warninfos = nil, cardimage = nil, portraitimage = nil, holdernum = nil, nationality = nil) ⇒ PermanentResidencePermitInfo
constructor
A new instance of PermanentResidencePermitInfo.
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, holdernum = nil, nationality = nil) ⇒ PermanentResidencePermitInfo
Returns a new instance of PermanentResidencePermitInfo.
7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 |
# File 'lib/v20181119/models.rb', line 7548 def initialize(name=nil, sex=nil, nation=nil, birth=nil, address=nil, idnum=nil, =nil, validdate=nil, warninfos=nil, cardimage=nil, portraitimage=nil, holdernum=nil, nationality=nil) @Name = name @Sex = sex @Nation = nation @Birth = birth @Address = address @IdNum = idnum @Authority = @ValidDate = validdate @WarnInfos = warninfos @CardImage = cardimage @PortraitImage = portraitimage @HolderNum = holdernum @Nationality = nationality end |
Instance Attribute Details
#Address ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def Address @Address end |
#Authority ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def Authority @Authority end |
#Birth ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def Birth @Birth end |
#CardImage ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def CardImage @CardImage end |
#HolderNum ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def HolderNum @HolderNum end |
#IdNum ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def IdNum @IdNum end |
#Name ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def Name @Name end |
#Nation ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def Nation @Nation end |
#Nationality ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def Nationality @Nationality end |
#PortraitImage ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def PortraitImage @PortraitImage end |
#Sex ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def Sex @Sex end |
#ValidDate ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def ValidDate @ValidDate end |
#WarnInfos ⇒ Object
7546 7547 7548 |
# File 'lib/v20181119/models.rb', line 7546 def WarnInfos @WarnInfos end |
Instance Method Details
#deserialize(params) ⇒ Object
7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 |
# File 'lib/v20181119/models.rb', line 7564 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['HolderNum'].nil? @HolderNum = ContentInfo.new @HolderNum.deserialize(params['HolderNum']) end unless params['Nationality'].nil? @Nationality = ContentInfo.new @Nationality.deserialize(params['Nationality']) end end |