com.aliyun.dingtalkedu_1_0.models.QueryOrgRelationListResponseBody 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 QueryOrgRelationListResponseBody extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("result")
public java.util.List result;
@NameInMap("success")
public Boolean success;
public static QueryOrgRelationListResponseBody build(java.util.Map map) throws Exception {
QueryOrgRelationListResponseBody self = new QueryOrgRelationListResponseBody();
return TeaModel.build(map, self);
}
public QueryOrgRelationListResponseBody setResult(java.util.List result) {
this.result = result;
return this;
}
public java.util.List getResult() {
return this.result;
}
public QueryOrgRelationListResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class QueryOrgRelationListResponseBodyResult extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("corpId")
public String corpId;
/**
* This parameter is required.
*/
@NameInMap("deviceCount")
public Integer deviceCount;
/**
* This parameter is required.
*/
@NameInMap("name")
public String name;
public static QueryOrgRelationListResponseBodyResult build(java.util.Map map) throws Exception {
QueryOrgRelationListResponseBodyResult self = new QueryOrgRelationListResponseBodyResult();
return TeaModel.build(map, self);
}
public QueryOrgRelationListResponseBodyResult setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public QueryOrgRelationListResponseBodyResult setDeviceCount(Integer deviceCount) {
this.deviceCount = deviceCount;
return this;
}
public Integer getDeviceCount() {
return this.deviceCount;
}
public QueryOrgRelationListResponseBodyResult setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
}