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.
6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 |
# File 'lib/v20181119/models.rb', line 6524 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
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def Birthday @Birthday end |
#EnglishName ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def EnglishName @EnglishName end |
#IssueAddress ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def IssueAddress @IssueAddress end |
#IssueAuthority ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def IssueAuthority @IssueAuthority end |
#IssueNumber ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def IssueNumber @IssueNumber end |
#MainlandTravelPermitBackInfos ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def MainlandTravelPermitBackInfos @MainlandTravelPermitBackInfos end |
#Name ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def Name @Name end |
#Nationality ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def Nationality @Nationality end |
#Number ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def Number @Number end |
#Profile ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def Profile @Profile end |
#RequestId ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def RequestId @RequestId end |
#Sex ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def Sex @Sex end |
#Type ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def Type @Type end |
#ValidDate ⇒ Object
6522 6523 6524 |
# File 'lib/v20181119/models.rb', line 6522 def ValidDate @ValidDate end |
Instance Method Details
#deserialize(params) ⇒ Object
6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 |
# File 'lib/v20181119/models.rb', line 6541 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 |