All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.iot20180120.models.TestSpeechRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.iot20180120.models;

import com.aliyun.tea.*;

public class TestSpeechRequest extends TeaModel {
    /**
     * example:
     * 

wav

*/ @NameInMap("AudioFormat") public String audioFormat; /** * example: *

true

*/ @NameInMap("EnableSoundCode") public Boolean enableSoundCode; /** * example: *

iot_instc_pu****_c*-v64********

*/ @NameInMap("IotInstanceId") public String iotInstanceId; /** *

This parameter is required.

* * example: *

4de2c367**8c585e5992

*/ @NameInMap("ProjectCode") public String projectCode; /** * example: *

{"SoundCodeContent": "www.taobao.com", "AdditionalDuration": 3}

*/ @NameInMap("SoundCodeConfig") public java.util.Map soundCodeConfig; /** * example: *

0

*/ @NameInMap("SpeechRate") public Integer speechRate; /** * example: *

custom

*/ @NameInMap("SpeechType") public String speechType; /** * example: *

test

*/ @NameInMap("Text") public String text; /** *

This parameter is required.

* * example: *

Siyue

*/ @NameInMap("Voice") public String voice; /** * example: *

50

*/ @NameInMap("Volume") public Integer volume; public static TestSpeechRequest build(java.util.Map map) throws Exception { TestSpeechRequest self = new TestSpeechRequest(); return TeaModel.build(map, self); } public TestSpeechRequest setAudioFormat(String audioFormat) { this.audioFormat = audioFormat; return this; } public String getAudioFormat() { return this.audioFormat; } public TestSpeechRequest setEnableSoundCode(Boolean enableSoundCode) { this.enableSoundCode = enableSoundCode; return this; } public Boolean getEnableSoundCode() { return this.enableSoundCode; } public TestSpeechRequest setIotInstanceId(String iotInstanceId) { this.iotInstanceId = iotInstanceId; return this; } public String getIotInstanceId() { return this.iotInstanceId; } public TestSpeechRequest setProjectCode(String projectCode) { this.projectCode = projectCode; return this; } public String getProjectCode() { return this.projectCode; } public TestSpeechRequest setSoundCodeConfig(java.util.Map soundCodeConfig) { this.soundCodeConfig = soundCodeConfig; return this; } public java.util.Map getSoundCodeConfig() { return this.soundCodeConfig; } public TestSpeechRequest setSpeechRate(Integer speechRate) { this.speechRate = speechRate; return this; } public Integer getSpeechRate() { return this.speechRate; } public TestSpeechRequest setSpeechType(String speechType) { this.speechType = speechType; return this; } public String getSpeechType() { return this.speechType; } public TestSpeechRequest setText(String text) { this.text = text; return this; } public String getText() { return this.text; } public TestSpeechRequest setVoice(String voice) { this.voice = voice; return this; } public String getVoice() { return this.voice; } public TestSpeechRequest setVolume(Integer volume) { this.volume = volume; return this; } public Integer getVolume() { return this.volume; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy