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

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

The 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 TeamVO extends TeaModel {
    /**
     * example:
     * 

https://abc.com

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

12340000

*/ @NameInMap("createdTime") public Long createdTime; @NameInMap("creator") public TeamVOCreator creator; /** * example: *

这里是团队描述

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

https://def.com

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

This parameter is required.

* * example: *

AbcDef

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

This parameter is required.

* * example: *

测试团队名称

*/ @NameInMap("name") public String name; @NameInMap("relatedDeptInfo") public TeamVORelatedDeptInfo relatedDeptInfo; @NameInMap("shareScopeInfo") public TeamVOShareScopeInfo shareScopeInfo; /** * example: *

0

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

This parameter is required.

* * example: *

0

*/ @NameInMap("type") public Integer type; /** * example: *

34560000

*/ @NameInMap("updatedTime") public Long updatedTime; @NameInMap("updater") public TeamVOUpdater updater; /** *

This parameter is required.

* * example: *

https://abc.com

*/ @NameInMap("url") public String url; @NameInMap("visitInfo") public TeamVOVisitInfo visitInfo; public static TeamVO build(java.util.Map map) throws Exception { TeamVO self = new TeamVO(); return TeaModel.build(map, self); } public TeamVO setCover(String cover) { this.cover = cover; return this; } public String getCover() { return this.cover; } public TeamVO setCreatedTime(Long createdTime) { this.createdTime = createdTime; return this; } public Long getCreatedTime() { return this.createdTime; } public TeamVO setCreator(TeamVOCreator creator) { this.creator = creator; return this; } public TeamVOCreator getCreator() { return this.creator; } public TeamVO setDescription(String description) { this.description = description; return this; } public String getDescription() { return this.description; } public TeamVO setIcon(String icon) { this.icon = icon; return this; } public String getIcon() { return this.icon; } public TeamVO setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public TeamVO setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public TeamVO setRelatedDeptInfo(TeamVORelatedDeptInfo relatedDeptInfo) { this.relatedDeptInfo = relatedDeptInfo; return this; } public TeamVORelatedDeptInfo getRelatedDeptInfo() { return this.relatedDeptInfo; } public TeamVO setShareScopeInfo(TeamVOShareScopeInfo shareScopeInfo) { this.shareScopeInfo = shareScopeInfo; return this; } public TeamVOShareScopeInfo getShareScopeInfo() { return this.shareScopeInfo; } public TeamVO setStatus(Integer status) { this.status = status; return this; } public Integer getStatus() { return this.status; } public TeamVO setType(Integer type) { this.type = type; return this; } public Integer getType() { return this.type; } public TeamVO setUpdatedTime(Long updatedTime) { this.updatedTime = updatedTime; return this; } public Long getUpdatedTime() { return this.updatedTime; } public TeamVO setUpdater(TeamVOUpdater updater) { this.updater = updater; return this; } public TeamVOUpdater getUpdater() { return this.updater; } public TeamVO setUrl(String url) { this.url = url; return this; } public String getUrl() { return this.url; } public TeamVO setVisitInfo(TeamVOVisitInfo visitInfo) { this.visitInfo = visitInfo; return this; } public TeamVOVisitInfo getVisitInfo() { return this.visitInfo; } public static class TeamVOCreator extends TeaModel { /** * example: *

测试

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

abc

*/ @NameInMap("unionId") public String unionId; public static TeamVOCreator build(java.util.Map map) throws Exception { TeamVOCreator self = new TeamVOCreator(); return TeaModel.build(map, self); } public TeamVOCreator setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public TeamVOCreator setUnionId(String unionId) { this.unionId = unionId; return this; } public String getUnionId() { return this.unionId; } } public static class TeamVORelatedDeptInfo extends TeaModel { /** * example: *

abc

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

测试部门

*/ @NameInMap("deptName") public String deptName; public static TeamVORelatedDeptInfo build(java.util.Map map) throws Exception { TeamVORelatedDeptInfo self = new TeamVORelatedDeptInfo(); return TeaModel.build(map, self); } public TeamVORelatedDeptInfo setDeptId(String deptId) { this.deptId = deptId; return this; } public String getDeptId() { return this.deptId; } public TeamVORelatedDeptInfo setDeptName(String deptName) { this.deptName = deptName; return this; } public String getDeptName() { return this.deptName; } } public static class TeamVOShareScopeInfo extends TeaModel { @NameInMap("roleId") public String roleId; @NameInMap("scope") public Integer scope; public static TeamVOShareScopeInfo build(java.util.Map map) throws Exception { TeamVOShareScopeInfo self = new TeamVOShareScopeInfo(); return TeaModel.build(map, self); } public TeamVOShareScopeInfo setRoleId(String roleId) { this.roleId = roleId; return this; } public String getRoleId() { return this.roleId; } public TeamVOShareScopeInfo setScope(Integer scope) { this.scope = scope; return this; } public Integer getScope() { return this.scope; } } public static class TeamVOUpdater extends TeaModel { /** * example: *

测试

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

abc

*/ @NameInMap("unionId") public String unionId; public static TeamVOUpdater build(java.util.Map map) throws Exception { TeamVOUpdater self = new TeamVOUpdater(); return TeaModel.build(map, self); } public TeamVOUpdater setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public TeamVOUpdater setUnionId(String unionId) { this.unionId = unionId; return this; } public String getUnionId() { return this.unionId; } } public static class TeamVOVisitInfo extends TeaModel { /** * example: *

5

*/ @NameInMap("roleCode") public String roleCode; public static TeamVOVisitInfo build(java.util.Map map) throws Exception { TeamVOVisitInfo self = new TeamVOVisitInfo(); return TeaModel.build(map, self); } public TeamVOVisitInfo setRoleCode(String roleCode) { this.roleCode = roleCode; return this; } public String getRoleCode() { return this.roleCode; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy