com.aliyun.dingtalkedu_1_0.models.AddDeviceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkedu_1_0.models;
import com.aliyun.tea.*;
public class AddDeviceResponseBody extends TeaModel {
/**
* This parameter is required.
*
* example:
* 123
*/
@NameInMap("corpId")
public String corpId;
/**
* This parameter is required.
*
* example:
* 1002
*/
@NameInMap("id")
public Long id;
/**
* This parameter is required.
*
* example:
* 123
*/
@NameInMap("merchantId")
public String merchantId;
/**
* This parameter is required.
*
* example:
* 123123
*/
@NameInMap("sn")
public String sn;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("status")
public Long status;
public static AddDeviceResponseBody build(java.util.Map map) throws Exception {
AddDeviceResponseBody self = new AddDeviceResponseBody();
return TeaModel.build(map, self);
}
public AddDeviceResponseBody setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public AddDeviceResponseBody setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public AddDeviceResponseBody setMerchantId(String merchantId) {
this.merchantId = merchantId;
return this;
}
public String getMerchantId() {
return this.merchantId;
}
public AddDeviceResponseBody setSn(String sn) {
this.sn = sn;
return this;
}
public String getSn() {
return this.sn;
}
public AddDeviceResponseBody setStatus(Long status) {
this.status = status;
return this;
}
public Long getStatus() {
return this.status;
}
}