com.aliyun.dingtalkdevicemng_1_0.models.CreateDepartmentRequest 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.dingtalkdevicemng_1_0.models;
import com.aliyun.tea.*;
public class CreateDepartmentRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* zhangsan/password
*/
@NameInMap("authInfo")
public String authInfo;
/**
* This parameter is required.
*
* example:
* Acount
*/
@NameInMap("authType")
public String authType;
/**
* This parameter is required.
*
* example:
* {"workdate":"workday"}
*/
@NameInMap("bizExt")
public String bizExt;
/**
* This parameter is required.
*
* example:
* 生产1组
*/
@NameInMap("departmentName")
public String departmentName;
/**
* This parameter is required.
*
* example:
* Primary
*/
@NameInMap("departmentType")
public String departmentType;
/**
* This parameter is required.
*
* example:
* 生产1组负责中控机的组装
*/
@NameInMap("description")
public String description;
/**
* This parameter is required.
*
* example:
*
*/
@NameInMap("systemUrl")
public String systemUrl;
/**
* This parameter is required.
*
* example:
* manager10
*/
@NameInMap("userId")
public String userId;
public static CreateDepartmentRequest build(java.util.Map map) throws Exception {
CreateDepartmentRequest self = new CreateDepartmentRequest();
return TeaModel.build(map, self);
}
public CreateDepartmentRequest setAuthInfo(String authInfo) {
this.authInfo = authInfo;
return this;
}
public String getAuthInfo() {
return this.authInfo;
}
public CreateDepartmentRequest setAuthType(String authType) {
this.authType = authType;
return this;
}
public String getAuthType() {
return this.authType;
}
public CreateDepartmentRequest setBizExt(String bizExt) {
this.bizExt = bizExt;
return this;
}
public String getBizExt() {
return this.bizExt;
}
public CreateDepartmentRequest setDepartmentName(String departmentName) {
this.departmentName = departmentName;
return this;
}
public String getDepartmentName() {
return this.departmentName;
}
public CreateDepartmentRequest setDepartmentType(String departmentType) {
this.departmentType = departmentType;
return this;
}
public String getDepartmentType() {
return this.departmentType;
}
public CreateDepartmentRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public CreateDepartmentRequest setSystemUrl(String systemUrl) {
this.systemUrl = systemUrl;
return this;
}
public String getSystemUrl() {
return this.systemUrl;
}
public CreateDepartmentRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}