Class: TencentCloud::Asr::V20190614::ModifyCustomizationRequest

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

Overview

ModifyCustomization请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(modelid = nil, modelname = nil, modeltype = nil, texturl = nil) ⇒ ModifyCustomizationRequest

Returns a new instance of ModifyCustomizationRequest.



1383
1384
1385
1386
1387
1388
# File 'lib/v20190614/models.rb', line 1383

def initialize(modelid=nil, modelname=nil, modeltype=nil, texturl=nil)
  @ModelId = modelid
  @ModelName = modelname
  @ModelType = modeltype
  @TextUrl = texturl
end

Instance Attribute Details

#ModelIdObject

Parameters:

  • ModelId:

    要修改的模型ID

  • ModelName:

    要修改的模型名称,长度需在1-20个字符之间

  • ModelType:

    要修改的模型类型,为8k或者16k

  • TextUrl:

    要修改的模型语料的下载地址,目前仅支持腾讯云cos



1381
1382
1383
# File 'lib/v20190614/models.rb', line 1381

def ModelId
  @ModelId
end

#ModelNameObject

Parameters:

  • ModelId:

    要修改的模型ID

  • ModelName:

    要修改的模型名称,长度需在1-20个字符之间

  • ModelType:

    要修改的模型类型,为8k或者16k

  • TextUrl:

    要修改的模型语料的下载地址,目前仅支持腾讯云cos



1381
1382
1383
# File 'lib/v20190614/models.rb', line 1381

def ModelName
  @ModelName
end

#ModelTypeObject

Parameters:

  • ModelId:

    要修改的模型ID

  • ModelName:

    要修改的模型名称,长度需在1-20个字符之间

  • ModelType:

    要修改的模型类型,为8k或者16k

  • TextUrl:

    要修改的模型语料的下载地址,目前仅支持腾讯云cos



1381
1382
1383
# File 'lib/v20190614/models.rb', line 1381

def ModelType
  @ModelType
end

#TextUrlObject

Parameters:

  • ModelId:

    要修改的模型ID

  • ModelName:

    要修改的模型名称,长度需在1-20个字符之间

  • ModelType:

    要修改的模型类型,为8k或者16k

  • TextUrl:

    要修改的模型语料的下载地址,目前仅支持腾讯云cos



1381
1382
1383
# File 'lib/v20190614/models.rb', line 1381

def TextUrl
  @TextUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



1390
1391
1392
1393
1394
1395
# File 'lib/v20190614/models.rb', line 1390

def deserialize(params)
  @ModelId = params['ModelId']
  @ModelName = params['ModelName']
  @ModelType = params['ModelType']
  @TextUrl = params['TextUrl']
end