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.



1198
1199
1200
1201
# File 'lib/v20190614/models.rb', line 1198

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

Instance Attribute Details

#WeightObject

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

Parameters:

  • Word:

    热词

  • Weight:

    权重



1196
1197
1198
# File 'lib/v20190614/models.rb', line 1196

def Weight
  @Weight
end

#WordObject

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

Parameters:

  • Word:

    热词

  • Weight:

    权重



1196
1197
1198
# File 'lib/v20190614/models.rb', line 1196

def Word
  @Word
end

Instance Method Details

#deserialize(params) ⇒ Object



1203
1204
1205
1206
# File 'lib/v20190614/models.rb', line 1203

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