Class: TencentCloud::Cms::V20190321::ImageIllegalDetect
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cms::V20190321::ImageIllegalDetect
- Defined in:
- lib/v20190321/models.rb
Overview
图片违法详情
Instance Attribute Summary collapse
-
#EvilType ⇒ Object
100:正常 20006:涉毒违法.
-
#HitFlag ⇒ Object
100:正常 20006:涉毒违法.
-
#Keywords ⇒ Object
100:正常 20006:涉毒违法.
-
#Labels ⇒ Object
100:正常 20006:涉毒违法.
-
#Score ⇒ Object
100:正常 20006:涉毒违法.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eviltype = nil, hitflag = nil, keywords = nil, labels = nil, score = nil) ⇒ ImageIllegalDetect
constructor
A new instance of ImageIllegalDetect.
Constructor Details
#initialize(eviltype = nil, hitflag = nil, keywords = nil, labels = nil, score = nil) ⇒ ImageIllegalDetect
Returns a new instance of ImageIllegalDetect.
745 746 747 748 749 750 751 |
# File 'lib/v20190321/models.rb', line 745 def initialize(eviltype=nil, hitflag=nil, keywords=nil, labels=nil, score=nil) @EvilType = eviltype @HitFlag = hitflag @Keywords = keywords @Labels = labels @Score = score end |
Instance Attribute Details
#EvilType ⇒ Object
100:正常 20006:涉毒违法
743 744 745 |
# File 'lib/v20190321/models.rb', line 743 def EvilType @EvilType end |
#HitFlag ⇒ Object
100:正常 20006:涉毒违法
743 744 745 |
# File 'lib/v20190321/models.rb', line 743 def HitFlag @HitFlag end |
#Keywords ⇒ Object
100:正常 20006:涉毒违法
743 744 745 |
# File 'lib/v20190321/models.rb', line 743 def Keywords @Keywords end |
#Labels ⇒ Object
100:正常 20006:涉毒违法
743 744 745 |
# File 'lib/v20190321/models.rb', line 743 def Labels @Labels end |
#Score ⇒ Object
100:正常 20006:涉毒违法
743 744 745 |
# File 'lib/v20190321/models.rb', line 743 def Score @Score end |
Instance Method Details
#deserialize(params) ⇒ Object
753 754 755 756 757 758 759 |
# File 'lib/v20190321/models.rb', line 753 def deserialize(params) @EvilType = params['EvilType'] @HitFlag = params['HitFlag'] @Keywords = params['Keywords'] @Labels = params['Labels'] @Score = params['Score'] end |