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.



25253
25254
25255
25256
# File 'lib/v20190612/models.rb', line 25253

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

Instance Attribute Details

#StrategyTypeObject

  • TimeSpotCheck

Parameters:

  • StrategyType:

    策略类型。取值:

  • TimeSpotCheck:

    根据时间的抽检策略。



25251
25252
25253
# File 'lib/v20190612/models.rb', line 25251

def StrategyType
  @StrategyType
end

#TimeSpotCheckObject

  • TimeSpotCheck

Parameters:

  • StrategyType:

    策略类型。取值:

  • TimeSpotCheck:

    根据时间的抽检策略。



25251
25252
25253
# File 'lib/v20190612/models.rb', line 25251

def TimeSpotCheck
  @TimeSpotCheck
end

Instance Method Details

#deserialize(params) ⇒ Object



25258
25259
25260
25261
25262
25263
25264
# File 'lib/v20190612/models.rb', line 25258

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