Class: TencentCloud::Aiart::V20221229::LogoRect
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aiart::V20221229::LogoRect
- Defined in:
- lib/v20221229/models.rb
Overview
输入框
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ LogoRect
constructor
A new instance of LogoRect.
Constructor Details
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ LogoRect
Returns a new instance of LogoRect.
369 370 371 372 373 374 |
# File 'lib/v20221229/models.rb', line 369 def initialize(x=nil, y=nil, width=nil, height=nil) @X = x @Y = y @Width = width @Height = height end |
Instance Attribute Details
#Height ⇒ Object
367 368 369 |
# File 'lib/v20221229/models.rb', line 367 def Height @Height end |
#Width ⇒ Object
367 368 369 |
# File 'lib/v20221229/models.rb', line 367 def Width @Width end |
#X ⇒ Object
367 368 369 |
# File 'lib/v20221229/models.rb', line 367 def X @X end |
#Y ⇒ Object
367 368 369 |
# File 'lib/v20221229/models.rb', line 367 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
376 377 378 379 380 381 |
# File 'lib/v20221229/models.rb', line 376 def deserialize(params) @X = params['X'] @Y = params['Y'] @Width = params['Width'] @Height = params['Height'] end |