com.aliyun.iot20180120.models.BatchGetEdgeInstanceDriverConfigsResponseBody Maven / Gradle / Ivy
Show all versions of iot20180120 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.iot20180120.models;
import com.aliyun.tea.*;
public class BatchGetEdgeInstanceDriverConfigsResponseBody extends TeaModel {
/**
* The return code of the operation. A value of Success indicates that the call was successful. Other values indicate that specific errors occurred. For more information, see Error codes.
*
* example:
* Success
*/
@NameInMap("Code")
public String code;
/**
* The data that is returned if the call was successful.
*/
@NameInMap("DriverConfigList")
public java.util.List driverConfigList;
/**
* The error message that is returned if the call failed.
*
* example:
* request parameter error
*/
@NameInMap("ErrorMessage")
public String errorMessage;
/**
* The ID of the request.
*
* example:
* D6113390-F507-458B-8544-7B01F945630B
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the call was successful. A value of true indicates that the call was successful. A value of false indicates that the call failed.
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static BatchGetEdgeInstanceDriverConfigsResponseBody build(java.util.Map map) throws Exception {
BatchGetEdgeInstanceDriverConfigsResponseBody self = new BatchGetEdgeInstanceDriverConfigsResponseBody();
return TeaModel.build(map, self);
}
public BatchGetEdgeInstanceDriverConfigsResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public BatchGetEdgeInstanceDriverConfigsResponseBody setDriverConfigList(java.util.List driverConfigList) {
this.driverConfigList = driverConfigList;
return this;
}
public java.util.List getDriverConfigList() {
return this.driverConfigList;
}
public BatchGetEdgeInstanceDriverConfigsResponseBody setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
public BatchGetEdgeInstanceDriverConfigsResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public BatchGetEdgeInstanceDriverConfigsResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigListConfigList extends TeaModel {
/**
* The ID of the configuration.
*
* example:
* dac71722ceac4a299dbf3e8dc3c8****
*/
@NameInMap("ConfigId")
public String configId;
/**
* The configuration content or the Object Storage Service (OSS) path of the configuration file.
*
* example:
* {\"test\":123}
*/
@NameInMap("Content")
public String content;
/**
* The format of the configuration. Valid values: KV (key-value pair), JSON (JSON string), and FILE (configuration file).
*
* example:
* JSON
*/
@NameInMap("Format")
public String format;
/**
* The key of the configuration. If multiple configurations are available, keywords can be used to identify the configurations.
*
* example:
* key1
*/
@NameInMap("Key")
public String key;
public static BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigListConfigList build(java.util.Map map) throws Exception {
BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigListConfigList self = new BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigListConfigList();
return TeaModel.build(map, self);
}
public BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigListConfigList setConfigId(String configId) {
this.configId = configId;
return this;
}
public String getConfigId() {
return this.configId;
}
public BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigListConfigList setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigListConfigList setFormat(String format) {
this.format = format;
return this;
}
public String getFormat() {
return this.format;
}
public BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigListConfigList setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
}
public static class BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigList extends TeaModel {
/**
* The configuration information of the driver.
*/
@NameInMap("ConfigList")
public java.util.List configList;
/**
* The ID of the driver.
*
* example:
* 021d154d2a2f4dd7a489773d9e04****
*/
@NameInMap("DriverId")
public String driverId;
public static BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigList build(java.util.Map map) throws Exception {
BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigList self = new BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigList();
return TeaModel.build(map, self);
}
public BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigList setConfigList(java.util.List configList) {
this.configList = configList;
return this;
}
public java.util.List getConfigList() {
return this.configList;
}
public BatchGetEdgeInstanceDriverConfigsResponseBodyDriverConfigList setDriverId(String driverId) {
this.driverId = driverId;
return this;
}
public String getDriverId() {
return this.driverId;
}
}
}