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

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

UpdateThingScriptRequest

*/ public class UpdateThingScriptRequest extends Request { @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("ProductKey") @Validation(required = true) private String productKey; @Query @NameInMap("ScriptContent") @Validation(required = true) private String scriptContent; @Query @NameInMap("ScriptType") @Validation(required = true) private String scriptType; private UpdateThingScriptRequest(Builder builder) { super(builder); this.iotInstanceId = builder.iotInstanceId; this.productKey = builder.productKey; this.scriptContent = builder.scriptContent; this.scriptType = builder.scriptType; } public static Builder builder() { return new Builder(); } public static UpdateThingScriptRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return productKey */ public String getProductKey() { return this.productKey; } /** * @return scriptContent */ public String getScriptContent() { return this.scriptContent; } /** * @return scriptType */ public String getScriptType() { return this.scriptType; } public static final class Builder extends Request.Builder { private String iotInstanceId; private String productKey; private String scriptContent; private String scriptType; private Builder() { super(); } private Builder(UpdateThingScriptRequest request) { super(request); this.iotInstanceId = request.iotInstanceId; this.productKey = request.productKey; this.scriptContent = request.scriptContent; this.scriptType = request.scriptType; } /** * 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; } /** * ScriptContent. */ public Builder scriptContent(String scriptContent) { this.putQueryParameter("ScriptContent", scriptContent); this.scriptContent = scriptContent; return this; } /** * ScriptType. */ public Builder scriptType(String scriptType) { this.putQueryParameter("ScriptType", scriptType); this.scriptType = scriptType; return this; } @Override public UpdateThingScriptRequest build() { return new UpdateThingScriptRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy