Class: TencentCloud::Ocr::V20181119::PermitOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::PermitOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
PermitOCR返回参数结构体
Instance Attribute Summary collapse
- #Birthday ⇒ Object
- #EnglishName ⇒ Object
- #IssueAddress ⇒ Object
- #IssueAuthority ⇒ Object
- #Name ⇒ Object
- #Number ⇒ Object
- #PortraitImage ⇒ Object
- #RequestId ⇒ Object
- #Sex ⇒ Object
- #Type ⇒ Object
- #ValidDate ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, englishname = nil, number = nil, sex = nil, validdate = nil, issueauthority = nil, issueaddress = nil, birthday = nil, portraitimage = nil, type = nil, requestid = nil) ⇒ PermitOCRResponse
constructor
A new instance of PermitOCRResponse.
Constructor Details
#initialize(name = nil, englishname = nil, number = nil, sex = nil, validdate = nil, issueauthority = nil, issueaddress = nil, birthday = nil, portraitimage = nil, type = nil, requestid = nil) ⇒ PermitOCRResponse
Returns a new instance of PermitOCRResponse.
6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 |
# File 'lib/v20181119/models.rb', line 6966 def initialize(name=nil, englishname=nil, number=nil, sex=nil, validdate=nil, =nil, issueaddress=nil, birthday=nil, portraitimage=nil, type=nil, requestid=nil) @Name = name @EnglishName = englishname @Number = number @Sex = sex @ValidDate = validdate @IssueAuthority = @IssueAddress = issueaddress @Birthday = birthday @PortraitImage = portraitimage @Type = type @RequestId = requestid end |
Instance Attribute Details
#Birthday ⇒ Object
6964 6965 6966 |
# File 'lib/v20181119/models.rb', line 6964 def Birthday @Birthday end |
#EnglishName ⇒ Object
6964 6965 6966 |
# File 'lib/v20181119/models.rb', line 6964 def EnglishName @EnglishName end |
#IssueAddress ⇒ Object
6964 6965 6966 |
# File 'lib/v20181119/models.rb', line 6964 def IssueAddress @IssueAddress end |
#IssueAuthority ⇒ Object
6964 6965 6966 |
# File 'lib/v20181119/models.rb', line 6964 def IssueAuthority @IssueAuthority end |
#Name ⇒ Object
6964 6965 6966 |
# File 'lib/v20181119/models.rb', line 6964 def Name @Name end |
#Number ⇒ Object
6964 6965 6966 |
# File 'lib/v20181119/models.rb', line 6964 def Number @Number end |
#PortraitImage ⇒ Object
6964 6965 6966 |
# File 'lib/v20181119/models.rb', line 6964 def PortraitImage @PortraitImage end |
#RequestId ⇒ Object
6964 6965 6966 |
# File 'lib/v20181119/models.rb', line 6964 def RequestId @RequestId end |
#Sex ⇒ Object
6964 6965 6966 |
# File 'lib/v20181119/models.rb', line 6964 def Sex @Sex end |
#Type ⇒ Object
6964 6965 6966 |
# File 'lib/v20181119/models.rb', line 6964 def Type @Type end |
#ValidDate ⇒ Object
6964 6965 6966 |
# File 'lib/v20181119/models.rb', line 6964 def ValidDate @ValidDate end |
Instance Method Details
#deserialize(params) ⇒ Object
6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 |
# File 'lib/v20181119/models.rb', line 6980 def deserialize(params) @Name = params['Name'] @EnglishName = params['EnglishName'] @Number = params['Number'] @Sex = params['Sex'] @ValidDate = params['ValidDate'] @IssueAuthority = params['IssueAuthority'] @IssueAddress = params['IssueAddress'] @Birthday = params['Birthday'] @PortraitImage = params['PortraitImage'] @Type = params['Type'] @RequestId = params['RequestId'] end |