Class: TencentCloud::Cms::V20190321::ImageHotDetect
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cms::V20190321::ImageHotDetect
- Defined in:
- lib/v20190321/models.rb
Overview
图片性感详情
Instance Attribute Summary collapse
-
#EvilType ⇒ Object
100:正常 20103:性感.
-
#HitFlag ⇒ Object
100:正常 20103:性感.
-
#Keywords ⇒ Object
100:正常 20103:性感.
-
#Labels ⇒ Object
100:正常 20103:性感.
-
#Score ⇒ Object
100:正常 20103:性感.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keywords = nil, eviltype = nil, labels = nil, score = nil, hitflag = nil) ⇒ ImageHotDetect
constructor
A new instance of ImageHotDetect.
Constructor Details
#initialize(keywords = nil, eviltype = nil, labels = nil, score = nil, hitflag = nil) ⇒ ImageHotDetect
Returns a new instance of ImageHotDetect.
711 712 713 714 715 716 717 |
# File 'lib/v20190321/models.rb', line 711 def initialize(keywords=nil, eviltype=nil, labels=nil, score=nil, hitflag=nil) @Keywords = keywords @EvilType = eviltype @Labels = labels @Score = score @HitFlag = hitflag end |
Instance Attribute Details
#EvilType ⇒ Object
100:正常 20103:性感
709 710 711 |
# File 'lib/v20190321/models.rb', line 709 def EvilType @EvilType end |
#HitFlag ⇒ Object
100:正常 20103:性感
709 710 711 |
# File 'lib/v20190321/models.rb', line 709 def HitFlag @HitFlag end |
#Keywords ⇒ Object
100:正常 20103:性感
709 710 711 |
# File 'lib/v20190321/models.rb', line 709 def Keywords @Keywords end |
#Labels ⇒ Object
100:正常 20103:性感
709 710 711 |
# File 'lib/v20190321/models.rb', line 709 def Labels @Labels end |
#Score ⇒ Object
100:正常 20103:性感
709 710 711 |
# File 'lib/v20190321/models.rb', line 709 def Score @Score end |
Instance Method Details
#deserialize(params) ⇒ Object
719 720 721 722 723 724 725 |
# File 'lib/v20190321/models.rb', line 719 def deserialize(params) @Keywords = params['Keywords'] @EvilType = params['EvilType'] @Labels = params['Labels'] @Score = params['Score'] @HitFlag = params['HitFlag'] end |