Class: TencentCloud::Ocr::V20181119::RecognizePhilippinesVoteIDOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizePhilippinesVoteIDOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizePhilippinesVoteIDOCR返回参数结构体
Instance Attribute Summary collapse
- #Address ⇒ Object
- #Birthday ⇒ Object
- #Citizenship ⇒ Object
- #CivilStatus ⇒ Object
- #FirstName ⇒ Object
- #HeadPortrait ⇒ Object
- #LastName ⇒ Object
- #PrecinctNo ⇒ Object
- #RequestId ⇒ Object
- #VIN ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(headportrait = nil, vin = nil, firstname = nil, lastname = nil, birthday = nil, civilstatus = nil, citizenship = nil, address = nil, precinctno = nil, requestid = nil) ⇒ RecognizePhilippinesVoteIDOCRResponse
constructor
A new instance of RecognizePhilippinesVoteIDOCRResponse.
Constructor Details
#initialize(headportrait = nil, vin = nil, firstname = nil, lastname = nil, birthday = nil, civilstatus = nil, citizenship = nil, address = nil, precinctno = nil, requestid = nil) ⇒ RecognizePhilippinesVoteIDOCRResponse
Returns a new instance of RecognizePhilippinesVoteIDOCRResponse.
9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 |
# File 'lib/v20181119/models.rb', line 9125 def initialize(headportrait=nil, vin=nil, firstname=nil, lastname=nil, birthday=nil, civilstatus=nil, citizenship=nil, address=nil, precinctno=nil, requestid=nil) @HeadPortrait = headportrait @VIN = vin @FirstName = firstname @LastName = lastname @Birthday = birthday @CivilStatus = civilstatus @Citizenship = citizenship @Address = address @PrecinctNo = precinctno @RequestId = requestid end |
Instance Attribute Details
#Address ⇒ Object
9123 9124 9125 |
# File 'lib/v20181119/models.rb', line 9123 def Address @Address end |
#Birthday ⇒ Object
9123 9124 9125 |
# File 'lib/v20181119/models.rb', line 9123 def Birthday @Birthday end |
#Citizenship ⇒ Object
9123 9124 9125 |
# File 'lib/v20181119/models.rb', line 9123 def Citizenship @Citizenship end |
#CivilStatus ⇒ Object
9123 9124 9125 |
# File 'lib/v20181119/models.rb', line 9123 def CivilStatus @CivilStatus end |
#FirstName ⇒ Object
9123 9124 9125 |
# File 'lib/v20181119/models.rb', line 9123 def FirstName @FirstName end |
#HeadPortrait ⇒ Object
9123 9124 9125 |
# File 'lib/v20181119/models.rb', line 9123 def HeadPortrait @HeadPortrait end |
#LastName ⇒ Object
9123 9124 9125 |
# File 'lib/v20181119/models.rb', line 9123 def LastName @LastName end |
#PrecinctNo ⇒ Object
9123 9124 9125 |
# File 'lib/v20181119/models.rb', line 9123 def PrecinctNo @PrecinctNo end |
#RequestId ⇒ Object
9123 9124 9125 |
# File 'lib/v20181119/models.rb', line 9123 def RequestId @RequestId end |
#VIN ⇒ Object
9123 9124 9125 |
# File 'lib/v20181119/models.rb', line 9123 def VIN @VIN end |
Instance Method Details
#deserialize(params) ⇒ Object
9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 |
# File 'lib/v20181119/models.rb', line 9138 def deserialize(params) unless params['HeadPortrait'].nil? @HeadPortrait = TextDetectionResult.new @HeadPortrait.deserialize(params['HeadPortrait']) end unless params['VIN'].nil? @VIN = TextDetectionResult.new @VIN.deserialize(params['VIN']) end unless params['FirstName'].nil? @FirstName = TextDetectionResult.new @FirstName.deserialize(params['FirstName']) end unless params['LastName'].nil? @LastName = TextDetectionResult.new @LastName.deserialize(params['LastName']) end unless params['Birthday'].nil? @Birthday = TextDetectionResult.new @Birthday.deserialize(params['Birthday']) end unless params['CivilStatus'].nil? @CivilStatus = TextDetectionResult.new @CivilStatus.deserialize(params['CivilStatus']) end unless params['Citizenship'].nil? @Citizenship = TextDetectionResult.new @Citizenship.deserialize(params['Citizenship']) end unless params['Address'].nil? @Address = TextDetectionResult.new @Address.deserialize(params['Address']) end unless params['PrecinctNo'].nil? @PrecinctNo = TextDetectionResult.new @PrecinctNo.deserialize(params['PrecinctNo']) end @RequestId = params['RequestId'] end |