Class: TencentCloud::Ocr::V20181119::PassportRecognizeInfos
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::PassportRecognizeInfos
- Defined in:
- lib/v20181119/models.rb
Overview
信息区证件内容
Instance Attribute Summary collapse
-
#DateOfBirth ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#DateOfExpiration ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#DateOfIssuance ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#GivenName ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#IssuePlace ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#IssuingAuthority ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#IssuingCountry ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#Name ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#Nationality ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#PassportID ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#Sex ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#Signature ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#Surname ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
-
#Type ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, issuingcountry = nil, passportid = nil, surname = nil, givenname = nil, name = nil, nationality = nil, dateofbirth = nil, sex = nil, dateofissuance = nil, dateofexpiration = nil, signature = nil, issueplace = nil, issuingauthority = nil) ⇒ PassportRecognizeInfos
constructor
A new instance of PassportRecognizeInfos.
Constructor Details
#initialize(type = nil, issuingcountry = nil, passportid = nil, surname = nil, givenname = nil, name = nil, nationality = nil, dateofbirth = nil, sex = nil, dateofissuance = nil, dateofexpiration = nil, signature = nil, issueplace = nil, issuingauthority = nil) ⇒ PassportRecognizeInfos
Returns a new instance of PassportRecognizeInfos.
6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 |
# File 'lib/v20181119/models.rb', line 6770 def initialize(type=nil, issuingcountry=nil, passportid=nil, surname=nil, givenname=nil, name=nil, nationality=nil, dateofbirth=nil, sex=nil, dateofissuance=nil, dateofexpiration=nil, signature=nil, issueplace=nil, =nil) @Type = type @IssuingCountry = issuingcountry @PassportID = passportid @Surname = surname @GivenName = givenname @Name = name @Nationality = nationality @DateOfBirth = dateofbirth @Sex = sex @DateOfIssuance = dateofissuance @DateOfExpiration = dateofexpiration @Signature = signature @IssuePlace = issueplace @IssuingAuthority = end |
Instance Attribute Details
#DateOfBirth ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def DateOfBirth @DateOfBirth end |
#DateOfExpiration ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def DateOfExpiration @DateOfExpiration end |
#DateOfIssuance ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def DateOfIssuance @DateOfIssuance end |
#GivenName ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def GivenName @GivenName end |
#IssuePlace ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def IssuePlace @IssuePlace end |
#IssuingAuthority ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def IssuingAuthority @IssuingAuthority end |
#IssuingCountry ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def IssuingCountry @IssuingCountry end |
#Name ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def Name @Name end |
#Nationality ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def Nationality @Nationality end |
#PassportID ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def PassportID @PassportID end |
#Sex ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def Sex @Sex end |
#Signature ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def Signature @Signature end |
#Surname ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def Surname @Surname end |
#Type ⇒ Object
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
6768 6769 6770 |
# File 'lib/v20181119/models.rb', line 6768 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 |
# File 'lib/v20181119/models.rb', line 6787 def deserialize(params) @Type = params['Type'] @IssuingCountry = params['IssuingCountry'] @PassportID = params['PassportID'] @Surname = params['Surname'] @GivenName = params['GivenName'] @Name = params['Name'] @Nationality = params['Nationality'] @DateOfBirth = params['DateOfBirth'] @Sex = params['Sex'] @DateOfIssuance = params['DateOfIssuance'] @DateOfExpiration = params['DateOfExpiration'] @Signature = params['Signature'] @IssuePlace = params['IssuePlace'] @IssuingAuthority = params['IssuingAuthority'] end |