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
示例值:Ming Li.
-
#Authority ⇒ Object
示例值:Ming Li.
-
#Birth ⇒ Object
示例值:Ming Li.
-
#CardImage ⇒ Object
示例值:Ming Li.
-
#EnName ⇒ Object
示例值:Ming Li.
-
#HolderNum ⇒ Object
示例值:Ming Li.
-
#IdNum ⇒ Object
示例值:Ming Li.
-
#Name ⇒ Object
示例值:Ming Li.
-
#Nation ⇒ Object
示例值:Ming Li.
-
#Nationality ⇒ Object
示例值:Ming Li.
-
#PortraitImage ⇒ Object
示例值:Ming Li.
-
#Sex ⇒ Object
示例值:Ming Li.
-
#ValidDate ⇒ Object
示例值:Ming Li.
-
#WarnInfos ⇒ Object
示例值:Ming Li.
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, enname = 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, enname = nil) ⇒ PermanentResidencePermitInfo
Returns a new instance of PermanentResidencePermitInfo.
7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 |
# File 'lib/v20181119/models.rb', line 7691 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, enname=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 @EnName = enname end |
Instance Attribute Details
#Address ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def Address @Address end |
#Authority ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def Authority @Authority end |
#Birth ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def Birth @Birth end |
#CardImage ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def CardImage @CardImage end |
#EnName ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def EnName @EnName end |
#HolderNum ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def HolderNum @HolderNum end |
#IdNum ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def IdNum @IdNum end |
#Name ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def Name @Name end |
#Nation ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def Nation @Nation end |
#Nationality ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def Nationality @Nationality end |
#PortraitImage ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def PortraitImage @PortraitImage end |
#Sex ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def Sex @Sex end |
#ValidDate ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def ValidDate @ValidDate end |
#WarnInfos ⇒ Object
示例值:Ming Li
7689 7690 7691 |
# File 'lib/v20181119/models.rb', line 7689 def WarnInfos @WarnInfos end |
Instance Method Details
#deserialize(params) ⇒ Object
7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 |
# File 'lib/v20181119/models.rb', line 7708 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 unless params['EnName'].nil? @EnName = ContentInfo.new @EnName.deserialize(params['EnName']) end end |