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

com.aliyun.iot20180120.models.QueryThingModelResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.iot20180120.models;

import com.aliyun.tea.*;

public class QueryThingModelResponseBody extends TeaModel {
    /**
     * 

The error code returned if the call fails. For more information, see Error codes.

* * example: *

iot.system.SystemException

*/ @NameInMap("Code") public String code; /** *

The data returned if the call is successful.

*/ @NameInMap("Data") public QueryThingModelResponseBodyData data; /** *

The error message returned if the call fails.

*/ @NameInMap("ErrorMessage") public String errorMessage; /** *

The ProductKey of the product.

* * example: *

a1BwAGV****

*/ @NameInMap("ProductKey") public String productKey; /** *

The ID of the request.

* * example: *

E55E50B7-40EE-4B6B-8BBE-D3ED55CCF565

*/ @NameInMap("RequestId") public String requestId; /** *

Indicates whether the call was successful.

*
    *
  • true: The call was successful.
  • *
  • false: The call failed.
  • *
* * example: *

true

*/ @NameInMap("Success") public Boolean success; public static QueryThingModelResponseBody build(java.util.Map map) throws Exception { QueryThingModelResponseBody self = new QueryThingModelResponseBody(); return TeaModel.build(map, self); } public QueryThingModelResponseBody setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public QueryThingModelResponseBody setData(QueryThingModelResponseBodyData data) { this.data = data; return this; } public QueryThingModelResponseBodyData getData() { return this.data; } public QueryThingModelResponseBody setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } public String getErrorMessage() { return this.errorMessage; } public QueryThingModelResponseBody setProductKey(String productKey) { this.productKey = productKey; return this; } public String getProductKey() { return this.productKey; } public QueryThingModelResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public QueryThingModelResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public static class QueryThingModelResponseBodyData extends TeaModel { /** *

The features of the TSL model. The TSL data format of the default module is different from the TSL data format of a custom module.

*

For more information about the data format of the ThingModelJson parameter, see Data structure of ThingModelJson.

*/ @NameInMap("ThingModelJson") public String thingModelJson; public static QueryThingModelResponseBodyData build(java.util.Map map) throws Exception { QueryThingModelResponseBodyData self = new QueryThingModelResponseBodyData(); return TeaModel.build(map, self); } public QueryThingModelResponseBodyData setThingModelJson(String thingModelJson) { this.thingModelJson = thingModelJson; return this; } public String getThingModelJson() { return this.thingModelJson; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy