Class: TencentCloud::Mrs::V20200910::ImageToObjectResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::ImageToObjectResponse
- Defined in:
- lib/v20200910/models.rb
Overview
ImageToObject返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(template = nil, texttypelist = nil, requestid = nil) ⇒ ImageToObjectResponse
constructor
A new instance of ImageToObjectResponse.
Constructor Details
#initialize(template = nil, texttypelist = nil, requestid = nil) ⇒ ImageToObjectResponse
Returns a new instance of ImageToObjectResponse.
5158 5159 5160 5161 5162 |
# File 'lib/v20200910/models.rb', line 5158 def initialize(template=nil, texttypelist=nil, requestid=nil) @Template = template @TextTypeList = texttypelist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
5156 5157 5158 |
# File 'lib/v20200910/models.rb', line 5156 def RequestId @RequestId end |
#Template ⇒ Object
5156 5157 5158 |
# File 'lib/v20200910/models.rb', line 5156 def Template @Template end |
#TextTypeList ⇒ Object
5156 5157 5158 |
# File 'lib/v20200910/models.rb', line 5156 def TextTypeList @TextTypeList end |
Instance Method Details
#deserialize(params) ⇒ Object
5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 |
# File 'lib/v20200910/models.rb', line 5164 def deserialize(params) unless params['Template'].nil? @Template = Template.new @Template.deserialize(params['Template']) end unless params['TextTypeList'].nil? @TextTypeList = [] params['TextTypeList'].each do |i| texttype_tmp = TextType.new texttype_tmp.deserialize(i) @TextTypeList << texttype_tmp end end @RequestId = params['RequestId'] end |