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.



1426
1427
1428
1429
1430
1431
1432
# File 'lib/v20190423/models.rb', line 1426

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



1424
1425
1426
# File 'lib/v20190423/models.rb', line 1424

def ChannelId
  @ChannelId
end

#DeviceNameObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Query:

    自然语言查询

  • SummaryLang:

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

  • ChannelId:

    通道ID



1424
1425
1426
# File 'lib/v20190423/models.rb', line 1424

def DeviceName
  @DeviceName
end

#ProductIdObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Query:

    自然语言查询

  • SummaryLang:

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

  • ChannelId:

    通道ID



1424
1425
1426
# File 'lib/v20190423/models.rb', line 1424

def ProductId
  @ProductId
end

#QueryObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Query:

    自然语言查询

  • SummaryLang:

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

  • ChannelId:

    通道ID



1424
1425
1426
# File 'lib/v20190423/models.rb', line 1424

def Query
  @Query
end

#SummaryLangObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Query:

    自然语言查询

  • SummaryLang:

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

  • ChannelId:

    通道ID



1424
1425
1426
# File 'lib/v20190423/models.rb', line 1424

def SummaryLang
  @SummaryLang
end

Instance Method Details

#deserialize(params) ⇒ Object



1434
1435
1436
1437
1438
1439
1440
# File 'lib/v20190423/models.rb', line 1434

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