Class: TencentCloud::Aiart::V20221229::LogoParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aiart::V20221229::LogoParam
- Defined in:
- lib/v20221229/models.rb
Overview
logo参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(logourl = nil, logoimage = nil, logorect = nil) ⇒ LogoParam
constructor
A new instance of LogoParam.
Constructor Details
#initialize(logourl = nil, logoimage = nil, logorect = nil) ⇒ LogoParam
Returns a new instance of LogoParam.
340 341 342 343 344 |
# File 'lib/v20221229/models.rb', line 340 def initialize(logourl=nil, logoimage=nil, logorect=nil) @LogoUrl = logourl @LogoImage = logoimage @LogoRect = logorect end |
Instance Attribute Details
#LogoImage ⇒ Object
338 339 340 |
# File 'lib/v20221229/models.rb', line 338 def LogoImage @LogoImage end |
#LogoRect ⇒ Object
338 339 340 |
# File 'lib/v20221229/models.rb', line 338 def LogoRect @LogoRect end |
#LogoUrl ⇒ Object
338 339 340 |
# File 'lib/v20221229/models.rb', line 338 def LogoUrl @LogoUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
346 347 348 349 350 351 352 353 |
# File 'lib/v20221229/models.rb', line 346 def deserialize(params) @LogoUrl = params['LogoUrl'] @LogoImage = params['LogoImage'] unless params['LogoRect'].nil? @LogoRect = LogoRect.new @LogoRect.deserialize(params['LogoRect']) end end |