Class: TencentCloud::Asr::V20190614::HotWord

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(word = nil, weight = nil) ⇒ HotWord

Returns a new instance of HotWord.



1228
1229
1230
1231
# File 'lib/v20190614/models.rb', line 1228

def initialize(word=nil, weight=nil)
  @Word = word
  @Weight = weight
end

Instance Attribute Details

#WeightObject

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

Parameters:

  • Word:

    热词

  • Weight:

    权重



1226
1227
1228
# File 'lib/v20190614/models.rb', line 1226

def Weight
  @Weight
end

#WordObject

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

Parameters:

  • Word:

    热词

  • Weight:

    权重



1226
1227
1228
# File 'lib/v20190614/models.rb', line 1226

def Word
  @Word
end

Instance Method Details

#deserialize(params) ⇒ Object



1233
1234
1235
1236
# File 'lib/v20190614/models.rb', line 1233

def deserialize(params)
  @Word = params['Word']
  @Weight = params['Weight']
end