com.aliyun.dingtalkexclusive_1_0.models.GetTrustDeviceListResponseBody 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 GetTrustDeviceListResponseBody extends TeaModel {
@NameInMap("currentPage")
public Long currentPage;
/**
* This parameter is required.
*/
@NameInMap("data")
public java.util.List data;
@NameInMap("pageSize")
public Long pageSize;
@NameInMap("total")
public Long total;
public static GetTrustDeviceListResponseBody build(java.util.Map map) throws Exception {
GetTrustDeviceListResponseBody self = new GetTrustDeviceListResponseBody();
return TeaModel.build(map, self);
}
public GetTrustDeviceListResponseBody setCurrentPage(Long currentPage) {
this.currentPage = currentPage;
return this;
}
public Long getCurrentPage() {
return this.currentPage;
}
public GetTrustDeviceListResponseBody setData(java.util.List data) {
this.data = data;
return this;
}
public java.util.List getData() {
return this.data;
}
public GetTrustDeviceListResponseBody setPageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
public Long getPageSize() {
return this.pageSize;
}
public GetTrustDeviceListResponseBody setTotal(Long total) {
this.total = total;
return this;
}
public Long getTotal() {
return this.total;
}
public static class GetTrustDeviceListResponseBodyData extends TeaModel {
/**
* example:
* 1628650483
*/
@NameInMap("createTime")
public Long createTime;
@NameInMap("id")
public Long id;
/**
* example:
* 88:92:5a:1f:e8:24
*/
@NameInMap("macAddress")
public String macAddress;
@NameInMap("model")
public String model;
@NameInMap("modifiedTime")
public Long modifiedTime;
/**
* example:
* Mac
*/
@NameInMap("platform")
public String platform;
/**
* example:
* 2
*/
@NameInMap("status")
public Integer status;
@NameInMap("title")
public String title;
/**
* This parameter is required.
*
* example:
* 65224157501039784
*/
@NameInMap("userId")
public String userId;
public static GetTrustDeviceListResponseBodyData build(java.util.Map map) throws Exception {
GetTrustDeviceListResponseBodyData self = new GetTrustDeviceListResponseBodyData();
return TeaModel.build(map, self);
}
public GetTrustDeviceListResponseBodyData setCreateTime(Long createTime) {
this.createTime = createTime;
return this;
}
public Long getCreateTime() {
return this.createTime;
}
public GetTrustDeviceListResponseBodyData setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public GetTrustDeviceListResponseBodyData setMacAddress(String macAddress) {
this.macAddress = macAddress;
return this;
}
public String getMacAddress() {
return this.macAddress;
}
public GetTrustDeviceListResponseBodyData setModel(String model) {
this.model = model;
return this;
}
public String getModel() {
return this.model;
}
public GetTrustDeviceListResponseBodyData setModifiedTime(Long modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public Long getModifiedTime() {
return this.modifiedTime;
}
public GetTrustDeviceListResponseBodyData setPlatform(String platform) {
this.platform = platform;
return this;
}
public String getPlatform() {
return this.platform;
}
public GetTrustDeviceListResponseBodyData setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public GetTrustDeviceListResponseBodyData setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public GetTrustDeviceListResponseBodyData setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}