Class: TencentCloud::Asr::V20190614::VoicePrintDeleteRequest

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

Overview

VoicePrintDelete请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(voiceprintid = nil, groupid = nil, delmod = nil) ⇒ VoicePrintDeleteRequest

Returns a new instance of VoicePrintDeleteRequest.



2328
2329
2330
2331
2332
# File 'lib/v20190614/models.rb', line 2328

def initialize(voiceprintid=nil, groupid=nil, delmod=nil)
  @VoicePrintId = voiceprintid
  @GroupId = groupid
  @DelMod = delmod
end

Instance Attribute Details

#DelModObject

0.默认值,删除该条声纹 1.从分组中删除该条声纹,声纹本身不删除 2.从声纹库中删除分组,仅删除分组信息,不会真正删除分组中的声纹

Parameters:

  • VoicePrintId:

    说话人id,说话人唯一标识

  • GroupId:

    说话人分组ID,仅支持大小写字母和下划线的组合,不超过128个字符

  • DelMod:

    删除模式:



2326
2327
2328
# File 'lib/v20190614/models.rb', line 2326

def DelMod
  @DelMod
end

#GroupIdObject

0.默认值,删除该条声纹 1.从分组中删除该条声纹,声纹本身不删除 2.从声纹库中删除分组,仅删除分组信息,不会真正删除分组中的声纹

Parameters:

  • VoicePrintId:

    说话人id,说话人唯一标识

  • GroupId:

    说话人分组ID,仅支持大小写字母和下划线的组合,不超过128个字符

  • DelMod:

    删除模式:



2326
2327
2328
# File 'lib/v20190614/models.rb', line 2326

def GroupId
  @GroupId
end

#VoicePrintIdObject

0.默认值,删除该条声纹 1.从分组中删除该条声纹,声纹本身不删除 2.从声纹库中删除分组,仅删除分组信息,不会真正删除分组中的声纹

Parameters:

  • VoicePrintId:

    说话人id,说话人唯一标识

  • GroupId:

    说话人分组ID,仅支持大小写字母和下划线的组合,不超过128个字符

  • DelMod:

    删除模式:



2326
2327
2328
# File 'lib/v20190614/models.rb', line 2326

def VoicePrintId
  @VoicePrintId
end

Instance Method Details

#deserialize(params) ⇒ Object



2334
2335
2336
2337
2338
# File 'lib/v20190614/models.rb', line 2334

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