Class: TencentCloud::Vclm::V20240523::LogoRect

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

Overview

水印图输入框

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ LogoRect



363
364
365
366
367
368
# File 'lib/v20240523/models.rb', line 363

def initialize(x=nil, y=nil, width=nil, height=nil)
  @X = x
  @Y = y
  @Width = width
  @Height = height
end

Instance Attribute Details

#HeightObject



361
362
363
# File 'lib/v20240523/models.rb', line 361

def Height
  @Height
end

#WidthObject



361
362
363
# File 'lib/v20240523/models.rb', line 361

def Width
  @Width
end

#XObject



361
362
363
# File 'lib/v20240523/models.rb', line 361

def X
  @X
end

#YObject



361
362
363
# File 'lib/v20240523/models.rb', line 361

def Y
  @Y
end

Instance Method Details

#deserialize(params) ⇒ Object



370
371
372
373
374
375
# File 'lib/v20240523/models.rb', line 370

def deserialize(params)
  @X = params['X']
  @Y = params['Y']
  @Width = params['Width']
  @Height = params['Height']
end