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

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

QueryDeviceSpeechRequest

*/ public class QueryDeviceSpeechRequest extends Request { @Body @NameInMap("IotId") @Validation(required = true) private String iotId; @Body @NameInMap("IotInstanceId") private String iotInstanceId; @Body @NameInMap("PageId") @Validation(maximum = 10000, minimum = 1) private Integer pageId; @Body @NameInMap("PageSize") @Validation(maximum = 50, minimum = 1) private Integer pageSize; private QueryDeviceSpeechRequest(Builder builder) { super(builder); this.iotId = builder.iotId; this.iotInstanceId = builder.iotInstanceId; this.pageId = builder.pageId; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static QueryDeviceSpeechRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return iotId */ public String getIotId() { return this.iotId; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return pageId */ public Integer getPageId() { return this.pageId; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder { private String iotId; private String iotInstanceId; private Integer pageId; private Integer pageSize; private Builder() { super(); } private Builder(QueryDeviceSpeechRequest request) { super(request); this.iotId = request.iotId; this.iotInstanceId = request.iotInstanceId; this.pageId = request.pageId; this.pageSize = request.pageSize; } /** * IotId. */ public Builder iotId(String iotId) { this.putBodyParameter("IotId", iotId); this.iotId = iotId; return this; } /** * IotInstanceId. */ public Builder iotInstanceId(String iotInstanceId) { this.putBodyParameter("IotInstanceId", iotInstanceId); this.iotInstanceId = iotInstanceId; return this; } /** * PageId. */ public Builder pageId(Integer pageId) { this.putBodyParameter("PageId", pageId); this.pageId = pageId; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.putBodyParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public QueryDeviceSpeechRequest build() { return new QueryDeviceSpeechRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy