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.
6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 |
# File 'lib/v20181119/models.rb', line 6836 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
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def Address @Address end |
#Authority ⇒ Object
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def Authority @Authority end |
#Birth ⇒ Object
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def Birth @Birth end |
#CardImage ⇒ Object
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def CardImage @CardImage end |
#HolderNum ⇒ Object
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def HolderNum @HolderNum end |
#IdNum ⇒ Object
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def IdNum @IdNum end |
#Name ⇒ Object
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def Name @Name end |
#Nation ⇒ Object
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def Nation @Nation end |
#Nationality ⇒ Object
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def Nationality @Nationality end |
#PortraitImage ⇒ Object
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def PortraitImage @PortraitImage end |
#Sex ⇒ Object
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def Sex @Sex end |
#ValidDate ⇒ Object
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def ValidDate @ValidDate end |
#WarnInfos ⇒ Object
6834 6835 6836 |
# File 'lib/v20181119/models.rb', line 6834 def WarnInfos @WarnInfos end |
Instance Method Details
#deserialize(params) ⇒ Object
6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 |
# File 'lib/v20181119/models.rb', line 6852 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 |