Class: TencentCloud::Asr::V20190614::Model

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(modelname = nil, dictname = nil, modelid = nil, modeltype = nil, servicetype = nil, modelstate = nil, atupdated = nil, taginfos = nil) ⇒ Model

Returns a new instance of Model.



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

def initialize(modelname=nil, dictname=nil, modelid=nil, modeltype=nil, servicetype=nil, modelstate=nil, atupdated=nil, taginfos=nil)
  @ModelName = modelname
  @DictName = dictname
  @ModelId = modelid
  @ModelType = modeltype
  @ServiceType = servicetype
  @ModelState = modelstate
  @AtUpdated = atupdated
  @TagInfos = taginfos
end

Instance Attribute Details

#AtUpdatedObject

-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ModelName:

    模型名称

  • DictName:

    模型文件名称

  • ModelId:

    模型Id

  • ModelType:

    模型类型,“8k”或者”16k“

  • ServiceType:

    服务类型

  • ModelState:

    模型状态:

  • AtUpdated:

    最后更新时间

  • TagInfos:

    标签信息



1375
1376
1377
# File 'lib/v20190614/models.rb', line 1375

def AtUpdated
  @AtUpdated
end

#DictNameObject

-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ModelName:

    模型名称

  • DictName:

    模型文件名称

  • ModelId:

    模型Id

  • ModelType:

    模型类型,“8k”或者”16k“

  • ServiceType:

    服务类型

  • ModelState:

    模型状态:

  • AtUpdated:

    最后更新时间

  • TagInfos:

    标签信息



1375
1376
1377
# File 'lib/v20190614/models.rb', line 1375

def DictName
  @DictName
end

#ModelIdObject

-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ModelName:

    模型名称

  • DictName:

    模型文件名称

  • ModelId:

    模型Id

  • ModelType:

    模型类型,“8k”或者”16k“

  • ServiceType:

    服务类型

  • ModelState:

    模型状态:

  • AtUpdated:

    最后更新时间

  • TagInfos:

    标签信息



1375
1376
1377
# File 'lib/v20190614/models.rb', line 1375

def ModelId
  @ModelId
end

#ModelNameObject

-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ModelName:

    模型名称

  • DictName:

    模型文件名称

  • ModelId:

    模型Id

  • ModelType:

    模型类型,“8k”或者”16k“

  • ServiceType:

    服务类型

  • ModelState:

    模型状态:

  • AtUpdated:

    最后更新时间

  • TagInfos:

    标签信息



1375
1376
1377
# File 'lib/v20190614/models.rb', line 1375

def ModelName
  @ModelName
end

#ModelStateObject

-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ModelName:

    模型名称

  • DictName:

    模型文件名称

  • ModelId:

    模型Id

  • ModelType:

    模型类型,“8k”或者”16k“

  • ServiceType:

    服务类型

  • ModelState:

    模型状态:

  • AtUpdated:

    最后更新时间

  • TagInfos:

    标签信息



1375
1376
1377
# File 'lib/v20190614/models.rb', line 1375

def ModelState
  @ModelState
end

#ModelTypeObject

-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ModelName:

    模型名称

  • DictName:

    模型文件名称

  • ModelId:

    模型Id

  • ModelType:

    模型类型,“8k”或者”16k“

  • ServiceType:

    服务类型

  • ModelState:

    模型状态:

  • AtUpdated:

    最后更新时间

  • TagInfos:

    标签信息



1375
1376
1377
# File 'lib/v20190614/models.rb', line 1375

def ModelType
  @ModelType
end

#ServiceTypeObject

-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ModelName:

    模型名称

  • DictName:

    模型文件名称

  • ModelId:

    模型Id

  • ModelType:

    模型类型,“8k”或者”16k“

  • ServiceType:

    服务类型

  • ModelState:

    模型状态:

  • AtUpdated:

    最后更新时间

  • TagInfos:

    标签信息



1375
1376
1377
# File 'lib/v20190614/models.rb', line 1375

def ServiceType
  @ServiceType
end

#TagInfosObject

-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ModelName:

    模型名称

  • DictName:

    模型文件名称

  • ModelId:

    模型Id

  • ModelType:

    模型类型,“8k”或者”16k“

  • ServiceType:

    服务类型

  • ModelState:

    模型状态:

  • AtUpdated:

    最后更新时间

  • TagInfos:

    标签信息



1375
1376
1377
# File 'lib/v20190614/models.rb', line 1375

def TagInfos
  @TagInfos
end

Instance Method Details

#deserialize(params) ⇒ Object



1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
# File 'lib/v20190614/models.rb', line 1391

def deserialize(params)
  @ModelName = params['ModelName']
  @DictName = params['DictName']
  @ModelId = params['ModelId']
  @ModelType = params['ModelType']
  @ServiceType = params['ServiceType']
  @ModelState = params['ModelState']
  @AtUpdated = params['AtUpdated']
  @TagInfos = params['TagInfos']
end