Class: TencentCloud::Ie::V20200304::TagItem

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

Overview

标签项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, confidence = nil, categorys = nil, ext = nil) ⇒ TagItem

Returns a new instance of TagItem.



3244
3245
3246
3247
3248
3249
# File 'lib/v20200304/models.rb', line 3244

def initialize(id=nil, confidence=nil, categorys=nil, ext=nil)
  @Id = id
  @Confidence = confidence
  @Categorys = categorys
  @Ext = ext
end

Instance Attribute Details

#CategorysObject

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

Parameters:

  • Id:

    标签内容

  • Confidence:

    结果的置信度(百分制)

  • Categorys:

    分级数组

  • Ext:

    标签备注



3242
3243
3244
# File 'lib/v20200304/models.rb', line 3242

def Categorys
  @Categorys
end

#ConfidenceObject

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

Parameters:

  • Id:

    标签内容

  • Confidence:

    结果的置信度(百分制)

  • Categorys:

    分级数组

  • Ext:

    标签备注



3242
3243
3244
# File 'lib/v20200304/models.rb', line 3242

def Confidence
  @Confidence
end

#ExtObject

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

Parameters:

  • Id:

    标签内容

  • Confidence:

    结果的置信度(百分制)

  • Categorys:

    分级数组

  • Ext:

    标签备注



3242
3243
3244
# File 'lib/v20200304/models.rb', line 3242

def Ext
  @Ext
end

#IdObject

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

Parameters:

  • Id:

    标签内容

  • Confidence:

    结果的置信度(百分制)

  • Categorys:

    分级数组

  • Ext:

    标签备注



3242
3243
3244
# File 'lib/v20200304/models.rb', line 3242

def Id
  @Id
end

Instance Method Details

#deserialize(params) ⇒ Object



3251
3252
3253
3254
3255
3256
# File 'lib/v20200304/models.rb', line 3251

def deserialize(params)
  @Id = params['Id']
  @Confidence = params['Confidence']
  @Categorys = params['Categorys']
  @Ext = params['Ext']
end