Class: TencentCloud::Tmt::V20180321::ImageTranslateResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tmt::V20180321::ImageTranslateResponse
- Defined in:
- lib/v20180321/models.rb
Overview
ImageTranslate返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sessionuuid = nil, source = nil, target = nil, imagerecord = nil, requestid = nil) ⇒ ImageTranslateResponse
constructor
A new instance of ImageTranslateResponse.
Constructor Details
#initialize(sessionuuid = nil, source = nil, target = nil, imagerecord = nil, requestid = nil) ⇒ ImageTranslateResponse
Returns a new instance of ImageTranslateResponse.
281 282 283 284 285 286 287 |
# File 'lib/v20180321/models.rb', line 281 def initialize(sessionuuid=nil, source=nil, target=nil, imagerecord=nil, requestid=nil) @SessionUuid = sessionuuid @Source = source @Target = target @ImageRecord = imagerecord @RequestId = requestid end |
Instance Attribute Details
#ImageRecord ⇒ Object
279 280 281 |
# File 'lib/v20180321/models.rb', line 279 def ImageRecord @ImageRecord end |
#RequestId ⇒ Object
279 280 281 |
# File 'lib/v20180321/models.rb', line 279 def RequestId @RequestId end |
#SessionUuid ⇒ Object
279 280 281 |
# File 'lib/v20180321/models.rb', line 279 def SessionUuid @SessionUuid end |
#Source ⇒ Object
279 280 281 |
# File 'lib/v20180321/models.rb', line 279 def Source @Source end |
#Target ⇒ Object
279 280 281 |
# File 'lib/v20180321/models.rb', line 279 def Target @Target end |
Instance Method Details
#deserialize(params) ⇒ Object
289 290 291 292 293 294 295 296 297 298 |
# File 'lib/v20180321/models.rb', line 289 def deserialize(params) @SessionUuid = params['SessionUuid'] @Source = params['Source'] @Target = params['Target'] unless params['ImageRecord'].nil? @ImageRecord = ImageRecord.new @ImageRecord.deserialize(params['ImageRecord']) end @RequestId = params['RequestId'] end |