Class: TencentCloud::Vm::V20200709::TaskLabel

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

Overview

任务输出标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TaskLabel.



1235
1236
1237
1238
1239
# File 'lib/v20200709/models.rb', line 1235

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

Instance Attribute Details

#LabelObject

Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告注意:此字段可能返回 null,表示取不到有效值。Pass 通过,Review 建议人审,Block 确认违规注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Label:

    命中的标签

  • Suggestion:

    审核建议,可选值:

  • Score:

    得分,分数是 0 ~ 100



1233
1234
1235
# File 'lib/v20200709/models.rb', line 1233

def Label
  @Label
end

#ScoreObject

Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告注意:此字段可能返回 null,表示取不到有效值。Pass 通过,Review 建议人审,Block 确认违规注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Label:

    命中的标签

  • Suggestion:

    审核建议,可选值:

  • Score:

    得分,分数是 0 ~ 100



1233
1234
1235
# File 'lib/v20200709/models.rb', line 1233

def Score
  @Score
end

#SuggestionObject

Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告注意:此字段可能返回 null,表示取不到有效值。Pass 通过,Review 建议人审,Block 确认违规注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Label:

    命中的标签

  • Suggestion:

    审核建议,可选值:

  • Score:

    得分,分数是 0 ~ 100



1233
1234
1235
# File 'lib/v20200709/models.rb', line 1233

def Suggestion
  @Suggestion
end

Instance Method Details

#deserialize(params) ⇒ Object



1241
1242
1243
1244
1245
# File 'lib/v20200709/models.rb', line 1241

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