Class: TencentCloud::Ims::V20200713::LabelDetailItem

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

Overview

分类模型命中子标签结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil, score = nil) ⇒ LabelDetailItem

Returns a new instance of LabelDetailItem.



243
244
245
246
247
# File 'lib/v20200713/models.rb', line 243

def initialize(id=nil, name=nil, score=nil)
  @Id = id
  @Name = name
  @Score = score
end

Instance Attribute Details

#IdObject

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

Parameters:

  • Id:

    序号

  • Name:

    子标签名称

  • Score:

    子标签分数



241
242
243
# File 'lib/v20200713/models.rb', line 241

def Id
  @Id
end

#NameObject

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

Parameters:

  • Id:

    序号

  • Name:

    子标签名称

  • Score:

    子标签分数



241
242
243
# File 'lib/v20200713/models.rb', line 241

def Name
  @Name
end

#ScoreObject

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

Parameters:

  • Id:

    序号

  • Name:

    子标签名称

  • Score:

    子标签分数



241
242
243
# File 'lib/v20200713/models.rb', line 241

def Score
  @Score
end

Instance Method Details

#deserialize(params) ⇒ Object



249
250
251
252
253
# File 'lib/v20200713/models.rb', line 249

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
  @Score = params['Score']
end