Class: TencentCloud::Ocr::V20181119::MainlandPermitOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::MainlandPermitOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
MainlandPermitOCR返回参数结构体
Instance Attribute Summary collapse
- #Birthday ⇒ Object
- #EnglishName ⇒ Object
- #IssueAddress ⇒ Object
- #IssueAuthority ⇒ Object
- #IssueNumber ⇒ Object
- #MainlandTravelPermitBackInfos ⇒ Object
- #Name ⇒ Object
- #Nationality ⇒ Object
- #Number ⇒ Object
- #Profile ⇒ Object
- #RequestId ⇒ Object
- #Sex ⇒ Object
- #Type ⇒ Object
- #ValidDate ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, englishname = nil, sex = nil, birthday = nil, issueauthority = nil, validdate = nil, number = nil, issueaddress = nil, issuenumber = nil, type = nil, profile = nil, nationality = nil, mainlandtravelpermitbackinfos = nil, requestid = nil) ⇒ MainlandPermitOCRResponse
constructor
A new instance of MainlandPermitOCRResponse.
Constructor Details
#initialize(name = nil, englishname = nil, sex = nil, birthday = nil, issueauthority = nil, validdate = nil, number = nil, issueaddress = nil, issuenumber = nil, type = nil, profile = nil, nationality = nil, mainlandtravelpermitbackinfos = nil, requestid = nil) ⇒ MainlandPermitOCRResponse
Returns a new instance of MainlandPermitOCRResponse.
5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 |
# File 'lib/v20181119/models.rb', line 5671 def initialize(name=nil, englishname=nil, sex=nil, birthday=nil, =nil, validdate=nil, number=nil, issueaddress=nil, issuenumber=nil, type=nil, profile=nil, nationality=nil, mainlandtravelpermitbackinfos=nil, requestid=nil) @Name = name @EnglishName = englishname @Sex = sex @Birthday = birthday @IssueAuthority = @ValidDate = validdate @Number = number @IssueAddress = issueaddress @IssueNumber = issuenumber @Type = type @Profile = profile @Nationality = nationality @MainlandTravelPermitBackInfos = mainlandtravelpermitbackinfos @RequestId = requestid end |
Instance Attribute Details
#Birthday ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def Birthday @Birthday end |
#EnglishName ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def EnglishName @EnglishName end |
#IssueAddress ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def IssueAddress @IssueAddress end |
#IssueAuthority ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def IssueAuthority @IssueAuthority end |
#IssueNumber ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def IssueNumber @IssueNumber end |
#MainlandTravelPermitBackInfos ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def MainlandTravelPermitBackInfos @MainlandTravelPermitBackInfos end |
#Name ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def Name @Name end |
#Nationality ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def Nationality @Nationality end |
#Number ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def Number @Number end |
#Profile ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def Profile @Profile end |
#RequestId ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def RequestId @RequestId end |
#Sex ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def Sex @Sex end |
#Type ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def Type @Type end |
#ValidDate ⇒ Object
5669 5670 5671 |
# File 'lib/v20181119/models.rb', line 5669 def ValidDate @ValidDate end |
Instance Method Details
#deserialize(params) ⇒ Object
5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 |
# File 'lib/v20181119/models.rb', line 5688 def deserialize(params) @Name = params['Name'] @EnglishName = params['EnglishName'] @Sex = params['Sex'] @Birthday = params['Birthday'] @IssueAuthority = params['IssueAuthority'] @ValidDate = params['ValidDate'] @Number = params['Number'] @IssueAddress = params['IssueAddress'] @IssueNumber = params['IssueNumber'] @Type = params['Type'] @Profile = params['Profile'] @Nationality = params['Nationality'] unless params['MainlandTravelPermitBackInfos'].nil? @MainlandTravelPermitBackInfos = MainlandTravelPermitBackInfos.new @MainlandTravelPermitBackInfos.deserialize(params['MainlandTravelPermitBackInfos']) end @RequestId = params['RequestId'] end |