Class: TencentCloud::Vm::V20201229::TaskLabel

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

Overview

任务输出标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label = nil, suggestion = nil, score = nil, sublabel = nil) ⇒ TaskLabel



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

def initialize(label=nil, suggestion=nil, score=nil, sublabel=nil)
  @Label = label
  @Suggestion = suggestion
  @Score = score
  @SubLabel = sublabel
end

Instance Attribute Details

#LabelObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。



1425
1426
1427
# File 'lib/v20201229/models.rb', line 1425

def Label
  @Label
end

#ScoreObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。



1425
1426
1427
# File 'lib/v20201229/models.rb', line 1425

def Score
  @Score
end

#SubLabelObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。



1425
1426
1427
# File 'lib/v20201229/models.rb', line 1425

def SubLabel
  @SubLabel
end

#SuggestionObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。



1425
1426
1427
# File 'lib/v20201229/models.rb', line 1425

def Suggestion
  @Suggestion
end

Instance Method Details

#deserialize(params) ⇒ Object



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

def deserialize(params)
  @Label = params['Label']
  @Suggestion = params['Suggestion']
  @Score = params['Score']
  @SubLabel = params['SubLabel']
end