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

com.aliyun.sdk.service.iot20180120.models.QueryDeviceSpeechResponseBody 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 QueryDeviceSpeechResponseBody} extends {@link TeaModel}
 *
 * 

QueryDeviceSpeechResponseBody

*/ public class QueryDeviceSpeechResponseBody 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 QueryDeviceSpeechResponseBody(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 QueryDeviceSpeechResponseBody 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 QueryDeviceSpeechResponseBody build() { return new QueryDeviceSpeechResponseBody(this); } } public static class Items extends TeaModel { @NameInMap("AudioFormat") private String audioFormat; @NameInMap("BizCode") private String bizCode; @NameInMap("Size") private Float size; private Items(Builder builder) { this.audioFormat = builder.audioFormat; this.bizCode = builder.bizCode; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return audioFormat */ public String getAudioFormat() { return this.audioFormat; } /** * @return bizCode */ public String getBizCode() { return this.bizCode; } /** * @return size */ public Float getSize() { return this.size; } public static final class Builder { private String audioFormat; private String bizCode; private Float size; /** * AudioFormat. */ public Builder audioFormat(String audioFormat) { this.audioFormat = audioFormat; return this; } /** * BizCode. */ public Builder bizCode(String bizCode) { this.bizCode = bizCode; return this; } /** * Size. */ public Builder size(Float size) { this.size = size; return this; } public Items build() { return new Items(this); } } } public static class List extends TeaModel { @NameInMap("Items") private java.util.List < Items> 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 < 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 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