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

com.aliyun.dingtalkservice_group_1_0.models.SearchGroupResponseBody Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class SearchGroupResponseBody extends TeaModel {
    // 本次请求所返回的最大记录条数。
    @NameInMap("maxResults")
    public Integer maxResults;

    // 表示当前调用返回读取到的位置,空代表数据已经读取完毕
    @NameInMap("nextToken")
    public String nextToken;

    // 已读未读信息列表
    @NameInMap("records")
    public java.util.List records;

    // 本次请求条件下的数据总量,此参数为可选参数,默认可不返回。本次请求条件下的数据总量,此参数为可选参数,默认可不返回
    @NameInMap("totalCount")
    public Integer totalCount;

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

    public SearchGroupResponseBody setMaxResults(Integer maxResults) {
        this.maxResults = maxResults;
        return this;
    }
    public Integer getMaxResults() {
        return this.maxResults;
    }

    public SearchGroupResponseBody setNextToken(String nextToken) {
        this.nextToken = nextToken;
        return this;
    }
    public String getNextToken() {
        return this.nextToken;
    }

    public SearchGroupResponseBody setRecords(java.util.List records) {
        this.records = records;
        return this;
    }
    public java.util.List getRecords() {
        return this.records;
    }

    public SearchGroupResponseBody setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
        return this;
    }
    public Integer getTotalCount() {
        return this.totalCount;
    }

    public static class SearchGroupResponseBodyRecords extends TeaModel {
        // 群名称
        @NameInMap("groupName")
        public String groupName;

        // 入群链接
        @NameInMap("groupUrl")
        public String groupUrl;

        // 开放群ID
        @NameInMap("openConversationId")
        public String openConversationId;

        // 开放群组ID
        @NameInMap("openGroupSetId")
        public String openGroupSetId;

        // 开放团队ID
        @NameInMap("openTeamId")
        public String openTeamId;

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

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

        public SearchGroupResponseBodyRecords setGroupUrl(String groupUrl) {
            this.groupUrl = groupUrl;
            return this;
        }
        public String getGroupUrl() {
            return this.groupUrl;
        }

        public SearchGroupResponseBodyRecords setOpenConversationId(String openConversationId) {
            this.openConversationId = openConversationId;
            return this;
        }
        public String getOpenConversationId() {
            return this.openConversationId;
        }

        public SearchGroupResponseBodyRecords setOpenGroupSetId(String openGroupSetId) {
            this.openGroupSetId = openGroupSetId;
            return this;
        }
        public String getOpenGroupSetId() {
            return this.openGroupSetId;
        }

        public SearchGroupResponseBodyRecords setOpenTeamId(String openTeamId) {
            this.openTeamId = openTeamId;
            return this;
        }
        public String getOpenTeamId() {
            return this.openTeamId;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy