openlark_platform/admin/v1/admin_dept_stat/mod.rs
1//! Admin department stat module
2
3use openlark_core::config::Config;
4
5pub mod list;
6
7/// admin_dept_stat 资源服务
8#[derive(Debug, Clone)]
9pub struct AdminDeptStatService {
10 config: Config,
11}
12
13impl AdminDeptStatService {
14 /// 创建新的 admin_dept_stat 服务
15 pub fn new(config: Config) -> Self {
16 Self { config }
17 }
18
19 /// 部门维度统计列表
20 pub fn list(&self) -> list::ListAdminDeptStatRequestBuilder {
21 list::ListAdminDeptStatRequestBuilder::new(self.config.clone())
22 }
23}