Class: TencentCloud::Ticm::V20181127::VodTerrorismReviewResult

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181127/models.rb

Overview

暴恐信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(confidence = nil, suggestion = nil, label = nil, status = nil, code = nil, msg = nil, segmentset = nil) ⇒ VodTerrorismReviewResult

Returns a new instance of VodTerrorismReviewResult.



1232
1233
1234
1235
1236
1237
1238
1239
1240
# File 'lib/v20181127/models.rb', line 1232

def initialize(confidence=nil, suggestion=nil, label=nil, status=nil, code=nil, msg=nil, segmentset=nil)
  @Confidence = confidence
  @Suggestion = suggestion
  @Label = label
  @Status = status
  @Code = code
  @Msg = msg
  @SegmentSet = segmentset
end

Instance Attribute Details

#CodeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。

  • Code:

    错误码,0:成功,其他值:失败。

  • Msg:

    错误信息。

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。



1230
1231
1232
# File 'lib/v20181127/models.rb', line 1230

def Code
  @Code
end

#ConfidenceObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。

  • Code:

    错误码,0:成功,其他值:失败。

  • Msg:

    错误信息。

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。



1230
1231
1232
# File 'lib/v20181127/models.rb', line 1230

def Confidence
  @Confidence
end

#LabelObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。

  • Code:

    错误码,0:成功,其他值:失败。

  • Msg:

    错误信息。

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。



1230
1231
1232
# File 'lib/v20181127/models.rb', line 1230

def Label
  @Label
end

#MsgObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。

  • Code:

    错误码,0:成功,其他值:失败。

  • Msg:

    错误信息。

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。



1230
1231
1232
# File 'lib/v20181127/models.rb', line 1230

def Msg
  @Msg
end

#SegmentSetObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。

  • Code:

    错误码,0:成功,其他值:失败。

  • Msg:

    错误信息。

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。



1230
1231
1232
# File 'lib/v20181127/models.rb', line 1230

def SegmentSet
  @SegmentSet
end

#StatusObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。

  • Code:

    错误码,0:成功,其他值:失败。

  • Msg:

    错误信息。

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。



1230
1231
1232
# File 'lib/v20181127/models.rb', line 1230

def Status
  @Status
end

#SuggestionObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。

  • Code:

    错误码,0:成功,其他值:失败。

  • Msg:

    错误信息。

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。



1230
1231
1232
# File 'lib/v20181127/models.rb', line 1230

def Suggestion
  @Suggestion
end

Instance Method Details

#deserialize(params) ⇒ Object



1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
# File 'lib/v20181127/models.rb', line 1242

def deserialize(params)
  @Confidence = params['Confidence']
  @Suggestion = params['Suggestion']
  @Label = params['Label']
  @Status = params['Status']
  @Code = params['Code']
  @Msg = params['Msg']
  unless params['SegmentSet'].nil?
    @SegmentSet = []
    params['SegmentSet'].each do |i|
      vodpornreviewsegmentitem_tmp = VodPornReviewSegmentItem.new
      vodpornreviewsegmentitem_tmp.deserialize(i)
      @SegmentSet << vodpornreviewsegmentitem_tmp
    end
  end
end