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.



22188
22189
22190
22191
# File 'lib/v20190612/models.rb', line 22188

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

Instance Attribute Details

#StrategyTypeObject

  • TimeSpotCheck

Parameters:

  • StrategyType:

    策略类型。取值:

  • TimeSpotCheck:

    根据时间的抽检策略。



22186
22187
22188
# File 'lib/v20190612/models.rb', line 22186

def StrategyType
  @StrategyType
end

#TimeSpotCheckObject

  • TimeSpotCheck

Parameters:

  • StrategyType:

    策略类型。取值:

  • TimeSpotCheck:

    根据时间的抽检策略。



22186
22187
22188
# File 'lib/v20190612/models.rb', line 22186

def TimeSpotCheck
  @TimeSpotCheck
end

Instance Method Details

#deserialize(params) ⇒ Object



22193
22194
22195
22196
22197
22198
22199
# File 'lib/v20190612/models.rb', line 22193

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