Class: TencentCloud::Tmt::V20180321::ItemValue
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tmt::V20180321::ItemValue
- Defined in:
- lib/v20180321/models.rb
Overview
翻译结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sourcetext = nil, targettext = nil, x = nil, y = nil, w = nil, h = nil) ⇒ ItemValue
constructor
A new instance of ItemValue.
Constructor Details
#initialize(sourcetext = nil, targettext = nil, x = nil, y = nil, w = nil, h = nil) ⇒ ItemValue
Returns a new instance of ItemValue.
318 319 320 321 322 323 324 325 |
# File 'lib/v20180321/models.rb', line 318 def initialize(sourcetext=nil, targettext=nil, x=nil, y=nil, w=nil, h=nil) @SourceText = sourcetext @TargetText = targettext @X = x @Y = y @W = w @H = h end |
Instance Attribute Details
#H ⇒ Object
316 317 318 |
# File 'lib/v20180321/models.rb', line 316 def H @H end |
#SourceText ⇒ Object
316 317 318 |
# File 'lib/v20180321/models.rb', line 316 def SourceText @SourceText end |
#TargetText ⇒ Object
316 317 318 |
# File 'lib/v20180321/models.rb', line 316 def TargetText @TargetText end |
#W ⇒ Object
316 317 318 |
# File 'lib/v20180321/models.rb', line 316 def W @W end |
#X ⇒ Object
316 317 318 |
# File 'lib/v20180321/models.rb', line 316 def X @X end |
#Y ⇒ Object
316 317 318 |
# File 'lib/v20180321/models.rb', line 316 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
327 328 329 330 331 332 333 334 |
# File 'lib/v20180321/models.rb', line 327 def deserialize(params) @SourceText = params['SourceText'] @TargetText = params['TargetText'] @X = params['X'] @Y = params['Y'] @W = params['W'] @H = params['H'] end |