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.



9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
# File 'lib/v20190423/models.rb', line 9842

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:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def Config
  @Config
end

#CustomIdObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def CustomId
  @CustomId
end

#DeviceNameObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def DeviceName
  @DeviceName
end

#EnableSearchObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def EnableSearch
  @EnableSearch
end

#EndTimeMsObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def EndTimeMs
  @EndTimeMs
end

#InputTypeObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def InputType
  @InputType
end

#InputURLObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def InputURL
  @InputURL
end

#IsCustomDeviceObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def IsCustomDevice
  @IsCustomDevice
end

#ObjectDetectConfigObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def ObjectDetectConfig
  @ObjectDetectConfig
end

#ProductIdObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def ProductId
  @ProductId
end

#ServiceTypeObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def ServiceType
  @ServiceType
end

#StartTimeMsObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def StartTimeMs
  @StartTimeMs
end

#SummaryConfigObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def SummaryConfig
  @SummaryConfig
end

#SummaryQOSObject

  • minutely:分钟级(默认值)
  • immediate:立即
  • Summary:视频/图片摘要
  • ObjectDetect:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



9840
9841
9842
# File 'lib/v20190423/models.rb', line 9840

def SummaryQOS
  @SummaryQOS
end

Instance Method Details

#deserialize(params) ⇒ Object



9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
# File 'lib/v20190423/models.rb', line 9859

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