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

com.aliyun.sdk.service.iot20180120.models.QuerySpeechListResponseBody Maven / Gradle / Ivy

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

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link QuerySpeechListResponseBody} extends {@link TeaModel}
 *
 * 

QuerySpeechListResponseBody

*/ public class QuerySpeechListResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Data") private Data data; @NameInMap("ErrorMessage") private String errorMessage; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private QuerySpeechListResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorMessage = builder.errorMessage; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static QuerySpeechListResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private Data data; private String errorMessage; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * ErrorMessage. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public QuerySpeechListResponseBody build() { return new QuerySpeechListResponseBody(this); } } public static class Items extends TeaModel { @NameInMap("BizCode") private String bizCode; @NameInMap("SpeechCode") private String speechCode; @NameInMap("Text") private String text; @NameInMap("Voice") private String voice; private Items(Builder builder) { this.bizCode = builder.bizCode; this.speechCode = builder.speechCode; this.text = builder.text; this.voice = builder.voice; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return bizCode */ public String getBizCode() { return this.bizCode; } /** * @return speechCode */ public String getSpeechCode() { return this.speechCode; } /** * @return text */ public String getText() { return this.text; } /** * @return voice */ public String getVoice() { return this.voice; } public static final class Builder { private String bizCode; private String speechCode; private String text; private String voice; /** * BizCode. */ public Builder bizCode(String bizCode) { this.bizCode = bizCode; return this; } /** * SpeechCode. */ public Builder speechCode(String speechCode) { this.speechCode = speechCode; return this; } /** * Text. */ public Builder text(String text) { this.text = text; return this; } /** * Voice. */ public Builder voice(String voice) { this.voice = voice; return this; } public Items build() { return new Items(this); } } } public static class SpeechList extends TeaModel { @NameInMap("Items") private java.util.List < Items> items; private SpeechList(Builder builder) { this.items = builder.items; } public static Builder builder() { return new Builder(); } public static SpeechList create() { return builder().build(); } /** * @return items */ public java.util.List < Items> getItems() { return this.items; } public static final class Builder { private java.util.List < Items> items; /** * Items. */ public Builder items(java.util.List < Items> items) { this.items = items; return this; } public SpeechList build() { return new SpeechList(this); } } } public static class ListItems extends TeaModel { @NameInMap("AudioFormat") private String audioFormat; @NameInMap("BizCode") private String bizCode; @NameInMap("SpeechCode") private String speechCode; @NameInMap("SpeechList") private SpeechList speechList; @NameInMap("SpeechType") private String speechType; @NameInMap("Text") private String text; @NameInMap("Voice") private String voice; private ListItems(Builder builder) { this.audioFormat = builder.audioFormat; this.bizCode = builder.bizCode; this.speechCode = builder.speechCode; this.speechList = builder.speechList; this.speechType = builder.speechType; this.text = builder.text; this.voice = builder.voice; } public static Builder builder() { return new Builder(); } public static ListItems create() { return builder().build(); } /** * @return audioFormat */ public String getAudioFormat() { return this.audioFormat; } /** * @return bizCode */ public String getBizCode() { return this.bizCode; } /** * @return speechCode */ public String getSpeechCode() { return this.speechCode; } /** * @return speechList */ public SpeechList getSpeechList() { return this.speechList; } /** * @return speechType */ public String getSpeechType() { return this.speechType; } /** * @return text */ public String getText() { return this.text; } /** * @return voice */ public String getVoice() { return this.voice; } public static final class Builder { private String audioFormat; private String bizCode; private String speechCode; private SpeechList speechList; private String speechType; private String text; private String voice; /** * AudioFormat. */ public Builder audioFormat(String audioFormat) { this.audioFormat = audioFormat; return this; } /** * BizCode. */ public Builder bizCode(String bizCode) { this.bizCode = bizCode; return this; } /** * SpeechCode. */ public Builder speechCode(String speechCode) { this.speechCode = speechCode; return this; } /** * SpeechList. */ public Builder speechList(SpeechList speechList) { this.speechList = speechList; return this; } /** * SpeechType. */ public Builder speechType(String speechType) { this.speechType = speechType; return this; } /** * Text. */ public Builder text(String text) { this.text = text; return this; } /** * Voice. */ public Builder voice(String voice) { this.voice = voice; return this; } public ListItems build() { return new ListItems(this); } } } public static class List extends TeaModel { @NameInMap("Items") private java.util.List < ListItems> items; private List(Builder builder) { this.items = builder.items; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return items */ public java.util.List < ListItems> getItems() { return this.items; } public static final class Builder { private java.util.List < ListItems> items; /** * Items. */ public Builder items(java.util.List < ListItems> items) { this.items = items; return this; } public List build() { return new List(this); } } } public static class Data extends TeaModel { @NameInMap("List") private List list; @NameInMap("PageId") private Integer pageId; @NameInMap("PageSize") private Integer pageSize; @NameInMap("Total") private Integer total; private Data(Builder builder) { this.list = builder.list; this.pageId = builder.pageId; this.pageSize = builder.pageSize; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return list */ public List getList() { return this.list; } /** * @return pageId */ public Integer getPageId() { return this.pageId; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private List list; private Integer pageId; private Integer pageSize; private Integer total; /** * List. */ public Builder list(List list) { this.list = list; return this; } /** * PageId. */ public Builder pageId(Integer pageId) { this.pageId = pageId; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * Total. */ public Builder total(Integer total) { this.total = total; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy