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

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

QuerySoundCodeListResponseBody

*/ public class QuerySoundCodeListResponseBody 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 QuerySoundCodeListResponseBody(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 QuerySoundCodeListResponseBody 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 QuerySoundCodeListResponseBody build() { return new QuerySoundCodeListResponseBody(this); } } public static class Items extends TeaModel { @NameInMap("Duration") private Integer duration; @NameInMap("GmtCreate") private Long gmtCreate; @NameInMap("Name") private String name; @NameInMap("OpenType") private String openType; @NameInMap("SoundCode") private String soundCode; @NameInMap("SoundCodeContent") private String soundCodeContent; private Items(Builder builder) { this.duration = builder.duration; this.gmtCreate = builder.gmtCreate; this.name = builder.name; this.openType = builder.openType; this.soundCode = builder.soundCode; this.soundCodeContent = builder.soundCodeContent; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return duration */ public Integer getDuration() { return this.duration; } /** * @return gmtCreate */ public Long getGmtCreate() { return this.gmtCreate; } /** * @return name */ public String getName() { return this.name; } /** * @return openType */ public String getOpenType() { return this.openType; } /** * @return soundCode */ public String getSoundCode() { return this.soundCode; } /** * @return soundCodeContent */ public String getSoundCodeContent() { return this.soundCodeContent; } public static final class Builder { private Integer duration; private Long gmtCreate; private String name; private String openType; private String soundCode; private String soundCodeContent; /** * Duration. */ public Builder duration(Integer duration) { this.duration = duration; return this; } /** * GmtCreate. */ public Builder gmtCreate(Long gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * OpenType. */ public Builder openType(String openType) { this.openType = openType; return this; } /** * SoundCode. */ public Builder soundCode(String soundCode) { this.soundCode = soundCode; return this; } /** * SoundCodeContent. */ public Builder soundCodeContent(String soundCodeContent) { this.soundCodeContent = soundCodeContent; 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