Class: TencentCloud::Soe::V20180724::Tone

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

Overview

中文声调检测结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(valid = nil, reftone = nil, hypothesistone = nil) ⇒ Tone

Returns a new instance of Tone.



425
426
427
428
429
# File 'lib/v20180724/models.rb', line 425

def initialize(valid=nil, reftone=nil, hypothesistone=nil)
  @Valid = valid
  @RefTone = reftone
  @HypothesisTone = hypothesistone
end

Instance Attribute Details

#HypothesisToneObject

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

Parameters:



423
424
425
# File 'lib/v20180724/models.rb', line 423

def HypothesisTone
  @HypothesisTone
end

#RefToneObject

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

Parameters:



423
424
425
# File 'lib/v20180724/models.rb', line 423

def RefTone
  @RefTone
end

#ValidObject

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

Parameters:



423
424
425
# File 'lib/v20180724/models.rb', line 423

def Valid
  @Valid
end

Instance Method Details

#deserialize(params) ⇒ Object



431
432
433
434
435
# File 'lib/v20180724/models.rb', line 431

def deserialize(params)
  @Valid = params['Valid']
  @RefTone = params['RefTone']
  @HypothesisTone = params['HypothesisTone']
end