Class: TencentCloud::Cme::V20191029::MediaPreprocessOperation

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

Overview

媒体处理视频合成任务的预处理操作。

Instance Attribute Summary collapse

  • #Type ⇒ Object
  • ImageTextMask:图片文字遮罩。
  • 当 Type 取值 ImageTextMask 时,参数为要保留的文字。.

    Instance Method Summary collapse

    Constructor Details

    #initialize(type = nil, args = nil) ⇒ MediaPreprocessOperation

    Returns a new instance of MediaPreprocessOperation.

    
    
    4349
    4350
    4351
    4352
    # File 'lib/v20191029/models.rb', line 4349
    
    def initialize(type=nil, args=nil)
      @Type = type
      @Args = args
    end

    Instance Attribute Details

    #ArgsObject

  • ImageTextMask:图片文字遮罩。
  • 当 Type 取值 ImageTextMask 时,参数为要保留的文字。

    Parameters:

    • Type:

      预处理操作的类型,取值范围:

    • Args:

      预处理操作参数。

    
    
    4347
    4348
    4349
    # File 'lib/v20191029/models.rb', line 4347
    
    def Args
      @Args
    end

    #TypeObject

  • ImageTextMask:图片文字遮罩。
  • 当 Type 取值 ImageTextMask 时,参数为要保留的文字。

    Parameters:

    • Type:

      预处理操作的类型,取值范围:

    • Args:

      预处理操作参数。

    
    
    4347
    4348
    4349
    # File 'lib/v20191029/models.rb', line 4347
    
    def Type
      @Type
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    4354
    4355
    4356
    4357
    # File 'lib/v20191029/models.rb', line 4354
    
    def deserialize(params)
      @Type = params['Type']
      @Args = params['Args']
    end