Class: TencentCloud::Ocr::V20181119::RecognizeGeneralTextImageWarnResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeGeneralTextImageWarnResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeGeneralTextImageWarn返回参数结构体
Instance Attribute Summary collapse
- #Blur ⇒ Object
- #BorderIncomplete ⇒ Object
- #Copy ⇒ Object
- #Reflection ⇒ Object
- #Reprint ⇒ Object
- #RequestId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(copy = nil, reprint = nil, blur = nil, reflection = nil, borderincomplete = nil, requestid = nil) ⇒ RecognizeGeneralTextImageWarnResponse
constructor
A new instance of RecognizeGeneralTextImageWarnResponse.
Constructor Details
#initialize(copy = nil, reprint = nil, blur = nil, reflection = nil, borderincomplete = nil, requestid = nil) ⇒ RecognizeGeneralTextImageWarnResponse
Returns a new instance of RecognizeGeneralTextImageWarnResponse.
8118 8119 8120 8121 8122 8123 8124 8125 |
# File 'lib/v20181119/models.rb', line 8118 def initialize(copy=nil, reprint=nil, blur=nil, reflection=nil, borderincomplete=nil, requestid=nil) @Copy = copy @Reprint = reprint @Blur = blur @Reflection = reflection @BorderIncomplete = borderincomplete @RequestId = requestid end |
Instance Attribute Details
#Blur ⇒ Object
8116 8117 8118 |
# File 'lib/v20181119/models.rb', line 8116 def Blur @Blur end |
#BorderIncomplete ⇒ Object
8116 8117 8118 |
# File 'lib/v20181119/models.rb', line 8116 def BorderIncomplete @BorderIncomplete end |
#Copy ⇒ Object
8116 8117 8118 |
# File 'lib/v20181119/models.rb', line 8116 def Copy @Copy end |
#Reflection ⇒ Object
8116 8117 8118 |
# File 'lib/v20181119/models.rb', line 8116 def Reflection @Reflection end |
#Reprint ⇒ Object
8116 8117 8118 |
# File 'lib/v20181119/models.rb', line 8116 def Reprint @Reprint end |
#RequestId ⇒ Object
8116 8117 8118 |
# File 'lib/v20181119/models.rb', line 8116 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 |
# File 'lib/v20181119/models.rb', line 8127 def deserialize(params) unless params['Copy'].nil? @Copy = GeneralWarnInfo.new @Copy.deserialize(params['Copy']) end unless params['Reprint'].nil? @Reprint = GeneralWarnInfo.new @Reprint.deserialize(params['Reprint']) end unless params['Blur'].nil? @Blur = GeneralWarnInfo.new @Blur.deserialize(params['Blur']) end unless params['Reflection'].nil? @Reflection = GeneralWarnInfo.new @Reflection.deserialize(params['Reflection']) end unless params['BorderIncomplete'].nil? @BorderIncomplete = GeneralWarnInfo.new @BorderIncomplete.deserialize(params['BorderIncomplete']) end @RequestId = params['RequestId'] end |