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

com.aliyun.dingtalksearch_1_0.models.ListSearchTabsByOrgIdResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalksearch_1_0.models;

import com.aliyun.tea.*;

public class ListSearchTabsByOrgIdResponseBody extends TeaModel {
    // 该企业拥有的所有数据源信息
    @NameInMap("searchTabResult")
    public java.util.List searchTabResult;

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

    public ListSearchTabsByOrgIdResponseBody setSearchTabResult(java.util.List searchTabResult) {
        this.searchTabResult = searchTabResult;
        return this;
    }
    public java.util.List getSearchTabResult() {
        return this.searchTabResult;
    }

    public static class ListSearchTabsByOrgIdResponseBodySearchTabResult extends TeaModel {
        // 创建时间
        @NameInMap("gmtCreate")
        public String gmtCreate;

        // 修改时间
        @NameInMap("gmtModified")
        public String gmtModified;

        // 数据源名称
        @NameInMap("name")
        public String name;

        // 数据源优先级,数值越小优先级越高
        @NameInMap("priority")
        public Integer priority;

        // 数据来源,非必填,默认来源为钉钉搜索内部引擎
        @NameInMap("source")
        public String source;

        // 数据源状态,1表示上线,0表示下线
        @NameInMap("status")
        public Integer status;

        // 数据源的id,范围为3000-4000
        @NameInMap("tabId")
        public Integer tabId;

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

        public ListSearchTabsByOrgIdResponseBodySearchTabResult setGmtCreate(String gmtCreate) {
            this.gmtCreate = gmtCreate;
            return this;
        }
        public String getGmtCreate() {
            return this.gmtCreate;
        }

        public ListSearchTabsByOrgIdResponseBodySearchTabResult setGmtModified(String gmtModified) {
            this.gmtModified = gmtModified;
            return this;
        }
        public String getGmtModified() {
            return this.gmtModified;
        }

        public ListSearchTabsByOrgIdResponseBodySearchTabResult setName(String name) {
            this.name = name;
            return this;
        }
        public String getName() {
            return this.name;
        }

        public ListSearchTabsByOrgIdResponseBodySearchTabResult setPriority(Integer priority) {
            this.priority = priority;
            return this;
        }
        public Integer getPriority() {
            return this.priority;
        }

        public ListSearchTabsByOrgIdResponseBodySearchTabResult setSource(String source) {
            this.source = source;
            return this;
        }
        public String getSource() {
            return this.source;
        }

        public ListSearchTabsByOrgIdResponseBodySearchTabResult setStatus(Integer status) {
            this.status = status;
            return this;
        }
        public Integer getStatus() {
            return this.status;
        }

        public ListSearchTabsByOrgIdResponseBodySearchTabResult setTabId(Integer tabId) {
            this.tabId = tabId;
            return this;
        }
        public Integer getTabId() {
            return this.tabId;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy