com.aliyun.sdk.service.iot20180120.models.GetSpeechVoiceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-iot20180120 Show documentation
Show all versions of alibabacloud-iot20180120 Show documentation
Alibaba Cloud Iot (20180120) Async SDK for Java
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 GetSpeechVoiceResponseBody} extends {@link TeaModel}
*
* GetSpeechVoiceResponseBody
*/
public class GetSpeechVoiceResponseBody 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 GetSpeechVoiceResponseBody(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 GetSpeechVoiceResponseBody 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 GetSpeechVoiceResponseBody build() {
return new GetSpeechVoiceResponseBody(this);
}
}
public static class Items extends TeaModel {
@NameInMap("Label")
private String label;
@NameInMap("Value")
private String value;
private Items(Builder builder) {
this.label = builder.label;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return label
*/
public String getLabel() {
return this.label;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String label;
private String value;
/**
* Label.
*/
public Builder label(String label) {
this.label = label;
return this;
}
/**
* Value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Items build() {
return new Items(this);
}
}
}
public static class VoiceList extends TeaModel {
@NameInMap("Items")
private java.util.List < Items> items;
private VoiceList(Builder builder) {
this.items = builder.items;
}
public static Builder builder() {
return new Builder();
}
public static VoiceList 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 VoiceList build() {
return new VoiceList(this);
}
}
}
public static class DataItems extends TeaModel {
@NameInMap("Label")
private String label;
@NameInMap("Value")
private String value;
@NameInMap("VoiceList")
private VoiceList voiceList;
private DataItems(Builder builder) {
this.label = builder.label;
this.value = builder.value;
this.voiceList = builder.voiceList;
}
public static Builder builder() {
return new Builder();
}
public static DataItems create() {
return builder().build();
}
/**
* @return label
*/
public String getLabel() {
return this.label;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
/**
* @return voiceList
*/
public VoiceList getVoiceList() {
return this.voiceList;
}
public static final class Builder {
private String label;
private String value;
private VoiceList voiceList;
/**
* Label.
*/
public Builder label(String label) {
this.label = label;
return this;
}
/**
* Value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
/**
* VoiceList.
*/
public Builder voiceList(VoiceList voiceList) {
this.voiceList = voiceList;
return this;
}
public DataItems build() {
return new DataItems(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("Items")
private java.util.List < DataItems> items;
private Data(Builder builder) {
this.items = builder.items;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return items
*/
public java.util.List < DataItems> getItems() {
return this.items;
}
public static final class Builder {
private java.util.List < DataItems> items;
/**
* Items.
*/
public Builder items(java.util.List < DataItems> items) {
this.items = items;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy