com.antgroup.antchain.openapi.bot.models.IotbasicDeviceModelAttributeFailInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-bot Show documentation
Show all versions of openapi-bot Show documentation
Ant Chain BOT SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.bot.models;
import com.aliyun.tea.*;
public class IotbasicDeviceModelAttributeFailInfo extends TeaModel {
// 型号
@NameInMap("model_value")
@Validation(required = true)
public String modelValue;
// 规格列表 为空表示使用标准规格
@NameInMap("specs_list")
public java.util.List specsList;
// 失败code
@NameInMap("error_code")
@Validation(required = true)
public String errorCode;
// 失败消息
@NameInMap("error_message")
@Validation(required = true)
public String errorMessage;
public static IotbasicDeviceModelAttributeFailInfo build(java.util.Map map) throws Exception {
IotbasicDeviceModelAttributeFailInfo self = new IotbasicDeviceModelAttributeFailInfo();
return TeaModel.build(map, self);
}
public IotbasicDeviceModelAttributeFailInfo setModelValue(String modelValue) {
this.modelValue = modelValue;
return this;
}
public String getModelValue() {
return this.modelValue;
}
public IotbasicDeviceModelAttributeFailInfo setSpecsList(java.util.List specsList) {
this.specsList = specsList;
return this;
}
public java.util.List getSpecsList() {
return this.specsList;
}
public IotbasicDeviceModelAttributeFailInfo setErrorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
public String getErrorCode() {
return this.errorCode;
}
public IotbasicDeviceModelAttributeFailInfo setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
}