Class: TencentCloud::Cms::V20190321::DetailResult
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cms::V20190321::DetailResult
- Defined in:
- lib/v20190321/models.rb
Overview
文本返回的详细结果
Instance Attribute Summary collapse
-
#EvilLabel ⇒ Object
100:正常 20001:政治 20002:色情 20006:涉毒违法 20007:谩骂 20105:广告引流 24001:暴恐.
-
#EvilType ⇒ Object
100:正常 20001:政治 20002:色情 20006:涉毒违法 20007:谩骂 20105:广告引流 24001:暴恐.
-
#Keywords ⇒ Object
100:正常 20001:政治 20002:色情 20006:涉毒违法 20007:谩骂 20105:广告引流 24001:暴恐.
-
#Score ⇒ Object
100:正常 20001:政治 20002:色情 20006:涉毒违法 20007:谩骂 20105:广告引流 24001:暴恐.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keywords = nil, eviltype = nil, score = nil, evillabel = nil) ⇒ DetailResult
constructor
A new instance of DetailResult.
Constructor Details
#initialize(keywords = nil, eviltype = nil, score = nil, evillabel = nil) ⇒ DetailResult
Returns a new instance of DetailResult.
512 513 514 515 516 517 |
# File 'lib/v20190321/models.rb', line 512 def initialize(keywords=nil, eviltype=nil, score=nil, evillabel=nil) @Keywords = keywords @EvilType = eviltype @Score = score @EvilLabel = evillabel end |
Instance Attribute Details
#EvilLabel ⇒ Object
100:正常 20001:政治 20002:色情 20006:涉毒违法 20007:谩骂 20105:广告引流 24001:暴恐
510 511 512 |
# File 'lib/v20190321/models.rb', line 510 def EvilLabel @EvilLabel end |
#EvilType ⇒ Object
100:正常 20001:政治 20002:色情 20006:涉毒违法 20007:谩骂 20105:广告引流 24001:暴恐
510 511 512 |
# File 'lib/v20190321/models.rb', line 510 def EvilType @EvilType end |
#Keywords ⇒ Object
100:正常 20001:政治 20002:色情 20006:涉毒违法 20007:谩骂 20105:广告引流 24001:暴恐
510 511 512 |
# File 'lib/v20190321/models.rb', line 510 def Keywords @Keywords end |
#Score ⇒ Object
100:正常 20001:政治 20002:色情 20006:涉毒违法 20007:谩骂 20105:广告引流 24001:暴恐
510 511 512 |
# File 'lib/v20190321/models.rb', line 510 def Score @Score end |
Instance Method Details
#deserialize(params) ⇒ Object
519 520 521 522 523 524 |
# File 'lib/v20190321/models.rb', line 519 def deserialize(params) @Keywords = params['Keywords'] @EvilType = params['EvilType'] @Score = params['Score'] @EvilLabel = params['EvilLabel'] end |