Class: TencentCloud::Iotexplorer::V20190423::CreateAISearchTaskAsyncRequest

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

Overview

CreateAISearchTaskAsync请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, devicename = nil, query = nil, summarylang = nil, channelid = nil) ⇒ CreateAISearchTaskAsyncRequest

Returns a new instance of CreateAISearchTaskAsyncRequest.



1394
1395
1396
1397
1398
1399
1400
# File 'lib/v20190423/models.rb', line 1394

def initialize(productid=nil, devicename=nil, query=nil, summarylang=nil, channelid=nil)
  @ProductId = productid
  @DeviceName = devicename
  @Query = query
  @SummaryLang = summarylang
  @ChannelId = channelid
end

Instance Attribute Details

#ChannelIdObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Query:

    自然语言查询

  • SummaryLang:

    搜索结果总结的语言类型,支持的类型有:en-US、zh-CN、id-ID、th-TH

  • ChannelId:

    通道ID



1392
1393
1394
# File 'lib/v20190423/models.rb', line 1392

def ChannelId
  @ChannelId
end

#DeviceNameObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Query:

    自然语言查询

  • SummaryLang:

    搜索结果总结的语言类型,支持的类型有:en-US、zh-CN、id-ID、th-TH

  • ChannelId:

    通道ID



1392
1393
1394
# File 'lib/v20190423/models.rb', line 1392

def DeviceName
  @DeviceName
end

#ProductIdObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Query:

    自然语言查询

  • SummaryLang:

    搜索结果总结的语言类型,支持的类型有:en-US、zh-CN、id-ID、th-TH

  • ChannelId:

    通道ID



1392
1393
1394
# File 'lib/v20190423/models.rb', line 1392

def ProductId
  @ProductId
end

#QueryObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Query:

    自然语言查询

  • SummaryLang:

    搜索结果总结的语言类型,支持的类型有:en-US、zh-CN、id-ID、th-TH

  • ChannelId:

    通道ID



1392
1393
1394
# File 'lib/v20190423/models.rb', line 1392

def Query
  @Query
end

#SummaryLangObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Query:

    自然语言查询

  • SummaryLang:

    搜索结果总结的语言类型,支持的类型有:en-US、zh-CN、id-ID、th-TH

  • ChannelId:

    通道ID



1392
1393
1394
# File 'lib/v20190423/models.rb', line 1392

def SummaryLang
  @SummaryLang
end

Instance Method Details

#deserialize(params) ⇒ Object



1402
1403
1404
1405
1406
1407
1408
# File 'lib/v20190423/models.rb', line 1402

def deserialize(params)
  @ProductId = params['ProductId']
  @DeviceName = params['DeviceName']
  @Query = params['Query']
  @SummaryLang = params['SummaryLang']
  @ChannelId = params['ChannelId']
end