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

com.lark.oapi.service.contact.v3.V3 Maven / Gradle / Ivy

// Code generated by lark suite oapi sdk gen
/*
 * MIT License
 *
 * Copyright (c) 2022 Lark Technologies Pte. Ltd.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice, shall be included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

package com.lark.oapi.service.contact.v3;

import com.lark.oapi.core.Config;
import com.lark.oapi.service.contact.v3.resource.*;

public class V3 {
    private final CustomAttr customAttr; // 自定义用户字段
    private final CustomAttrEvent customAttrEvent; // 事件
    private final Department department; // 部门
    private final EmployeeTypeEnum employeeTypeEnum; // 人员类型
    private final FunctionalRole functionalRole; // functional_role
    private final FunctionalRoleMember functionalRoleMember; // functional_role.member
    private final Group group; // 用户组
    private final GroupMember groupMember; // 用户组成员
    private final JobFamily jobFamily; // job_family
    private final JobLevel jobLevel; // job_level
    private final JobTitle jobTitle; // job_title
    private final Scope scope; // 通讯录权限范围
    private final Unit unit; // 单位
    private final User user; // 用户
    private final WorkCity workCity; // work_city

    public V3(Config config) {
        this.customAttr = new CustomAttr(config);
        this.customAttrEvent = new CustomAttrEvent(config);
        this.department = new Department(config);
        this.employeeTypeEnum = new EmployeeTypeEnum(config);
        this.functionalRole = new FunctionalRole(config);
        this.functionalRoleMember = new FunctionalRoleMember(config);
        this.group = new Group(config);
        this.groupMember = new GroupMember(config);
        this.jobFamily = new JobFamily(config);
        this.jobLevel = new JobLevel(config);
        this.jobTitle = new JobTitle(config);
        this.scope = new Scope(config);
        this.unit = new Unit(config);
        this.user = new User(config);
        this.workCity = new WorkCity(config);
    }

    public CustomAttr customAttr() {
        return customAttr;
    }

    public CustomAttrEvent customAttrEvent() {
        return customAttrEvent;
    }

    public Department department() {
        return department;
    }

    public EmployeeTypeEnum employeeTypeEnum() {
        return employeeTypeEnum;
    }

    public FunctionalRole functionalRole() {
        return functionalRole;
    }

    public FunctionalRoleMember functionalRoleMember() {
        return functionalRoleMember;
    }

    public Group group() {
        return group;
    }

    public GroupMember groupMember() {
        return groupMember;
    }

    public JobFamily jobFamily() {
        return jobFamily;
    }

    public JobLevel jobLevel() {
        return jobLevel;
    }

    public JobTitle jobTitle() {
        return jobTitle;
    }

    public Scope scope() {
        return scope;
    }

    public Unit unit() {
        return unit;
    }

    public User user() {
        return user;
    }

    public WorkCity workCity() {
        return workCity;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy