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

com.aliyun.dingtalkcontact_1_0.models.ListManagementGroupsResponseBody 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.dingtalkcontact_1_0.models;

import com.aliyun.tea.*;

public class ListManagementGroupsResponseBody extends TeaModel {
    // 管理组列表
    @NameInMap("groups")
    public java.util.List groups;

    // 是否有下一页
    @NameInMap("hasMore")
    public Boolean hasMore;

    // 下一次读取的位置
    @NameInMap("nextToken")
    public Long nextToken;

    public static ListManagementGroupsResponseBody build(java.util.Map map) throws Exception {
        ListManagementGroupsResponseBody self = new ListManagementGroupsResponseBody();
        return TeaModel.build(map, self);
    }

    public ListManagementGroupsResponseBody setGroups(java.util.List groups) {
        this.groups = groups;
        return this;
    }
    public java.util.List getGroups() {
        return this.groups;
    }

    public ListManagementGroupsResponseBody setHasMore(Boolean hasMore) {
        this.hasMore = hasMore;
        return this;
    }
    public Boolean getHasMore() {
        return this.hasMore;
    }

    public ListManagementGroupsResponseBody setNextToken(Long nextToken) {
        this.nextToken = nextToken;
        return this;
    }
    public Long getNextToken() {
        return this.nextToken;
    }

    public static class ListManagementGroupsResponseBodyGroupsMembers extends TeaModel {
        // 成员id
        @NameInMap("memberId")
        public String memberId;

        // 成员类型
        @NameInMap("memberType")
        public String memberType;

        public static ListManagementGroupsResponseBodyGroupsMembers build(java.util.Map map) throws Exception {
            ListManagementGroupsResponseBodyGroupsMembers self = new ListManagementGroupsResponseBodyGroupsMembers();
            return TeaModel.build(map, self);
        }

        public ListManagementGroupsResponseBodyGroupsMembers setMemberId(String memberId) {
            this.memberId = memberId;
            return this;
        }
        public String getMemberId() {
            return this.memberId;
        }

        public ListManagementGroupsResponseBodyGroupsMembers setMemberType(String memberType) {
            this.memberType = memberType;
            return this;
        }
        public String getMemberType() {
            return this.memberType;
        }

    }

    public static class ListManagementGroupsResponseBodyGroupsScope extends TeaModel {
        // 部门列表,只在scopeType=3 生效
        @NameInMap("deptIds")
        public java.util.List deptIds;

        // 1
        @NameInMap("scopeType")
        public Integer scopeType;

        public static ListManagementGroupsResponseBodyGroupsScope build(java.util.Map map) throws Exception {
            ListManagementGroupsResponseBodyGroupsScope self = new ListManagementGroupsResponseBodyGroupsScope();
            return TeaModel.build(map, self);
        }

        public ListManagementGroupsResponseBodyGroupsScope setDeptIds(java.util.List deptIds) {
            this.deptIds = deptIds;
            return this;
        }
        public java.util.List getDeptIds() {
            return this.deptIds;
        }

        public ListManagementGroupsResponseBodyGroupsScope setScopeType(Integer scopeType) {
            this.scopeType = scopeType;
            return this;
        }
        public Integer getScopeType() {
            return this.scopeType;
        }

    }

    public static class ListManagementGroupsResponseBodyGroups extends TeaModel {
        // 管理组id
        @NameInMap("groupId")
        public String groupId;

        // 管理组名
        @NameInMap("groupName")
        public String groupName;

        // 成员
        @NameInMap("members")
        public java.util.List members;

        // 资源列表
        @NameInMap("resourceIds")
        public java.util.List resourceIds;

        // 管理范围
        @NameInMap("scope")
        public ListManagementGroupsResponseBodyGroupsScope scope;

        public static ListManagementGroupsResponseBodyGroups build(java.util.Map map) throws Exception {
            ListManagementGroupsResponseBodyGroups self = new ListManagementGroupsResponseBodyGroups();
            return TeaModel.build(map, self);
        }

        public ListManagementGroupsResponseBodyGroups setGroupId(String groupId) {
            this.groupId = groupId;
            return this;
        }
        public String getGroupId() {
            return this.groupId;
        }

        public ListManagementGroupsResponseBodyGroups setGroupName(String groupName) {
            this.groupName = groupName;
            return this;
        }
        public String getGroupName() {
            return this.groupName;
        }

        public ListManagementGroupsResponseBodyGroups setMembers(java.util.List members) {
            this.members = members;
            return this;
        }
        public java.util.List getMembers() {
            return this.members;
        }

        public ListManagementGroupsResponseBodyGroups setResourceIds(java.util.List resourceIds) {
            this.resourceIds = resourceIds;
            return this;
        }
        public java.util.List getResourceIds() {
            return this.resourceIds;
        }

        public ListManagementGroupsResponseBodyGroups setScope(ListManagementGroupsResponseBodyGroupsScope scope) {
            this.scope = scope;
            return this;
        }
        public ListManagementGroupsResponseBodyGroupsScope getScope() {
            return this.scope;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy