Class: TencentCloud::Iotexplorer::V20190423::CreateTWeTalkProductConfigRequest

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

Overview

CreateTWeTalkProductConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, systemprompt = nil, greetingmessage = nil, voicetype = nil, fastvoicetype = nil, targetlanguage = nil) ⇒ CreateTWeTalkProductConfigRequest

Returns a new instance of CreateTWeTalkProductConfigRequest.



2827
2828
2829
2830
2831
2832
2833
2834
# File 'lib/v20190423/models.rb', line 2827

def initialize(productid=nil, systemprompt=nil, greetingmessage=nil, voicetype=nil, fastvoicetype=nil, targetlanguage=nil)
  @ProductId = productid
  @SystemPrompt = systemprompt
  @GreetingMessage = greetingmessage
  @VoiceType = voicetype
  @FastVoiceType = fastvoicetype
  @TargetLanguage = targetlanguage
end

Instance Attribute Details

#FastVoiceTypeObject

Parameters:

  • ProductId:

    产品ID

  • SystemPrompt:

    系统提示词

  • GreetingMessage:

    欢迎语

  • VoiceType:

    音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。

  • FastVoiceType:

    复刻音色

  • TargetLanguage:

    支持的语言,zh-中文;en-英文;默认zh



2825
2826
2827
# File 'lib/v20190423/models.rb', line 2825

def FastVoiceType
  @FastVoiceType
end

#GreetingMessageObject

Parameters:

  • ProductId:

    产品ID

  • SystemPrompt:

    系统提示词

  • GreetingMessage:

    欢迎语

  • VoiceType:

    音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。

  • FastVoiceType:

    复刻音色

  • TargetLanguage:

    支持的语言,zh-中文;en-英文;默认zh



2825
2826
2827
# File 'lib/v20190423/models.rb', line 2825

def GreetingMessage
  @GreetingMessage
end

#ProductIdObject

Parameters:

  • ProductId:

    产品ID

  • SystemPrompt:

    系统提示词

  • GreetingMessage:

    欢迎语

  • VoiceType:

    音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。

  • FastVoiceType:

    复刻音色

  • TargetLanguage:

    支持的语言,zh-中文;en-英文;默认zh



2825
2826
2827
# File 'lib/v20190423/models.rb', line 2825

def ProductId
  @ProductId
end

#SystemPromptObject

Parameters:

  • ProductId:

    产品ID

  • SystemPrompt:

    系统提示词

  • GreetingMessage:

    欢迎语

  • VoiceType:

    音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。

  • FastVoiceType:

    复刻音色

  • TargetLanguage:

    支持的语言,zh-中文;en-英文;默认zh



2825
2826
2827
# File 'lib/v20190423/models.rb', line 2825

def SystemPrompt
  @SystemPrompt
end

#TargetLanguageObject

Parameters:

  • ProductId:

    产品ID

  • SystemPrompt:

    系统提示词

  • GreetingMessage:

    欢迎语

  • VoiceType:

    音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。

  • FastVoiceType:

    复刻音色

  • TargetLanguage:

    支持的语言,zh-中文;en-英文;默认zh



2825
2826
2827
# File 'lib/v20190423/models.rb', line 2825

def TargetLanguage
  @TargetLanguage
end

#VoiceTypeObject

Parameters:

  • ProductId:

    产品ID

  • SystemPrompt:

    系统提示词

  • GreetingMessage:

    欢迎语

  • VoiceType:

    音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。

  • FastVoiceType:

    复刻音色

  • TargetLanguage:

    支持的语言,zh-中文;en-英文;默认zh



2825
2826
2827
# File 'lib/v20190423/models.rb', line 2825

def VoiceType
  @VoiceType
end

Instance Method Details

#deserialize(params) ⇒ Object



2836
2837
2838
2839
2840
2841
2842
2843
# File 'lib/v20190423/models.rb', line 2836

def deserialize(params)
  @ProductId = params['ProductId']
  @SystemPrompt = params['SystemPrompt']
  @GreetingMessage = params['GreetingMessage']
  @VoiceType = params['VoiceType']
  @FastVoiceType = params['FastVoiceType']
  @TargetLanguage = params['TargetLanguage']
end