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

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

SaveDevicePropRequest

*/ public class SaveDevicePropRequest extends Request { @Query @NameInMap("DeviceName") private String deviceName; @Query @NameInMap("IotId") private String iotId; @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("ProductKey") private String productKey; @Query @NameInMap("Props") @Validation(required = true) private String props; private SaveDevicePropRequest(Builder builder) { super(builder); this.deviceName = builder.deviceName; this.iotId = builder.iotId; this.iotInstanceId = builder.iotInstanceId; this.productKey = builder.productKey; this.props = builder.props; } public static Builder builder() { return new Builder(); } public static SaveDevicePropRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return deviceName */ public String getDeviceName() { return this.deviceName; } /** * @return iotId */ public String getIotId() { return this.iotId; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return productKey */ public String getProductKey() { return this.productKey; } /** * @return props */ public String getProps() { return this.props; } public static final class Builder extends Request.Builder { private String deviceName; private String iotId; private String iotInstanceId; private String productKey; private String props; private Builder() { super(); } private Builder(SaveDevicePropRequest request) { super(request); this.deviceName = request.deviceName; this.iotId = request.iotId; this.iotInstanceId = request.iotInstanceId; this.productKey = request.productKey; this.props = request.props; } /** * DeviceName. */ public Builder deviceName(String deviceName) { this.putQueryParameter("DeviceName", deviceName); this.deviceName = deviceName; 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; } /** * Props. */ public Builder props(String props) { this.putQueryParameter("Props", props); this.props = props; return this; } @Override public SaveDevicePropRequest build() { return new SaveDevicePropRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy