public static class MessagePushOverviewApplicationAppUsageReqBody.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
MessagePushOverviewApplicationAppUsageReqBody |
build() |
MessagePushOverviewApplicationAppUsageReqBody.Builder |
cycleType(Integer cycleType)
枚举值:day,week,month;week指自然周,返回当前日期所在周的数据;不满一周则从周一到当前日期算。
|
MessagePushOverviewApplicationAppUsageReqBody.Builder |
cycleType(MessagePushOverviewApplicationAppUsageMessagePushOverviewApplicationAppUsageCycleTypeEnum cycleType)
枚举值:day,week,month;week指自然周,返回当前日期所在周的数据;不满一周则从周一到当前日期算。
|
MessagePushOverviewApplicationAppUsageReqBody.Builder |
date(String date)
查询日期,若cycle_type为week,则输入的date必须为周一; 若cycle_type为month,则输入的date必须为每月1号
示例值:2021-07-08
|
MessagePushOverviewApplicationAppUsageReqBody.Builder |
departmentId(String departmentId)
需要查询的部门id,获取方法可参考[部门ID概述](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview);- 若部门id为空,则返回当前租户的使用数据;若填写部门id,则返回当前部门的使用数据(包含子部门的用户); ;- 若路径参数中department_id_type为空或者为open_department_id,则此处应该填写部门的 open_department_id;若路径参数中department_id_type为department_id,则此处应该填写部门的 department_id。
|
public MessagePushOverviewApplicationAppUsageReqBody.Builder date(String date)
示例值:2021-07-08
date - public MessagePushOverviewApplicationAppUsageReqBody.Builder cycleType(Integer cycleType)
示例值:1
cycleType - public MessagePushOverviewApplicationAppUsageReqBody.Builder cycleType(MessagePushOverviewApplicationAppUsageMessagePushOverviewApplicationAppUsageCycleTypeEnum cycleType)
示例值:1
public MessagePushOverviewApplicationAppUsageReqBody.Builder departmentId(String departmentId)
示例值:od-4e6ac4d14bcd5071a37a39de902c7141
departmentId - public MessagePushOverviewApplicationAppUsageReqBody build()
Copyright © 2024. All rights reserved.