com.aliyun.dingtalkwiki_2_0.models.AddWorkspaceRequest 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkwiki_2_0.models;
import com.aliyun.tea.*;
public class AddWorkspaceRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* workspace_name
*/
@NameInMap("name")
public String name;
@NameInMap("option")
public AddWorkspaceRequestOption option;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("operatorId")
public String operatorId;
public static AddWorkspaceRequest build(java.util.Map map) throws Exception {
AddWorkspaceRequest self = new AddWorkspaceRequest();
return TeaModel.build(map, self);
}
public AddWorkspaceRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public AddWorkspaceRequest setOption(AddWorkspaceRequestOption option) {
this.option = option;
return this;
}
public AddWorkspaceRequestOption getOption() {
return this.option;
}
public AddWorkspaceRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public static class AddWorkspaceRequestOption extends TeaModel {
/**
* example:
* workspace_description
*/
@NameInMap("description")
public String description;
/**
* example:
* team_id
*/
@NameInMap("teamId")
public String teamId;
public static AddWorkspaceRequestOption build(java.util.Map map) throws Exception {
AddWorkspaceRequestOption self = new AddWorkspaceRequestOption();
return TeaModel.build(map, self);
}
public AddWorkspaceRequestOption setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public AddWorkspaceRequestOption setTeamId(String teamId) {
this.teamId = teamId;
return this;
}
public String getTeamId() {
return this.teamId;
}
}
}