Class: TencentCloud::Ticm::V20181127::PornResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ticm::V20181127::PornResult
- Defined in:
- lib/v20181127/models.rb
Overview
色情识别结果。
Instance Attribute Summary collapse
-
#AdvancedInfo ⇒ Object
0表示成功, -1表示系统错误, -2表示引擎错误, -1400表示图片解码失败。 PASS:正常 REVIEW:疑似 BLOCK:违规.
-
#Code ⇒ Object
0表示成功, -1表示系统错误, -2表示引擎错误, -1400表示图片解码失败。 PASS:正常 REVIEW:疑似 BLOCK:违规.
-
#Confidence ⇒ Object
0表示成功, -1表示系统错误, -2表示引擎错误, -1400表示图片解码失败。 PASS:正常 REVIEW:疑似 BLOCK:违规.
-
#Msg ⇒ Object
0表示成功, -1表示系统错误, -2表示引擎错误, -1400表示图片解码失败。 PASS:正常 REVIEW:疑似 BLOCK:违规.
-
#Suggestion ⇒ Object
0表示成功, -1表示系统错误, -2表示引擎错误, -1400表示图片解码失败。 PASS:正常 REVIEW:疑似 BLOCK:违规.
-
#Type ⇒ Object
0表示成功, -1表示系统错误, -2表示引擎错误, -1400表示图片解码失败。 PASS:正常 REVIEW:疑似 BLOCK:违规.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(code = nil, msg = nil, suggestion = nil, confidence = nil, advancedinfo = nil, type = nil) ⇒ PornResult
constructor
A new instance of PornResult.
Constructor Details
#initialize(code = nil, msg = nil, suggestion = nil, confidence = nil, advancedinfo = nil, type = nil) ⇒ PornResult
Returns a new instance of PornResult.
424 425 426 427 428 429 430 431 |
# File 'lib/v20181127/models.rb', line 424 def initialize(code=nil, msg=nil, suggestion=nil, confidence=nil, advancedinfo=nil, type=nil) @Code = code @Msg = msg @Suggestion = suggestion @Confidence = confidence @AdvancedInfo = advancedinfo @Type = type end |
Instance Attribute Details
#AdvancedInfo ⇒ Object
0表示成功,-1表示系统错误,-2表示引擎错误,-1400表示图片解码失败。PASS:正常REVIEW:疑似BLOCK:违规
422 423 424 |
# File 'lib/v20181127/models.rb', line 422 def AdvancedInfo @AdvancedInfo end |
#Code ⇒ Object
0表示成功,-1表示系统错误,-2表示引擎错误,-1400表示图片解码失败。PASS:正常REVIEW:疑似BLOCK:违规
422 423 424 |
# File 'lib/v20181127/models.rb', line 422 def Code @Code end |
#Confidence ⇒ Object
0表示成功,-1表示系统错误,-2表示引擎错误,-1400表示图片解码失败。PASS:正常REVIEW:疑似BLOCK:违规
422 423 424 |
# File 'lib/v20181127/models.rb', line 422 def Confidence @Confidence end |
#Msg ⇒ Object
0表示成功,-1表示系统错误,-2表示引擎错误,-1400表示图片解码失败。PASS:正常REVIEW:疑似BLOCK:违规
422 423 424 |
# File 'lib/v20181127/models.rb', line 422 def Msg @Msg end |
#Suggestion ⇒ Object
0表示成功,-1表示系统错误,-2表示引擎错误,-1400表示图片解码失败。PASS:正常REVIEW:疑似BLOCK:违规
422 423 424 |
# File 'lib/v20181127/models.rb', line 422 def Suggestion @Suggestion end |
#Type ⇒ Object
0表示成功,-1表示系统错误,-2表示引擎错误,-1400表示图片解码失败。PASS:正常REVIEW:疑似BLOCK:违规
422 423 424 |
# File 'lib/v20181127/models.rb', line 422 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
433 434 435 436 437 438 439 440 |
# File 'lib/v20181127/models.rb', line 433 def deserialize(params) @Code = params['Code'] @Msg = params['Msg'] @Suggestion = params['Suggestion'] @Confidence = params['Confidence'] @AdvancedInfo = params['AdvancedInfo'] @Type = params['Type'] end |