com.larksuite.oapi.service.tenant.v2.TenantService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of larksuite-oapi Show documentation
Show all versions of larksuite-oapi Show documentation
Larksuite open platform facilitates the integration of enterprise applications and larksuite, making
collaboration and management more efficient
// Code generated by lark suite oapi sdk gen
package com.larksuite.oapi.service.tenant.v2;
import com.larksuite.oapi.core.api.AccessTokenType;
import com.larksuite.oapi.core.api.Api;
import com.larksuite.oapi.core.api.ReqCaller;
import com.larksuite.oapi.core.api.request.*;
import com.larksuite.oapi.core.api.response.*;
import com.larksuite.oapi.core.Config;
import com.larksuite.oapi.service.tenant.v2.model.*;
import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
public class TenantService {
private final Config config;
private final Tenants tenants;
public TenantService(Config config) {
this.config = config;
this.tenants = new Tenants(this);
}
public Tenants getTenants() {
return tenants;
}
public static class Tenants {
private final TenantService service;
public Tenants(TenantService service) {
this.service = service;
}
public TenantQueryReqCall query(RequestOptFn... optFns) {
return new TenantQueryReqCall(this, optFns);
}
}
public static class TenantQueryReqCall extends ReqCaller