Class: TencentCloud::Vm::V20210922::TaskLabel
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20210922::TaskLabel
- Defined in:
- lib/v20210922/models.rb
Overview
任务输出标签
Instance Attribute Summary collapse
-
#Label ⇒ Object
返回值:Porn:色情,Abuse:谩骂,Ad:广告;以及其他令人反感、不安全或不适宜的内容类型。 Pass 通过, Review 建议人审, Block 确认违规.
-
#Score ⇒ Object
返回值:Porn:色情,Abuse:谩骂,Ad:广告;以及其他令人反感、不安全或不适宜的内容类型。 Pass 通过, Review 建议人审, Block 确认违规.
-
#SubLabel ⇒ Object
返回值:Porn:色情,Abuse:谩骂,Ad:广告;以及其他令人反感、不安全或不适宜的内容类型。 Pass 通过, Review 建议人审, Block 确认违规.
-
#Suggestion ⇒ Object
返回值:Porn:色情,Abuse:谩骂,Ad:广告;以及其他令人反感、不安全或不适宜的内容类型。 Pass 通过, Review 建议人审, Block 确认违规.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(label = nil, suggestion = nil, score = nil, sublabel = nil) ⇒ TaskLabel
constructor
A new instance of TaskLabel.
Constructor Details
#initialize(label = nil, suggestion = nil, score = nil, sublabel = nil) ⇒ TaskLabel
Returns a new instance of TaskLabel.
1412 1413 1414 1415 1416 1417 |
# File 'lib/v20210922/models.rb', line 1412 def initialize(label=nil, suggestion=nil, score=nil, sublabel=nil) @Label = label @Suggestion = suggestion @Score = score @SubLabel = sublabel end |
Instance Attribute Details
#Label ⇒ Object
返回值:Porn:色情,Abuse:谩骂,Ad:广告;以及其他令人反感、不安全或不适宜的内容类型。Pass 通过,Review 建议人审,Block 确认违规
1410 1411 1412 |
# File 'lib/v20210922/models.rb', line 1410 def Label @Label end |
#Score ⇒ Object
返回值:Porn:色情,Abuse:谩骂,Ad:广告;以及其他令人反感、不安全或不适宜的内容类型。Pass 通过,Review 建议人审,Block 确认违规
1410 1411 1412 |
# File 'lib/v20210922/models.rb', line 1410 def Score @Score end |
#SubLabel ⇒ Object
返回值:Porn:色情,Abuse:谩骂,Ad:广告;以及其他令人反感、不安全或不适宜的内容类型。Pass 通过,Review 建议人审,Block 确认违规
1410 1411 1412 |
# File 'lib/v20210922/models.rb', line 1410 def SubLabel @SubLabel end |
#Suggestion ⇒ Object
返回值:Porn:色情,Abuse:谩骂,Ad:广告;以及其他令人反感、不安全或不适宜的内容类型。Pass 通过,Review 建议人审,Block 确认违规
1410 1411 1412 |
# File 'lib/v20210922/models.rb', line 1410 def Suggestion @Suggestion end |
Instance Method Details
#deserialize(params) ⇒ Object
1419 1420 1421 1422 1423 1424 |
# File 'lib/v20210922/models.rb', line 1419 def deserialize(params) @Label = params['Label'] @Suggestion = params['Suggestion'] @Score = params['Score'] @SubLabel = params['SubLabel'] end |