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

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

QueryShareTaskDeviceListRequest

*/ public class QueryShareTaskDeviceListRequest extends Request { @Body @NameInMap("DeviceName") private String deviceName; @Body @NameInMap("IotInstanceId") private String iotInstanceId; @Body @NameInMap("PageId") private Integer pageId; @Body @NameInMap("PageSize") private Integer pageSize; @Body @NameInMap("ShareTaskId") @Validation(required = true) private String shareTaskId; private QueryShareTaskDeviceListRequest(Builder builder) { super(builder); this.deviceName = builder.deviceName; this.iotInstanceId = builder.iotInstanceId; this.pageId = builder.pageId; this.pageSize = builder.pageSize; this.shareTaskId = builder.shareTaskId; } public static Builder builder() { return new Builder(); } public static QueryShareTaskDeviceListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return deviceName */ public String getDeviceName() { return this.deviceName; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return pageId */ public Integer getPageId() { return this.pageId; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return shareTaskId */ public String getShareTaskId() { return this.shareTaskId; } public static final class Builder extends Request.Builder { private String deviceName; private String iotInstanceId; private Integer pageId; private Integer pageSize; private String shareTaskId; private Builder() { super(); } private Builder(QueryShareTaskDeviceListRequest request) { super(request); this.deviceName = request.deviceName; this.iotInstanceId = request.iotInstanceId; this.pageId = request.pageId; this.pageSize = request.pageSize; this.shareTaskId = request.shareTaskId; } /** * DeviceName. */ public Builder deviceName(String deviceName) { this.putBodyParameter("DeviceName", deviceName); this.deviceName = deviceName; 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; } /** * ShareTaskId. */ public Builder shareTaskId(String shareTaskId) { this.putBodyParameter("ShareTaskId", shareTaskId); this.shareTaskId = shareTaskId; return this; } @Override public QueryShareTaskDeviceListRequest build() { return new QueryShareTaskDeviceListRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy