Class: TencentCloud::Soe::V20180724::Tone
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Soe::V20180724::Tone
- Defined in:
- lib/v20180724/models.rb
Overview
中文声调检测结果
Instance Attribute Summary collapse
-
#HypothesisTone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RefTone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Valid ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(valid = nil, reftone = nil, hypothesistone = nil) ⇒ Tone
constructor
A new instance of Tone.
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
#HypothesisTone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
423 424 425 |
# File 'lib/v20180724/models.rb', line 423 def HypothesisTone @HypothesisTone end |
#RefTone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
423 424 425 |
# File 'lib/v20180724/models.rb', line 423 def RefTone @RefTone end |
#Valid ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
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 |