Class: TencentCloud::Iotexplorer::V20190423::InvokeTWeSeeRecognitionTaskRequest

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

Overview

InvokeTWeSeeRecognitionTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, devicename = nil, inputurl = nil, customid = nil, enablesearch = nil, starttimems = nil, endtimems = nil, config = nil, iscustomdevice = nil, inputtype = nil, summaryqos = nil, summaryconfig = nil, servicetype = nil, objectdetectconfig = nil) ⇒ InvokeTWeSeeRecognitionTaskRequest

Returns a new instance of InvokeTWeSeeRecognitionTaskRequest.



9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
# File 'lib/v20190423/models.rb', line 9826

def initialize(productid=nil, devicename=nil, inputurl=nil, customid=nil, enablesearch=nil, starttimems=nil, endtimems=nil, config=nil, iscustomdevice=nil, inputtype=nil, summaryqos=nil, summaryconfig=nil, servicetype=nil, objectdetectconfig=nil)
  @ProductId = productid
  @DeviceName = devicename
  @InputURL = inputurl
  @CustomId = customid
  @EnableSearch = enablesearch
  @StartTimeMs = starttimems
  @EndTimeMs = endtimems
  @Config = config
  @IsCustomDevice = iscustomdevice
  @InputType = inputtype
  @SummaryQOS = summaryqos
  @SummaryConfig = summaryconfig
  @ServiceType = servicetype
  @ObjectDetectConfig = objectdetectconfig
end

Instance Attribute Details

#ConfigObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def Config
  @Config
end

#CustomIdObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def CustomId
  @CustomId
end

#DeviceNameObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def DeviceName
  @DeviceName
end

#EnableSearchObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def EnableSearch
  @EnableSearch
end

#EndTimeMsObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def EndTimeMs
  @EndTimeMs
end

#InputTypeObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def InputType
  @InputType
end

#InputURLObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def InputURL
  @InputURL
end

#IsCustomDeviceObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def IsCustomDevice
  @IsCustomDevice
end

#ObjectDetectConfigObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def ObjectDetectConfig
  @ObjectDetectConfig
end

#ProductIdObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def ProductId
  @ProductId
end

#ServiceTypeObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def ServiceType
  @ServiceType
end

#StartTimeMsObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def StartTimeMs
  @StartTimeMs
end

#SummaryConfigObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def SummaryConfig
  @SummaryConfig
end

#SummaryQOSObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9824
9825
9826
# File 'lib/v20190423/models.rb', line 9824

def SummaryQOS
  @SummaryQOS
end

Instance Method Details

#deserialize(params) ⇒ Object



9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
# File 'lib/v20190423/models.rb', line 9843

def deserialize(params)
  @ProductId = params['ProductId']
  @DeviceName = params['DeviceName']
  @InputURL = params['InputURL']
  @CustomId = params['CustomId']
  @EnableSearch = params['EnableSearch']
  @StartTimeMs = params['StartTimeMs']
  @EndTimeMs = params['EndTimeMs']
  @Config = params['Config']
  @IsCustomDevice = params['IsCustomDevice']
  @InputType = params['InputType']
  @SummaryQOS = params['SummaryQOS']
  unless params['SummaryConfig'].nil?
    @SummaryConfig = VisionSummaryConfig.new
    @SummaryConfig.deserialize(params['SummaryConfig'])
  end
  @ServiceType = params['ServiceType']
  unless params['ObjectDetectConfig'].nil?
    @ObjectDetectConfig = VisionObjectDetectConfig.new
    @ObjectDetectConfig.deserialize(params['ObjectDetectConfig'])
  end
end