Class: TencentCloud::Tmt::V20180321::ImageRecord

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180321/models.rb

Overview

图片翻译结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value = nil) ⇒ ImageRecord

Returns a new instance of ImageRecord.



200
201
202
# File 'lib/v20180321/models.rb', line 200

def initialize(value=nil)
  @Value = value
end

Instance Attribute Details

#ValueObject

Parameters:

  • Value:

    图片翻译结果



198
199
200
# File 'lib/v20180321/models.rb', line 198

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



204
205
206
207
208
209
210
211
212
213
# File 'lib/v20180321/models.rb', line 204

def deserialize(params)
  unless params['Value'].nil?
    @Value = []
    params['Value'].each do |i|
      itemvalue_tmp = ItemValue.new
      itemvalue_tmp.deserialize(i)
      @Value << itemvalue_tmp
    end
  end
end