Class: TencentCloud::Ocr::V20181119::ResidencePermitInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ResidencePermitInfo
- Defined in:
- lib/v20181119/models.rb
Overview
港澳台居住证信息返回
Instance Attribute Summary collapse
- #Address ⇒ Object
- #Authority ⇒ Object
- #Birth ⇒ Object
- #CardImage ⇒ Object
- #IdNum ⇒ Object
- #IssueNum ⇒ Object
- #Name ⇒ Object
- #Nation ⇒ Object
- #PassNum ⇒ 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, passnum = nil, issuenum = nil) ⇒ ResidencePermitInfo
constructor
A new instance of ResidencePermitInfo.
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, passnum = nil, issuenum = nil) ⇒ ResidencePermitInfo
Returns a new instance of ResidencePermitInfo.
10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 |
# File 'lib/v20181119/models.rb', line 10019 def initialize(name=nil, sex=nil, nation=nil, birth=nil, address=nil, idnum=nil, =nil, validdate=nil, warninfos=nil, cardimage=nil, portraitimage=nil, passnum=nil, issuenum=nil) @Name = name @Sex = sex @Nation = nation @Birth = birth @Address = address @IdNum = idnum @Authority = @ValidDate = validdate @WarnInfos = warninfos @CardImage = cardimage @PortraitImage = portraitimage @PassNum = passnum @IssueNum = issuenum end |
Instance Attribute Details
#Address ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def Address @Address end |
#Authority ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def Authority @Authority end |
#Birth ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def Birth @Birth end |
#CardImage ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def CardImage @CardImage end |
#IdNum ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def IdNum @IdNum end |
#IssueNum ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def IssueNum @IssueNum end |
#Name ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def Name @Name end |
#Nation ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def Nation @Nation end |
#PassNum ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def PassNum @PassNum end |
#PortraitImage ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def PortraitImage @PortraitImage end |
#Sex ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def Sex @Sex end |
#ValidDate ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def ValidDate @ValidDate end |
#WarnInfos ⇒ Object
10017 10018 10019 |
# File 'lib/v20181119/models.rb', line 10017 def WarnInfos @WarnInfos end |
Instance Method Details
#deserialize(params) ⇒ Object
10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 |
# File 'lib/v20181119/models.rb', line 10035 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['PassNum'].nil? @PassNum = ContentInfo.new @PassNum.deserialize(params['PassNum']) end unless params['IssueNum'].nil? @IssueNum = ContentInfo.new @IssueNum.deserialize(params['IssueNum']) end end |