Class: TencentCloud::Mps::V20190612::QualityControlStrategy

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

Overview

媒体质检检测策略。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(strategytype = nil, timespotcheck = nil) ⇒ QualityControlStrategy

Returns a new instance of QualityControlStrategy.



25581
25582
25583
25584
# File 'lib/v20190612/models.rb', line 25581

def initialize(strategytype=nil, timespotcheck=nil)
  @StrategyType = strategytype
  @TimeSpotCheck = timespotcheck
end

Instance Attribute Details

#StrategyTypeObject

  • TimeSpotCheck

Parameters:

  • StrategyType:

    策略类型。取值:

  • TimeSpotCheck:

    根据时间的抽检策略。



25579
25580
25581
# File 'lib/v20190612/models.rb', line 25579

def StrategyType
  @StrategyType
end

#TimeSpotCheckObject

  • TimeSpotCheck

Parameters:

  • StrategyType:

    策略类型。取值:

  • TimeSpotCheck:

    根据时间的抽检策略。



25579
25580
25581
# File 'lib/v20190612/models.rb', line 25579

def TimeSpotCheck
  @TimeSpotCheck
end

Instance Method Details

#deserialize(params) ⇒ Object



25586
25587
25588
25589
25590
25591
25592
# File 'lib/v20190612/models.rb', line 25586

def deserialize(params)
  @StrategyType = params['StrategyType']
  unless params['TimeSpotCheck'].nil?
    @TimeSpotCheck = TimeSpotCheck.new
    @TimeSpotCheck.deserialize(params['TimeSpotCheck'])
  end
end