All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkdoc_2_0.models.CreateTeamRequest Maven / Gradle / Ivy

There is a newer version: 2.1.50
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkdoc_2_0.models;

import com.aliyun.tea.*;

public class CreateTeamRequest extends TeaModel {
    /**
     * example:
     * 

https://img.alicdn.com/imgextra/i1/O1***.png

*/ @NameInMap("cover") public String cover; /** * example: *

这是小组的介绍

*/ @NameInMap("description") public String description; /** * example: *

https://img.alicdn.com/imgextra/i1/O1***.png

*/ @NameInMap("icon") public String icon; @NameInMap("members") public java.util.List members; /** *

This parameter is required.

* * example: *

测试小组名称

*/ @NameInMap("name") public String name; /** *

This parameter is required.

* * example: *

YEp3JcM******UIbhwiE

*/ @NameInMap("operatorId") public String operatorId; /** *

This parameter is required.

* * example: *

0

*/ @NameInMap("teamType") public Integer teamType; public static CreateTeamRequest build(java.util.Map map) throws Exception { CreateTeamRequest self = new CreateTeamRequest(); return TeaModel.build(map, self); } public CreateTeamRequest setCover(String cover) { this.cover = cover; return this; } public String getCover() { return this.cover; } public CreateTeamRequest setDescription(String description) { this.description = description; return this; } public String getDescription() { return this.description; } public CreateTeamRequest setIcon(String icon) { this.icon = icon; return this; } public String getIcon() { return this.icon; } public CreateTeamRequest setMembers(java.util.List members) { this.members = members; return this; } public java.util.List getMembers() { return this.members; } public CreateTeamRequest setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public CreateTeamRequest setOperatorId(String operatorId) { this.operatorId = operatorId; return this; } public String getOperatorId() { return this.operatorId; } public CreateTeamRequest setTeamType(Integer teamType) { this.teamType = teamType; return this; } public Integer getTeamType() { return this.teamType; } public static class CreateTeamRequestMembers extends TeaModel { /** *

This parameter is required.

* * example: *

YEp3JcM******UIbhwiE

*/ @NameInMap("memberId") public String memberId; /** *

This parameter is required.

* * example: *

2

*/ @NameInMap("memberType") public Integer memberType; /** *

This parameter is required.

* * example: *

2

*/ @NameInMap("roleCode") public String roleCode; public static CreateTeamRequestMembers build(java.util.Map map) throws Exception { CreateTeamRequestMembers self = new CreateTeamRequestMembers(); return TeaModel.build(map, self); } public CreateTeamRequestMembers setMemberId(String memberId) { this.memberId = memberId; return this; } public String getMemberId() { return this.memberId; } public CreateTeamRequestMembers setMemberType(Integer memberType) { this.memberType = memberType; return this; } public Integer getMemberType() { return this.memberType; } public CreateTeamRequestMembers setRoleCode(String roleCode) { this.roleCode = roleCode; return this; } public String getRoleCode() { return this.roleCode; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy