com.aliyun.sdk.service.iot20180120.models.DeleteShareTaskDeviceRequest 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 DeleteShareTaskDeviceRequest} extends {@link RequestModel}
*
* DeleteShareTaskDeviceRequest
*/
public class DeleteShareTaskDeviceRequest extends Request {
@Body
@NameInMap("IotIdList")
private java.util.List < String > iotIdList;
@Body
@NameInMap("IotInstanceId")
private String iotInstanceId;
@Body
@NameInMap("ShareTaskId")
@Validation(required = true)
private String shareTaskId;
private DeleteShareTaskDeviceRequest(Builder builder) {
super(builder);
this.iotIdList = builder.iotIdList;
this.iotInstanceId = builder.iotInstanceId;
this.shareTaskId = builder.shareTaskId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteShareTaskDeviceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return iotIdList
*/
public java.util.List < String > getIotIdList() {
return this.iotIdList;
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
/**
* @return shareTaskId
*/
public String getShareTaskId() {
return this.shareTaskId;
}
public static final class Builder extends Request.Builder {
private java.util.List < String > iotIdList;
private String iotInstanceId;
private String shareTaskId;
private Builder() {
super();
}
private Builder(DeleteShareTaskDeviceRequest request) {
super(request);
this.iotIdList = request.iotIdList;
this.iotInstanceId = request.iotInstanceId;
this.shareTaskId = request.shareTaskId;
}
/**
* IotIdList.
*/
public Builder iotIdList(java.util.List < String > iotIdList) {
this.putBodyParameter("IotIdList", iotIdList);
this.iotIdList = iotIdList;
return this;
}
/**
* IotInstanceId.
*/
public Builder iotInstanceId(String iotInstanceId) {
this.putBodyParameter("IotInstanceId", iotInstanceId);
this.iotInstanceId = iotInstanceId;
return this;
}
/**
* ShareTaskId.
*/
public Builder shareTaskId(String shareTaskId) {
this.putBodyParameter("ShareTaskId", shareTaskId);
this.shareTaskId = shareTaskId;
return this;
}
@Override
public DeleteShareTaskDeviceRequest build() {
return new DeleteShareTaskDeviceRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy