Class: TencentCloud::Asr::V20190614::VoicePrintBaseData

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

Overview

[说话人基础数据](cloud.tencent.com/document/product/1093/94483#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0),包括说话人id和说话人昵称

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(voiceprintid = nil, speakernick = nil) ⇒ VoicePrintBaseData

Returns a new instance of VoicePrintBaseData.



2156
2157
2158
2159
# File 'lib/v20190614/models.rb', line 2156

def initialize(voiceprintid=nil, speakernick=nil)
  @VoicePrintId = voiceprintid
  @SpeakerNick = speakernick
end

Instance Attribute Details

#SpeakerNickObject

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

Parameters:

  • VoicePrintId:

    说话人id

  • SpeakerNick:

    说话人昵称



2154
2155
2156
# File 'lib/v20190614/models.rb', line 2154

def SpeakerNick
  @SpeakerNick
end

#VoicePrintIdObject

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

Parameters:

  • VoicePrintId:

    说话人id

  • SpeakerNick:

    说话人昵称



2154
2155
2156
# File 'lib/v20190614/models.rb', line 2154

def VoicePrintId
  @VoicePrintId
end

Instance Method Details

#deserialize(params) ⇒ Object



2161
2162
2163
2164
# File 'lib/v20190614/models.rb', line 2161

def deserialize(params)
  @VoicePrintId = params['VoicePrintId']
  @SpeakerNick = params['SpeakerNick']
end