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.
5177 5178 5179 5180 5181 |
# File 'lib/v20200910/models.rb', line 5177 def initialize(template=nil, texttypelist=nil, requestid=nil) @Template = template @TextTypeList = texttypelist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
5175 5176 5177 |
# File 'lib/v20200910/models.rb', line 5175 def RequestId @RequestId end |
#Template ⇒ Object
5175 5176 5177 |
# File 'lib/v20200910/models.rb', line 5175 def Template @Template end |
#TextTypeList ⇒ Object
5175 5176 5177 |
# File 'lib/v20200910/models.rb', line 5175 def TextTypeList @TextTypeList end |
Instance Method Details
#deserialize(params) ⇒ Object
5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 |
# File 'lib/v20200910/models.rb', line 5183 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 |