com.aliyun.dingtalkexclusive_1_0.models.CreateTrustedDeviceRequest 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.dingtalkexclusive_1_0.models;
import com.aliyun.tea.*;
public class CreateTrustedDeviceRequest extends TeaModel {
/**
* example:
* CV11z5d2bdbb2260d1576000b4a9955fa
*/
@NameInMap("did")
public String did;
/**
* example:
* 88:92:5a:1f:e8:24
*/
@NameInMap("macAddress")
public String macAddress;
/**
* This parameter is required.
*
* example:
* Mac
*/
@NameInMap("platform")
public String platform;
/**
* example:
* 2
*/
@NameInMap("status")
public Integer status;
/**
* This parameter is required.
*
* example:
* 65224157501039784
*/
@NameInMap("userId")
public String userId;
public static CreateTrustedDeviceRequest build(java.util.Map map) throws Exception {
CreateTrustedDeviceRequest self = new CreateTrustedDeviceRequest();
return TeaModel.build(map, self);
}
public CreateTrustedDeviceRequest setDid(String did) {
this.did = did;
return this;
}
public String getDid() {
return this.did;
}
public CreateTrustedDeviceRequest setMacAddress(String macAddress) {
this.macAddress = macAddress;
return this;
}
public String getMacAddress() {
return this.macAddress;
}
public CreateTrustedDeviceRequest setPlatform(String platform) {
this.platform = platform;
return this;
}
public String getPlatform() {
return this.platform;
}
public CreateTrustedDeviceRequest setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public CreateTrustedDeviceRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}