Class: TencentCloud::Ocr::V20181119::MLIDPassportOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::MLIDPassportOCRResponse
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20181119/models.rb
Overview
MLIDPassportOCR返回参数结构体
Instance Attribute Summary collapse
-
#AdvancedInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CardCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CodeCrc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CodeSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DateOfBirth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DateOfExpiration ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#GivenName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Image ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IssuingCountry ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Nationality ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PassportRecognizeInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Sex ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Surname ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Warn ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#WarnCardInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, dateofbirth = nil, sex = nil, dateofexpiration = nil, issuingcountry = nil, nationality = nil, warn = nil, image = nil, advancedinfo = nil, codeset = nil, codecrc = nil, surname = nil, givenname = nil, type = nil, passportrecognizeinfos = nil, warncardinfos = nil, cardcount = nil, requestid = nil) ⇒ MLIDPassportOCRResponse
constructor
A new instance of MLIDPassportOCRResponse.
Constructor Details
#initialize(id = nil, name = nil, dateofbirth = nil, sex = nil, dateofexpiration = nil, issuingcountry = nil, nationality = nil, warn = nil, image = nil, advancedinfo = nil, codeset = nil, codecrc = nil, surname = nil, givenname = nil, type = nil, passportrecognizeinfos = nil, warncardinfos = nil, cardcount = nil, requestid = nil) ⇒ MLIDPassportOCRResponse
Returns a new instance of MLIDPassportOCRResponse.
6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 |
# File 'lib/v20181119/models.rb', line 6249 def initialize(id=nil, name=nil, dateofbirth=nil, sex=nil, dateofexpiration=nil, issuingcountry=nil, nationality=nil, warn=nil, image=nil, advancedinfo=nil, codeset=nil, codecrc=nil, surname=nil, givenname=nil, type=nil, passportrecognizeinfos=nil, warncardinfos=nil, cardcount=nil, requestid=nil) @ID = id @Name = name @DateOfBirth = dateofbirth @Sex = sex @DateOfExpiration = dateofexpiration @IssuingCountry = issuingcountry @Nationality = nationality @Warn = warn @Image = image @AdvancedInfo = advancedinfo @CodeSet = codeset @CodeCrc = codecrc @Surname = surname @GivenName = givenname @Type = type @PassportRecognizeInfos = passportrecognizeinfos @WarnCardInfos = warncardinfos @CardCount = cardcount @RequestId = requestid end |
Instance Attribute Details
#AdvancedInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def AdvancedInfo @AdvancedInfo end |
#CardCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def CardCount @CardCount end |
#CodeCrc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def CodeCrc @CodeCrc end |
#CodeSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def CodeSet @CodeSet end |
#DateOfBirth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def DateOfBirth @DateOfBirth end |
#DateOfExpiration ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def DateOfExpiration @DateOfExpiration end |
#GivenName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def GivenName @GivenName end |
#ID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def ID @ID end |
#Image ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def Image @Image end |
#IssuingCountry ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def IssuingCountry @IssuingCountry end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def Name @Name end |
#Nationality ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def Nationality @Nationality end |
#PassportRecognizeInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def PassportRecognizeInfos @PassportRecognizeInfos end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def RequestId @RequestId end |
#Sex ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def Sex @Sex end |
#Surname ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def Surname @Surname end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def Type @Type end |
#Warn ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def Warn @Warn end |
#WarnCardInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6242 6243 6244 |
# File 'lib/v20181119/models.rb', line 6242 def WarnCardInfos @WarnCardInfos end |
Instance Method Details
#deserialize(params) ⇒ Object
6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 |
# File 'lib/v20181119/models.rb', line 6271 def deserialize(params) @ID = params['ID'] @Name = params['Name'] @DateOfBirth = params['DateOfBirth'] @Sex = params['Sex'] @DateOfExpiration = params['DateOfExpiration'] @IssuingCountry = params['IssuingCountry'] @Nationality = params['Nationality'] @Warn = params['Warn'] @Image = params['Image'] @AdvancedInfo = params['AdvancedInfo'] @CodeSet = params['CodeSet'] @CodeCrc = params['CodeCrc'] @Surname = params['Surname'] @GivenName = params['GivenName'] @Type = params['Type'] unless params['PassportRecognizeInfos'].nil? @PassportRecognizeInfos = PassportRecognizeInfos.new @PassportRecognizeInfos.deserialize(params['PassportRecognizeInfos']) end @WarnCardInfos = params['WarnCardInfos'] @CardCount = params['CardCount'] @RequestId = params['RequestId'] end |