Class: TencentCloud::Ocr::V20181119::RecognizePhilippinesUMIDOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizePhilippinesUMIDOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizePhilippinesUMIDOCR返回参数结构体
Instance Attribute Summary collapse
- #Address ⇒ Object
- #Birthday ⇒ Object
- #CRN ⇒ Object
- #GivenName ⇒ Object
- #HeadPortrait ⇒ Object
- #MiddleName ⇒ Object
- #RequestId ⇒ Object
- #Sex ⇒ Object
- #Surname ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(surname = nil, middlename = nil, givenname = nil, address = nil, birthday = nil, crn = nil, sex = nil, headportrait = nil, requestid = nil) ⇒ RecognizePhilippinesUMIDOCRResponse
constructor
A new instance of RecognizePhilippinesUMIDOCRResponse.
Constructor Details
#initialize(surname = nil, middlename = nil, givenname = nil, address = nil, birthday = nil, crn = nil, sex = nil, headportrait = nil, requestid = nil) ⇒ RecognizePhilippinesUMIDOCRResponse
Returns a new instance of RecognizePhilippinesUMIDOCRResponse.
9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 |
# File 'lib/v20181119/models.rb', line 9020 def initialize(surname=nil, middlename=nil, givenname=nil, address=nil, birthday=nil, crn=nil, sex=nil, headportrait=nil, requestid=nil) @Surname = surname @MiddleName = middlename @GivenName = givenname @Address = address @Birthday = birthday @CRN = crn @Sex = sex @HeadPortrait = headportrait @RequestId = requestid end |
Instance Attribute Details
#Address ⇒ Object
9018 9019 9020 |
# File 'lib/v20181119/models.rb', line 9018 def Address @Address end |
#Birthday ⇒ Object
9018 9019 9020 |
# File 'lib/v20181119/models.rb', line 9018 def Birthday @Birthday end |
#CRN ⇒ Object
9018 9019 9020 |
# File 'lib/v20181119/models.rb', line 9018 def CRN @CRN end |
#GivenName ⇒ Object
9018 9019 9020 |
# File 'lib/v20181119/models.rb', line 9018 def GivenName @GivenName end |
#HeadPortrait ⇒ Object
9018 9019 9020 |
# File 'lib/v20181119/models.rb', line 9018 def HeadPortrait @HeadPortrait end |
#MiddleName ⇒ Object
9018 9019 9020 |
# File 'lib/v20181119/models.rb', line 9018 def MiddleName @MiddleName end |
#RequestId ⇒ Object
9018 9019 9020 |
# File 'lib/v20181119/models.rb', line 9018 def RequestId @RequestId end |
#Sex ⇒ Object
9018 9019 9020 |
# File 'lib/v20181119/models.rb', line 9018 def Sex @Sex end |
#Surname ⇒ Object
9018 9019 9020 |
# File 'lib/v20181119/models.rb', line 9018 def Surname @Surname end |
Instance Method Details
#deserialize(params) ⇒ Object
9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 |
# File 'lib/v20181119/models.rb', line 9032 def deserialize(params) unless params['Surname'].nil? @Surname = TextDetectionResult.new @Surname.deserialize(params['Surname']) end unless params['MiddleName'].nil? @MiddleName = TextDetectionResult.new @MiddleName.deserialize(params['MiddleName']) end unless params['GivenName'].nil? @GivenName = TextDetectionResult.new @GivenName.deserialize(params['GivenName']) end unless params['Address'].nil? @Address = TextDetectionResult.new @Address.deserialize(params['Address']) end unless params['Birthday'].nil? @Birthday = TextDetectionResult.new @Birthday.deserialize(params['Birthday']) end unless params['CRN'].nil? @CRN = TextDetectionResult.new @CRN.deserialize(params['CRN']) end unless params['Sex'].nil? @Sex = TextDetectionResult.new @Sex.deserialize(params['Sex']) end unless params['HeadPortrait'].nil? @HeadPortrait = TextDetectionResult.new @HeadPortrait.deserialize(params['HeadPortrait']) end @RequestId = params['RequestId'] end |