Class: TencentCloud::Hunyuan::V20230901::LogoParam

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

Overview

logo参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logourl = nil, logoimage = nil, logorect = nil) ⇒ LogoParam

Returns a new instance of LogoParam.



1710
1711
1712
1713
1714
# File 'lib/v20230901/models.rb', line 1710

def initialize(logourl=nil, logoimage=nil, logorect=nil)
  @LogoUrl = logourl
  @LogoImage = logoimage
  @LogoRect = logorect
end

Instance Attribute Details

#LogoImageObject

Parameters:

  • LogoUrl:

    水印url

  • LogoImage:

    水印base64,url和base64二选一传入

  • LogoRect:

    水印图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配



1708
1709
1710
# File 'lib/v20230901/models.rb', line 1708

def LogoImage
  @LogoImage
end

#LogoRectObject

Parameters:

  • LogoUrl:

    水印url

  • LogoImage:

    水印base64,url和base64二选一传入

  • LogoRect:

    水印图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配



1708
1709
1710
# File 'lib/v20230901/models.rb', line 1708

def LogoRect
  @LogoRect
end

#LogoUrlObject

Parameters:

  • LogoUrl:

    水印url

  • LogoImage:

    水印base64,url和base64二选一传入

  • LogoRect:

    水印图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配



1708
1709
1710
# File 'lib/v20230901/models.rb', line 1708

def LogoUrl
  @LogoUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



1716
1717
1718
1719
1720
1721
1722
1723
# File 'lib/v20230901/models.rb', line 1716

def deserialize(params)
  @LogoUrl = params['LogoUrl']
  @LogoImage = params['LogoImage']
  unless params['LogoRect'].nil?
    @LogoRect = LogoRect.new
    @LogoRect.deserialize(params['LogoRect'])
  end
end