Class: TencentCloud::Vrs::V20200824::GetVRSVoiceTypeInfoRequest

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

Overview

GetVRSVoiceTypeInfo请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(voicetype = nil, tasktype = nil, fastvoicetype = nil) ⇒ GetVRSVoiceTypeInfoRequest

Returns a new instance of GetVRSVoiceTypeInfoRequest.



521
522
523
524
525
# File 'lib/v20200824/models.rb', line 521

def initialize(voicetype=nil, tasktype=nil, fastvoicetype=nil)
  @VoiceType = voicetype
  @TaskType = tasktype
  @FastVoiceType = fastvoicetype
end

Instance Attribute Details

#FastVoiceTypeObject

Parameters:

  • VoiceType:

    音色id。

  • TaskType:

    0 - 除快速声音复刻外其他复刻类型(默认); 5 - 快速声音复刻。 默认为0。

  • FastVoiceType:

    快速复刻音色id。



519
520
521
# File 'lib/v20200824/models.rb', line 519

def FastVoiceType
  @FastVoiceType
end

#TaskTypeObject

Parameters:

  • VoiceType:

    音色id。

  • TaskType:

    0 - 除快速声音复刻外其他复刻类型(默认); 5 - 快速声音复刻。 默认为0。

  • FastVoiceType:

    快速复刻音色id。



519
520
521
# File 'lib/v20200824/models.rb', line 519

def TaskType
  @TaskType
end

#VoiceTypeObject

Parameters:

  • VoiceType:

    音色id。

  • TaskType:

    0 - 除快速声音复刻外其他复刻类型(默认); 5 - 快速声音复刻。 默认为0。

  • FastVoiceType:

    快速复刻音色id。



519
520
521
# File 'lib/v20200824/models.rb', line 519

def VoiceType
  @VoiceType
end

Instance Method Details

#deserialize(params) ⇒ Object



527
528
529
530
531
# File 'lib/v20200824/models.rb', line 527

def deserialize(params)
  @VoiceType = params['VoiceType']
  @TaskType = params['TaskType']
  @FastVoiceType = params['FastVoiceType']
end