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

com.aliyun.iot20180120.models.PageQuerySharedSpeechOpenResponseBody 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 PageQuerySharedSpeechOpenResponseBody extends TeaModel {
    /**
     * 

The error code returned if the request fails. For more information, see Error codes.

* * example: *

String iot.system.SystemException

*/ @NameInMap("Code") public String code; /** *

The result returned if the request was successful.

*/ @NameInMap("Data") public PageQuerySharedSpeechOpenResponseBodyData data; /** *

The error message returned if the request fails.

*/ @NameInMap("ErrorMessage") public String errorMessage; /** *

The request ID.

* * example: *

E4C0FF92-2A86-41DB-92D3-73B60310D25E

*/ @NameInMap("RequestId") public String requestId; /** *

Indicates whether the request was successful.

*
    *
  • true
  • *
  • false
  • *
* * example: *

true

*/ @NameInMap("Success") public Boolean success; public static PageQuerySharedSpeechOpenResponseBody build(java.util.Map map) throws Exception { PageQuerySharedSpeechOpenResponseBody self = new PageQuerySharedSpeechOpenResponseBody(); return TeaModel.build(map, self); } public PageQuerySharedSpeechOpenResponseBody setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public PageQuerySharedSpeechOpenResponseBody setData(PageQuerySharedSpeechOpenResponseBodyData data) { this.data = data; return this; } public PageQuerySharedSpeechOpenResponseBodyData getData() { return this.data; } public PageQuerySharedSpeechOpenResponseBody setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } public String getErrorMessage() { return this.errorMessage; } public PageQuerySharedSpeechOpenResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public PageQuerySharedSpeechOpenResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public static class PageQuerySharedSpeechOpenResponseBodyDataResultDataData extends TeaModel { /** *

The audio format. Valid values: wav, mp3, and amr.

* * example: *

wav

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

The unique identifier of the speech in the project.

* * example: *

identifying

*/ @NameInMap("BizCode") public String bizCode; /** *

The unique identifier of the template.

* * example: *

ws****

*/ @NameInMap("Code") public String code; /** *

The broadcasting speed. Valid values: -500 to 500.

* * example: *

50

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

The status of the speeches. Valid values:

*
    *
  • 1: The speeches are pending approval.
  • *
  • 2: The speeches are approved.
  • *
  • 3: The speeches are rejected.
  • *
* * example: *

1

*/ @NameInMap("Status") public Integer status; /** *

The content of the speech.

* * example: *

test

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

The sound effect that is used to broadcast speeches.

* * example: *

Siyue

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

The volume. Valid values: 0 to 100.

* * example: *

50

*/ @NameInMap("Volume") public Integer volume; public static PageQuerySharedSpeechOpenResponseBodyDataResultDataData build(java.util.Map map) throws Exception { PageQuerySharedSpeechOpenResponseBodyDataResultDataData self = new PageQuerySharedSpeechOpenResponseBodyDataResultDataData(); return TeaModel.build(map, self); } public PageQuerySharedSpeechOpenResponseBodyDataResultDataData setAudioFormat(String audioFormat) { this.audioFormat = audioFormat; return this; } public String getAudioFormat() { return this.audioFormat; } public PageQuerySharedSpeechOpenResponseBodyDataResultDataData setBizCode(String bizCode) { this.bizCode = bizCode; return this; } public String getBizCode() { return this.bizCode; } public PageQuerySharedSpeechOpenResponseBodyDataResultDataData setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public PageQuerySharedSpeechOpenResponseBodyDataResultDataData setSpeechRate(Integer speechRate) { this.speechRate = speechRate; return this; } public Integer getSpeechRate() { return this.speechRate; } public PageQuerySharedSpeechOpenResponseBodyDataResultDataData setStatus(Integer status) { this.status = status; return this; } public Integer getStatus() { return this.status; } public PageQuerySharedSpeechOpenResponseBodyDataResultDataData setText(String text) { this.text = text; return this; } public String getText() { return this.text; } public PageQuerySharedSpeechOpenResponseBodyDataResultDataData setVoice(String voice) { this.voice = voice; return this; } public String getVoice() { return this.voice; } public PageQuerySharedSpeechOpenResponseBodyDataResultDataData setVolume(Integer volume) { this.volume = volume; return this; } public Integer getVolume() { return this.volume; } } public static class PageQuerySharedSpeechOpenResponseBodyDataResultData extends TeaModel { @NameInMap("Data") public java.util.List data; public static PageQuerySharedSpeechOpenResponseBodyDataResultData build(java.util.Map map) throws Exception { PageQuerySharedSpeechOpenResponseBodyDataResultData self = new PageQuerySharedSpeechOpenResponseBodyDataResultData(); return TeaModel.build(map, self); } public PageQuerySharedSpeechOpenResponseBodyDataResultData setData(java.util.List data) { this.data = data; return this; } public java.util.List getData() { return this.data; } } public static class PageQuerySharedSpeechOpenResponseBodyData extends TeaModel { /** *

The page number.

* * example: *

1

*/ @NameInMap("PageId") public Integer pageId; /** *

The number of entries per page.

* * example: *

10

*/ @NameInMap("PageSize") public Integer pageSize; /** *

The information about shared speeches.

*/ @NameInMap("ResultData") public PageQuerySharedSpeechOpenResponseBodyDataResultData resultData; /** *

The total number of entries returned.

* * example: *

100

*/ @NameInMap("Total") public Integer total; public static PageQuerySharedSpeechOpenResponseBodyData build(java.util.Map map) throws Exception { PageQuerySharedSpeechOpenResponseBodyData self = new PageQuerySharedSpeechOpenResponseBodyData(); return TeaModel.build(map, self); } public PageQuerySharedSpeechOpenResponseBodyData setPageId(Integer pageId) { this.pageId = pageId; return this; } public Integer getPageId() { return this.pageId; } public PageQuerySharedSpeechOpenResponseBodyData setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public PageQuerySharedSpeechOpenResponseBodyData setResultData(PageQuerySharedSpeechOpenResponseBodyDataResultData resultData) { this.resultData = resultData; return this; } public PageQuerySharedSpeechOpenResponseBodyDataResultData getResultData() { return this.resultData; } public PageQuerySharedSpeechOpenResponseBodyData setTotal(Integer total) { this.total = total; return this; } public Integer getTotal() { return this.total; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy