Class: TencentCloud::Asr::V20190614::Model
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Asr::V20190614::Model
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20190614/models.rb
Overview
Instance Attribute Summary collapse
-
#AtUpdated ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。.
-
#DictName ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。.
-
#ModelId ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。.
-
#ModelName ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。.
-
#ModelState ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。.
-
#ModelType ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。.
-
#ServiceType ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。.
-
#TagInfos ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(modelname = nil, dictname = nil, modelid = nil, modeltype = nil, servicetype = nil, modelstate = nil, atupdated = nil, taginfos = nil) ⇒ Model
constructor
A new instance of Model.
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
#AtUpdated ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。
1375 1376 1377 |
# File 'lib/v20190614/models.rb', line 1375 def AtUpdated @AtUpdated end |
#DictName ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。
1375 1376 1377 |
# File 'lib/v20190614/models.rb', line 1375 def DictName @DictName end |
#ModelId ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。
1375 1376 1377 |
# File 'lib/v20190614/models.rb', line 1375 def ModelId @ModelId end |
#ModelName ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。
1375 1376 1377 |
# File 'lib/v20190614/models.rb', line 1375 def ModelName @ModelName end |
#ModelState ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。
1375 1376 1377 |
# File 'lib/v20190614/models.rb', line 1375 def ModelState @ModelState end |
#ModelType ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。
1375 1376 1377 |
# File 'lib/v20190614/models.rb', line 1375 def ModelType @ModelType end |
#ServiceType ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。
1375 1376 1377 |
# File 'lib/v20190614/models.rb', line 1375 def ServiceType @ServiceType end |
#TagInfos ⇒ Object
-2:模型训练失败; -1:已下线; 0:训练中; 1:已上线; 3:上线中; 4:下线中; 注意:此字段可能返回 null,表示取不到有效值。
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 |