com.aliyun.sdk.service.iot20180120.models.InvokeThingServiceRequest 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 InvokeThingServiceRequest} extends {@link RequestModel}
*
* InvokeThingServiceRequest
*/
public class InvokeThingServiceRequest extends Request {
@Query
@NameInMap("Args")
@Validation(required = true)
private String args;
@Query
@NameInMap("DeviceName")
private String deviceName;
@Query
@NameInMap("Identifier")
@Validation(required = true)
private String identifier;
@Query
@NameInMap("IotId")
private String iotId;
@Query
@NameInMap("IotInstanceId")
private String iotInstanceId;
@Query
@NameInMap("ProductKey")
private String productKey;
private InvokeThingServiceRequest(Builder builder) {
super(builder);
this.args = builder.args;
this.deviceName = builder.deviceName;
this.identifier = builder.identifier;
this.iotId = builder.iotId;
this.iotInstanceId = builder.iotInstanceId;
this.productKey = builder.productKey;
}
public static Builder builder() {
return new Builder();
}
public static InvokeThingServiceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return args
*/
public String getArgs() {
return this.args;
}
/**
* @return deviceName
*/
public String getDeviceName() {
return this.deviceName;
}
/**
* @return identifier
*/
public String getIdentifier() {
return this.identifier;
}
/**
* @return iotId
*/
public String getIotId() {
return this.iotId;
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
/**
* @return productKey
*/
public String getProductKey() {
return this.productKey;
}
public static final class Builder extends Request.Builder {
private String args;
private String deviceName;
private String identifier;
private String iotId;
private String iotInstanceId;
private String productKey;
private Builder() {
super();
}
private Builder(InvokeThingServiceRequest request) {
super(request);
this.args = request.args;
this.deviceName = request.deviceName;
this.identifier = request.identifier;
this.iotId = request.iotId;
this.iotInstanceId = request.iotInstanceId;
this.productKey = request.productKey;
}
/**
* Args.
*/
public Builder args(String args) {
this.putQueryParameter("Args", args);
this.args = args;
return this;
}
/**
* DeviceName.
*/
public Builder deviceName(String deviceName) {
this.putQueryParameter("DeviceName", deviceName);
this.deviceName = deviceName;
return this;
}
/**
* Identifier.
*/
public Builder identifier(String identifier) {
this.putQueryParameter("Identifier", identifier);
this.identifier = identifier;
return this;
}
/**
* IotId.
*/
public Builder iotId(String iotId) {
this.putQueryParameter("IotId", iotId);
this.iotId = iotId;
return this;
}
/**
* IotInstanceId.
*/
public Builder iotInstanceId(String iotInstanceId) {
this.putQueryParameter("IotInstanceId", iotInstanceId);
this.iotInstanceId = iotInstanceId;
return this;
}
/**
* ProductKey.
*/
public Builder productKey(String productKey) {
this.putQueryParameter("ProductKey", productKey);
this.productKey = productKey;
return this;
}
@Override
public InvokeThingServiceRequest build() {
return new InvokeThingServiceRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy