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

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

QueryThingModelRequest

*/ public class QueryThingModelRequest extends Request { @Query @NameInMap("FunctionBlockId") private String functionBlockId; @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("ModelVersion") private String modelVersion; @Query @NameInMap("ProductKey") private String productKey; @Query @NameInMap("ResourceGroupId") private String resourceGroupId; private QueryThingModelRequest(Builder builder) { super(builder); this.functionBlockId = builder.functionBlockId; this.iotInstanceId = builder.iotInstanceId; this.modelVersion = builder.modelVersion; this.productKey = builder.productKey; this.resourceGroupId = builder.resourceGroupId; } public static Builder builder() { return new Builder(); } public static QueryThingModelRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return functionBlockId */ public String getFunctionBlockId() { return this.functionBlockId; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return modelVersion */ public String getModelVersion() { return this.modelVersion; } /** * @return productKey */ public String getProductKey() { return this.productKey; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } public static final class Builder extends Request.Builder { private String functionBlockId; private String iotInstanceId; private String modelVersion; private String productKey; private String resourceGroupId; private Builder() { super(); } private Builder(QueryThingModelRequest request) { super(request); this.functionBlockId = request.functionBlockId; this.iotInstanceId = request.iotInstanceId; this.modelVersion = request.modelVersion; this.productKey = request.productKey; this.resourceGroupId = request.resourceGroupId; } /** * FunctionBlockId. */ public Builder functionBlockId(String functionBlockId) { this.putQueryParameter("FunctionBlockId", functionBlockId); this.functionBlockId = functionBlockId; return this; } /** * IotInstanceId. */ public Builder iotInstanceId(String iotInstanceId) { this.putQueryParameter("IotInstanceId", iotInstanceId); this.iotInstanceId = iotInstanceId; return this; } /** * ModelVersion. */ public Builder modelVersion(String modelVersion) { this.putQueryParameter("ModelVersion", modelVersion); this.modelVersion = modelVersion; return this; } /** * ProductKey. */ public Builder productKey(String productKey) { this.putQueryParameter("ProductKey", productKey); this.productKey = productKey; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } @Override public QueryThingModelRequest build() { return new QueryThingModelRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy