Class: TencentCloud::Facefusion::V20220927::LogoParam

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

Overview

logo参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of LogoParam.



445
446
447
448
449
# File 'lib/v20220927/models.rb', line 445

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

Instance Attribute Details

#LogoImageObject

●base64 和 url 必须提供一个,如果都提供以 url 为准。●支持图片格式:支持jpg或png 专业版:base64 编码后大小不超过10M。非专业版:base64 编码后大小不超过5M。●base64 和 url 必须提供一个,如果都提供以 url 为准。●支持图片格式:支持jpg或png 专业版:base64 编码后大小不超过10M。非专业版:base64 编码后大小不超过5M。

Parameters:

  • LogoImage:

    输入图片base64。



443
444
445
# File 'lib/v20220927/models.rb', line 443

def LogoImage
  @LogoImage
end

#LogoRectObject

●base64 和 url 必须提供一个,如果都提供以 url 为准。●支持图片格式:支持jpg或png 专业版:base64 编码后大小不超过10M。非专业版:base64 编码后大小不超过5M。●base64 和 url 必须提供一个,如果都提供以 url 为准。●支持图片格式:支持jpg或png 专业版:base64 编码后大小不超过10M。非专业版:base64 编码后大小不超过5M。

Parameters:

  • LogoImage:

    输入图片base64。



443
444
445
# File 'lib/v20220927/models.rb', line 443

def LogoRect
  @LogoRect
end

#LogoUrlObject

●base64 和 url 必须提供一个,如果都提供以 url 为准。●支持图片格式:支持jpg或png 专业版:base64 编码后大小不超过10M。非专业版:base64 编码后大小不超过5M。●base64 和 url 必须提供一个,如果都提供以 url 为准。●支持图片格式:支持jpg或png 专业版:base64 编码后大小不超过10M。非专业版:base64 编码后大小不超过5M。

Parameters:

  • LogoImage:

    输入图片base64。



443
444
445
# File 'lib/v20220927/models.rb', line 443

def LogoUrl
  @LogoUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



451
452
453
454
455
456
457
458
# File 'lib/v20220927/models.rb', line 451

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