repo
stringclasses
1k values
file_url
stringlengths
96
373
file_path
stringlengths
11
294
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
6 values
commit_sha
stringclasses
1k values
retrieved_at
stringdate
2026-01-04 14:45:56
2026-01-04 18:30:23
truncated
bool
2 classes
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalRecordDetail.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalRecordDetail.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; import java.util.List; /** * 审批节点详情 * * @author element */ @Data public class WxCpApprovalRecordDetail implements Serializable { private static final long serialVersionUID = -9142079764088495301L; /** * 分支审批人 */ @SerializedName("approver") private WxCpOperator approver; /** * 审批意见 */ @SerializedName("speech") private String speech; /** * 分支审批人审批状态 */ @SerializedName("sp_status") private WxCpRecordSpStatus spStatus; /** * 节点分支审批人审批操作时间戳,0表示未操作 */ @SerializedName("sptime") private Long spTime; /** * 节点分支审批人审批意见附件 */ @SerializedName("media_id") private List<String> mediaIds; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApproverAttr.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApproverAttr.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; /** * 审批方式 * * @author element */ public enum WxCpApproverAttr { /** * 或签 */ @SerializedName("1") ONE_SIGN(1), /** * 会签 */ @SerializedName("2") ALL_SIGN(2); private final Integer attr; WxCpApproverAttr(Integer attr) { this.attr = attr; } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalInfo.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalInfo.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; import java.util.List; /** * The type Wx cp approval info. * * @author element */ @Data public class WxCpApprovalInfo implements Serializable { private static final long serialVersionUID = 7387181805254287167L; @SerializedName("errcode") private Integer errCode; @SerializedName("errmsg") private String errMsg; @SerializedName("sp_no_list") private List<String> spNoList; @SerializedName("next_cursor") private Integer nextCursor; @SerializedName("new_next_cursor") private String newNextCursor; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpGetApprovalData.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpGetApprovalData.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.Getter; import lombok.Setter; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 获取审批数据(旧). * * @author Wang_Wong */ @Data public class WxCpGetApprovalData extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = 7387181805254287159L; @SerializedName("count") private Integer count; @SerializedName("total") private Integer total; @SerializedName("next_spnum") private Long nextSpNum; @SerializedName("data") private List<ApprovalData> data; /** * The type Approval data. */ @Getter @Setter public static class ApprovalData implements Serializable { private static final long serialVersionUID = -5696099236344075582L; @SerializedName("spname") private String spName; @SerializedName("apply_name") private String applyName; @SerializedName("apply_org") private String applyOrg; @SerializedName("approval_name") private List<String> approvalName; @SerializedName("notify_name") private List<String> notifyName; @SerializedName("mediaids") private List<String> mediaIds; @SerializedName("sp_status") private Integer spStatus; @SerializedName("sp_num") private Long spNum; @SerializedName("apply_time") private Long applyTime; @SerializedName("apply_user_id") private String applyUserId; @SerializedName("expense") private Expense expense; @SerializedName("comm") private Comm comm; } /** * The type Expense. */ @Getter @Setter public static class Expense implements Serializable { private static final long serialVersionUID = -5696099236344075582L; @SerializedName("expense_type") private Integer expenseType; @SerializedName("reason") private String reason; @SerializedName("item") private List<Item> item; } /** * The type Comm. */ @Getter @Setter public static class Comm implements Serializable { private static final long serialVersionUID = -5696099236344075582L; @SerializedName("apply_data") private String applyData; } /** * The type Item. */ @Getter @Setter public static class Item implements Serializable { private static final long serialVersionUID = -5696099236344075582L; @SerializedName("expenseitem_type") private Integer expenseItemType; @SerializedName("time") private Long time; @SerializedName("sums") private Integer sums; @SerializedName("reason") private String reason; } /** * From json wx cp get approval data. * * @param json the json * @return the wx cp get approval data */ public static WxCpGetApprovalData fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpGetApprovalData.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpDialRecord.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpDialRecord.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; import java.util.List; /** * 公费电话拨打记录. * * @author Element created on 2019-04-06 15:38 */ @Data public class WxCpDialRecord implements Serializable { private static final long serialVersionUID = 4178886812949929116L; @SerializedName("call_time") private Long callTime; /** * 总通话时长,单位为分钟 */ @SerializedName("total_duration") private Integer totalDuration; /** * 通话类型,1-单人通话 2-多人通话 */ @SerializedName("call_type") private Integer callType; private Caller caller; private List<Callee> callee; /** * 主叫信息 */ @Data public static class Caller implements Serializable { private static final long serialVersionUID = 4792200404338145607L; @SerializedName("userid") private String userId; private Integer duration; } /** * 被叫信息 */ @Data public static class Callee implements Serializable { private static final long serialVersionUID = 2390963671336179550L; /** * 被叫用户的userid,当被叫用户为企业内用户时返回 */ @SerializedName("userid") private String userId; /** * 被叫用户的号码,当被叫用户为外部用户时返回 */ private String phone; private Integer duration; } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpSetCheckinSchedule.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpSetCheckinSchedule.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; import java.util.List; /** * The type Wx cp set checkin schedule. */ @Data public class WxCpSetCheckinSchedule implements Serializable { private static final long serialVersionUID = -7106074373528367075L; /** * 打卡规则的规则id,可通过“获取打卡规则”、“获取打卡数据”、“获取打卡人员排班信息”等相关接口获取 */ @SerializedName("groupid") private Integer groupId; /** * 排班表信息 */ @SerializedName("items") private List<Item> items; /** * 排班表月份,格式为年月,如202011 */ @SerializedName("yearmonth") private Integer yearmonth; /** * The type Item. */ @Data public static class Item implements Serializable { private static final long serialVersionUID = -918057757709951513L; /** * 打卡人员userid */ @SerializedName("userid") private String userid; /** * 要设置的天日期,取值在1-31之间。联合yearmonth组成唯一日期 比如20201205 */ @SerializedName("day") private Integer day; /** * 对应groupid规则下的班次id,通过预先拉取规则信息获取,0代表休息 */ @SerializedName("schedule_id") private Integer scheduleId; } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpCropCheckinOption.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpCropCheckinOption.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.List; /** * 企业微信企业所有打卡规则. * * @author Liuwm */ @EqualsAndHashCode(callSuper = true) @Data public class WxCpCropCheckinOption extends WxCpCheckinGroupBase implements Serializable { private static final long serialVersionUID = 1725954575430704232L; /** * 打卡人员信息 */ @SerializedName("range") private Range range; /** * 创建打卡规则时间,为unix时间戳 */ @SerializedName("create_time") private Long createTime; /** * 打卡人员白名单,即不需要打卡人员,需要有设置白名单才能查看 */ @SerializedName("white_users") private List<String> whiteUsers; /** * 打卡方式,0:手机;2:智慧考勤机;3:手机+智慧考勤机 */ @SerializedName("type") private Integer type; /** * 打卡方式,0:手机;2:智慧考勤机;3:手机+智慧考勤机 */ @SerializedName("reporterinfo") private ReporterInfo reporterInfo; /** * 加班信息,相关信息需要设置后才能显示 */ @SerializedName("ot_info") private OtInfo otInfo; /** * 加班信息V2,新版API返回的加班信息结构 */ @SerializedName("ot_info_v2") private OtInfoV2 otInfoV2; /** * 每月最多补卡次数,默认-1表示不限制 */ @SerializedName("allow_apply_bk_cnt") private Integer allowApplyBkCnt; /** * 范围外打卡处理方式,0-视为范围外异常,默认值;1-视为正常外勤;2:不允许范围外打卡 */ @SerializedName("option_out_range") private Integer optionOutRange; /** * 规则创建人userid */ @SerializedName("create_userid") private String createUserid; /** * 人脸识别打卡开关,true为启用,false为不启用 */ @SerializedName("use_face_detect") private Boolean useFaceDetect; /** * 允许补卡时限,默认-1表示不限制。单位天 */ @SerializedName("allow_apply_bk_day_limit") private Integer allowApplyBkDayLimit; /** * 规则最近编辑人userid */ @SerializedName("update_userid") private String updateUserid; /** * 自由签到,上班打卡后xx秒可打下班卡 */ @SerializedName("offwork_interval_time") private Integer offWorkIntervalTime; /** * The type Range. */ @Data public static class Range implements Serializable { private static final long serialVersionUID = 8940086218556453088L; /** * 打卡人员中,单个打卡人员节点的userid */ @SerializedName("party_id") private List<String> partyid; /** * 打卡人员中,部门节点的id */ @SerializedName("userid") private List<String> userid; /** * 打卡人员中,标签节点的标签id */ @SerializedName("tagid") private List<Integer> tagid; } /** * The type Reporter info. */ @Data public static class ReporterInfo implements Serializable { private static final long serialVersionUID = 1132450350458936772L; /** * 汇报对象,每个汇报人用userid表示 */ @SerializedName("reporters") private List<Reporter> reporters; /** * 汇报对象更新时间 */ @SerializedName("updatetime") private long updateTime; } /** * The type Reporter. */ @Data public static class Reporter implements Serializable { private static final long serialVersionUID = 4925417850482005397L; @SerializedName("userid") private String userid; } /** * The type Ot info. */ @Data public static class OtInfo implements Serializable { private static final long serialVersionUID = 1610150484871066199L; /** * 加班类型 * 0:以加班申请核算打卡记录(根据打卡记录和加班申请核算), * 1:以打卡时间为准(根据打卡时间计算), * 2: 以加班申请审批为准(只根据加班申请计算) */ @SerializedName("type") private Integer type; /** * 允许工作日加班,true为允许,false为不允许 */ @SerializedName("allow_ot_workingday") private Boolean allowOtWorkingDay; /** * 允许非工作日加班,true为允许,flase为不允许 */ @SerializedName("allow_ot_nonworkingday") private Boolean allowOtNonworkingDay; /** * 允许非工作日加班,true为允许,flase为不允许 */ @SerializedName("otcheckinfo") private OtCheckInfo otcheckinfo; /** * 更新时间 */ @SerializedName("uptime") private Long uptime; /** * 允许非工作日加班,true为允许,flase为不允许 */ @SerializedName("otapplyinfo") private OtApplyInfo otapplyinfo; } /** * The type Ot check info. */ @Data public static class OtCheckInfo implements Serializable { private static final long serialVersionUID = -2363047492489556390L; /** * 允许工作日加班-加班开始时间:下班后xx秒开始计算加班,距离最晚下班时间的秒数,例如,1800(30分钟 乘以 60秒),默认值30分钟 */ @SerializedName("ot_workingday_time_start") private Integer otWorkingDayTimeStart; /** * 允许工作日加班-最短加班时长:不足xx秒视为未加班,单位秒,默认值30分钟 */ @SerializedName("ot_workingday_time_min") private Integer otWorkingDayTimeMin; /** * 允许工作日加班-最长加班时长:超过则视为加班xx秒,单位秒,默认值240分钟 */ @SerializedName("ot_workingday_time_max") private Integer otWorkingDayTimeMax; /** * 允许非工作日加班-最短加班时长:不足xx秒视为未加班,单位秒,默认值30分钟 */ @SerializedName("ot_nonworkingday_time_min") private Integer otNonworkingDayTimeMin; /** * 允许非工作日加班-最长加班时长:超过则视为加班xx秒 单位秒,默认值240分钟 */ @SerializedName("ot_nonworkingday_time_max") private Integer otNonworkingDayTimeMax; /** * 非工作日加班,跨天时间,距离当天00:00的秒数 */ @SerializedName("ot_nonworkingday_spanday_time") private Integer otNonworkingDaySpanDayTime; /** * 允许非工作日加班,true为允许,flase为不允许 */ @SerializedName("ot_workingday_restinfo") private OtWorkingDayRestInfo otWorkingdayRestinfo; /** * 允许非工作日加班,true为允许,flase为不允许 */ @SerializedName("ot_nonworkingday_restinfo") private OtNonworkingDayRestInfo otNonworkingdayRestinfo; } /** * The type Ot working day rest info. */ @Data public static class OtWorkingDayRestInfo implements Serializable { private static final long serialVersionUID = -4011047369711928306L; /** * 工作日加班-休息扣除类型:0-不开启扣除;1-指定休息时间扣除;2-按加班时长扣除休息时间 */ @SerializedName("type") private Integer type; /** * 工作日加班-指定休息时间配置信息,当group.ot_info.otcheckinfo.ot_workingday_restinfo.type为1时有意义 */ @SerializedName("fix_time_rule") private FixTimeRule fixTimeRule; /** * 工作日加班-按加班时长扣除配置信息,当group.ot_info.otcheckinfo.ot_workingday_restinfo.type为2时有意义 */ @SerializedName("cal_ottime_rule") private CalOtTimeRule calOttimeRule; } /** * The type Fix time rule. */ @Data public static class FixTimeRule implements Serializable { private static final long serialVersionUID = 5709478500196619664L; /** * 工作日加班-指定休息时间的开始时间, 距离当天00:00的秒数 */ @SerializedName("fix_time_begin_sec") private Integer fixTimeBeginSec; /** * 工作日加班-指定休息时间的结束时间, 距离当天00:00的秒数 */ @SerializedName("fix_time_end_sec") private Integer fixTimeEndSec; } /** * The type Cal ot time rule. */ @Data public static class CalOtTimeRule implements Serializable { private static final long serialVersionUID = -2407839982631243413L; /** * 工作日加班-按加班时长扣除条件信息 */ @SerializedName("items") private List<Item> items; } /** * The type Item. */ @Data public static class Item implements Serializable { private static final long serialVersionUID = 5235770378506228461L; /** * 加班满-时长(秒) */ @SerializedName("ot_time") private Integer otTime; /** * 对应扣除-时长(秒) */ @SerializedName("rest_time") private Integer restTime; } /** * The type Ot nonworking day rest info. */ @Data public static class OtNonworkingDayRestInfo implements Serializable { private static final long serialVersionUID = 3773846077049838088L; /** * 非工作日加班-休息扣除类型:0-不开启扣除;1-指定休息时间扣除;2-按加班时长扣除休息时间 */ @SerializedName("type") private Integer type; /** * 非工作日加班-指定休息时间配置信息,当group.ot_info.otcheckinfo.ot_workingday_restinfo.type为1时有意义 */ @SerializedName("fix_time_rule") private FixTimeRule fixTimeRule; /** * 非工作日加班-按加班时长扣除配置信息,当group.ot_info.otcheckinfo.ot_workingday_restinfo.type为2时有意义 */ @SerializedName("cal_ottime_rule") private CalOtTimeRule calOttimeRule; } /** * The type Ot apply info. */ @Data public static class OtApplyInfo implements Serializable { private static final long serialVersionUID = 961217471918884103L; /** * 允许工作日加班,true为允许,false为不允许 */ @SerializedName("allow_ot_workingday") private Boolean allowOtWorkingDay; /** * 允许非工作日加班,true为允许,flase为不允许 */ @SerializedName("allow_ot_nonworkingday") private Boolean allowOtNonworkingDay; /** * 更新时间 */ @SerializedName("uptime") private Long uptime; /** * 允许非工作日加班,true为允许,flase为不允许 */ @SerializedName("ot_workingday_restinfo") private OtWorkingDayRestInfo otWorkingdayRestinfo; /** * 允许非工作日加班,true为允许,flase为不允许 */ @SerializedName("ot_nonworkingday_restinfo") private OtNonworkingDayRestInfo otNonworkingdayRestinfo; /** * 非工作日加班,跨天时间,距离当天00:00的秒数 */ @SerializedName("ot_nonworkingday_spanday_time") private Integer otNonworkingDaySpanDayTime; } /** * 加班信息V2,新版API返回的加班信息结构 */ @Data public static class OtInfoV2 implements Serializable { private static final long serialVersionUID = 1610150484871066200L; /** * 工作日加班配置 */ @SerializedName("workdayconf") private WorkdayConf workdayConf; /** * 非工作日加班配置 */ @SerializedName("restdayconf") private RestdayConf restdayConf; /** * 节假日加班配置 */ @SerializedName("holidayconf") private HolidayConf holidayConf; /** * 工作日加班配置 */ @Data public static class WorkdayConf implements Serializable { private static final long serialVersionUID = 1610150484871066201L; /** * 是否允许工作日加班,true为允许,false为不允许 */ @SerializedName("allow_ot") private Boolean allowOt; /** * 加班类型 * 0:以加班申请核算打卡记录(根据打卡记录和加班申请核算), * 1:以打卡时间为准(根据打卡时间计算), * 2: 以加班申请审批为准(只根据加班申请计算) */ @SerializedName("type") private Integer type; } /** * 非工作日加班配置 */ @Data public static class RestdayConf implements Serializable { private static final long serialVersionUID = 1610150484871066202L; /** * 是否允许非工作日加班,true为允许,false为不允许 */ @SerializedName("allow_ot") private Boolean allowOt; /** * 加班类型 */ @SerializedName("type") private Integer type; } /** * 节假日加班配置 */ @Data public static class HolidayConf implements Serializable { private static final long serialVersionUID = 1610150484871066203L; /** * 是否允许节假日加班,true为允许,false为不允许 */ @SerializedName("allow_ot") private Boolean allowOt; /** * 加班类型 */ @SerializedName("type") private Integer type; } } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalApplyData.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalApplyData.java
package me.chanjar.weixin.cp.bean.oa; import lombok.Data; import me.chanjar.weixin.cp.bean.oa.applydata.ApplyDataContent; import java.io.Serializable; import java.util.List; /** * 审批申请数据 * * @author element */ @Data public class WxCpApprovalApplyData implements Serializable { private static final long serialVersionUID = 4061352949894274704L; private List<ApplyDataContent> contents; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpCheckinDayData.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpCheckinDayData.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; import java.util.List; /** * 企业微信打卡日报数据 */ @Data public class WxCpCheckinDayData implements Serializable { private static final long serialVersionUID = 5950483201268226746L; /** * base_info 基础信息 */ @SerializedName("base_info") private BaseInfo baseInfo; /** * The type Base info. */ @Data public static class BaseInfo implements Serializable { private static final long serialVersionUID = 3679745559788648438L; /** * date 日报日期 时间戳 */ @SerializedName("date") private Integer date; /** * record_type 记录类型:1-固定上下班;2-外出(此报表中不会出现外出打卡数据);3-按班次上下班;4-自由签到;5-加班;7-无规则 */ @SerializedName("record_type") private Integer recordType; /** * name 打卡人员姓名 */ @SerializedName("name") private String name; /** * name_ex 打卡人员姓名 */ @SerializedName("name_ex") private String nameEx; /** * departs_name 打卡人员所在部门,会显示所有所在部门 */ @SerializedName("departs_name") private String departsName; /** * acctid 打卡人员帐号,即userid */ @SerializedName("acctid") private String acctId; /** * rule_info 打卡人员所属规则信息 */ @SerializedName("rule_info") private RuleInfo ruleInfo; /** * The type Rule info. */ @Data public class RuleInfo implements Serializable { private static final long serialVersionUID = -5512479811648914189L; /** * groupid 所属规则的id */ @SerializedName("groupid") private Integer groupId; /** * groupname 打卡规则名 */ @SerializedName("groupname") private String groupName; /** * scheduleid 当日所属班次id,仅按班次上下班才有值,显示在打卡日报-班次列 */ @SerializedName("scheduleid") private Integer scheduleId; /** * schedulename 当日所属班次名称,仅按班次上下班才有值,显示在打卡日报-班次列 */ @SerializedName("schedulename") private String scheduleName; /** * checkintime 当日打卡时间,仅固定上下班规则有值,显示在打卡日报-班次列 */ @SerializedName("checkintime") private List<CheckinTime> checkinTime; /** * The type Checkin time. */ @Data public class CheckinTime implements Serializable { private static final long serialVersionUID = 1582835435812966332L; /** * work_sec 上班时间,为距离0点的时间差 */ @SerializedName("work_sec") private Integer workSec; /** * off_work_sec 下班时间,为距离0点的时间差 */ @SerializedName("off_work_sec") private Integer offWorkSec; } } /** * day_type 日报类型:0-工作日日报;1-休息日日报 */ @SerializedName("day_type") private Integer dayType; } /** * summary_info 汇总信息 */ @SerializedName("summary_info") private SummaryInfo summaryInfo; /** * The type Summary info. */ @Data public static class SummaryInfo implements Serializable { private static final long serialVersionUID = 3428576099259666595L; /** * checkin_count 当日打卡次数 */ @SerializedName("checkin_count") private Integer checkinCount; /** * regular_work_sec 当日实际工作时长,单位:秒 */ @SerializedName("regular_work_sec") private Integer regularWorkSec; /** * standard_work_sec 当日标准工作时长,单位:秒 */ @SerializedName("standard_work_sec") private Integer standardWorkSec; /** * earliest_time 当日最早打卡时间 */ @SerializedName("earliest_time") private Integer earliestTime; /** * lastest_time 当日最晚打卡时间 */ @SerializedName("lastest_time") private Integer lastestTime; } /** * holiday_infos 假勤相关信息 */ @SerializedName("holiday_infos") private List<HolidayInfos> holidayInfos; /** * The type Holiday infos. */ @Data public static class HolidayInfos implements Serializable { private static final long serialVersionUID = -6671577072585561527L; /** * sp_number 假勤相关信息 */ @SerializedName("sp_number") private String spNumber; /** * sp_title 假勤信息摘要-标题信息 */ @SerializedName("sp_title") private SpTitle spTitle; /** * The type Sp title. */ @Data public class SpTitle implements Serializable { private static final long serialVersionUID = 2148815417115384998L; /** * data 多种语言描述,目前只有中文一种 */ @SerializedName("data") private List<Data> data; /** * The type Data. */ @lombok.Data public class Data implements Serializable { private static final long serialVersionUID = -1672692024530543180L; /** * text 假勤信息摘要-标题文本 */ @SerializedName("text") private String text; /** * lang 语言类型:”zh_CN” */ @SerializedName("lang") private String lang; } } /** * sp_description 假勤信息摘要-描述信息 */ @SerializedName("sp_description") private SpDescription spDescription; /** * The type Sp description. */ @Data public class SpDescription implements Serializable { private static final long serialVersionUID = 77680581771933449L; /** * data 多种语言描述,目前只有中文一种 */ @SerializedName("data") private List<Data> data; /** * The type Data. */ @lombok.Data public class Data implements Serializable { private static final long serialVersionUID = 3555479101375365805L; /** * text 假勤信息摘要-标题文本 */ @SerializedName("text") private String text; /** * lang 语言类型:”zh_CN” */ @SerializedName("lang") private String lang; } } } /** * exception_infos 校准状态信息 */ @SerializedName("exception_infos") private List<ExceptionInfos> exceptionInfos; /** * The type Exception infos. */ @Data public static class ExceptionInfos implements Serializable { private static final long serialVersionUID = -5987438373762518299L; /** * exception 校准状态类型:1-迟到;2-早退;3-缺卡;4-旷工;5-地点异常;6-设备异常 */ @SerializedName("exception") private Integer exception; /** * count 当日此异常的次数 */ @SerializedName("count") private Integer count; /** * duration 当日此异常的时长(迟到/早退/旷工才有值) */ @SerializedName("duration") private Integer duration; } /** * ot_info 加班信息 */ @SerializedName("ot_info") private OtInfo otInfo; /** * The type Ot info. */ @Data public static class OtInfo implements Serializable { private static final long serialVersionUID = -6557759801572150175L; /** * ot_status 状态:0-无加班;1-正常;2-缺时长 */ @SerializedName("ot_status") private Integer otStatus; /** * ot_duration 加班时长 */ @SerializedName("ot_duration") private Integer otDuration; /** * exception_duration ot_status为2下,加班不足的时长 */ @SerializedName("exception_duration") private List<Integer> exceptionDuration; } /** * sp_items 假勤统计信息 */ @SerializedName("sp_items") private List<SpItem> spItems; /** * The type Sp item. */ @Data public static class SpItem implements Serializable { private static final long serialVersionUID = 2423158264958352024L; /** * type 类型:1-请假;2-补卡;3-出差;4-外出;100-外勤 */ @SerializedName("type") private Integer type; /** * vacation_id 具体请假类型,当type为1请假时,具体的请假类型id,可通过审批相关接口获取假期详情 */ @SerializedName("vacation_id") private Integer vacationId; /** * count 当日假勤次数 */ @SerializedName("count") private Integer count; /** * duration 当日假勤时长秒数,时长单位为天直接除以86400即为天数,单位为小时直接除以3600即为小时数 */ @SerializedName("duration") private Integer duration; /** * time_type 时长单位:0-按天 1-按小时 */ @SerializedName("time_type") private Integer timeType; /** * name 统计项名称 */ @SerializedName("name") private String name; } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpSpStatus.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpSpStatus.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; /** * 审批单状态 * (1-审批中;2-已通过;3-已驳回;4-已撤销;6-通过后撤销;7-已删除;10-已支付) * * @author element */ public enum WxCpSpStatus { /** * 审批中 */ @SerializedName("1") AUDITING(1), /** * 已通过 */ @SerializedName("2") PASSED(2), /** * 已驳回 */ @SerializedName("3") REJECTED(3), /** * 已撤销 */ @SerializedName("4") UNDONE(4), /** * 通过后撤销 */ @SerializedName("6") PASS_UNDONE(6), /** * 已删除 */ @SerializedName("7") DELETED(7), /** * 已支付 */ @SerializedName("10") ALREADY_PAY(10); private final Integer status; WxCpSpStatus(Integer status) { this.status = status; } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpOaSchedule.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpOaSchedule.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.experimental.Accessors; import me.chanjar.weixin.common.bean.ToJson; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 日程信息bean. * * @author <a href="https://github.com/binarywang">Binary Wang</a> created on 2020-12-25 */ @Data @Accessors(chain = true) public class WxCpOaSchedule implements Serializable, ToJson { private static final long serialVersionUID = -6821274247372646346L; /** * 日程id */ @SerializedName("schedule_id") private String scheduleId; /** * 日程编号,是一个自增数字 */ @SerializedName("sequence") private Integer sequence; /** * 组织者。不多于64字节 */ @SerializedName("organizer") private String organizer; /** * 管理员userid列表 */ @SerializedName("admins") private List<String> admins; /** * 日程参与者列表。最多支持2000人 */ @SerializedName("attendees") private List<Attendee> attendees; /** * 日程标题。0 ~ 128 字符。不填会默认显示为“新建事件” */ @SerializedName("summary") private String summary; /** * 日程描述。不多于512个字符 */ @SerializedName("description") private String description; /** * 提醒相关信息 */ @SerializedName("reminders") private Reminder reminders; /** * 日程地址。 * 不多于128个字符 */ @SerializedName("location") private String location; /** * 日程开始时间,Unix时间戳 */ @SerializedName("start_time") private Long startTime; /** * 日程结束时间,Unix时间戳 */ @SerializedName("end_time") private Long endTime; /** * 日程状态。0-正常;1-已取消 */ @SerializedName("status") private Integer status; /** * 日程所属日历ID。该日历必须是access_token所对应应用所创建的日历。 * 注意,这个日历必须是属于组织者(organizer)的日历; * 如果不填,那么插入到组织者的默认日历上。 * 第三方应用必须指定cal_id * 不多于64字节 */ @SerializedName("cal_id") private String calId; /** * 是否全天日程,0-否;1-是 */ @SerializedName("is_whole_day") private Integer isWholeDay; @Override public String toJson() { return WxCpGsonBuilder.create().toJson(this); } /** * The type Attendee. */ @Data @Accessors(chain = true) public static class Attendee implements Serializable { private static final long serialVersionUID = 5419000348428480645L; /** * 日程参与者ID, * 不多于64字节 */ @SerializedName("userid") private String userid; /** * 日程参与者的接受状态。 * 0 - 未处理 * 1 - 待定 * 2 - 全部接受 * 3 - 仅接受一次 * 4 - 拒绝 */ @SerializedName("response_status") private Integer responseStatus; } /** * The type Reminder. */ @Data @Accessors(chain = true) public static class Reminder implements Serializable { private static final long serialVersionUID = 5030527150838243356L; /** * 是否需要提醒。0-否;1-是 */ @SerializedName("is_remind") private Integer isRemind; /** * 是否重复日程。0-否;1-是 */ @SerializedName("is_repeat") private Integer isRepeat; /** * 日程开始(start_time)前多少秒提醒,当is_remind为1时有效。 * 例如: 300表示日程开始前5分钟提醒。目前仅支持以下数值: * 0 - 事件开始时 * 300 - 事件开始前5分钟 * 900 - 事件开始前15分钟 * 3600 - 事件开始前1小时 * 86400 - 事件开始前1天 * 注意:建议使用 remind_time_diffs 字段,该字段后续将会废弃。 */ @SerializedName("remind_before_event_secs") private Integer remindBeforeEventSecs; /** * 提醒时间与日程开始时间(start_time)的差值,当is_remind为1时有效。例如:-300表示日程开始前5分钟提醒。 * 特殊情况:企业微信终端设置的“全天”类型的日程,由于start_time是0点时间戳,提醒如果设置了当天9点,则会出现正数32400。 * <br/> * 取值范围:-604800 ~ 86399 */ @SerializedName("remind_time_diffs") private List<Integer> remindTimeDiffs; /** * 重复类型,当is_repeat为1时有效。目前支持如下类型: * 0 - 每日 * 1 - 每周 * 2 - 每月 * 5 - 每年 * 7 - 工作日 */ @SerializedName("repeat_type") private Integer repeatType; /** * 重复结束时刻,Unix时间戳。不填或填0表示一直重复 */ @SerializedName("repeat_until") private Long repeatUntil; /** * 是否自定义重复。0-否;1-是 */ @SerializedName("is_custom_repeat") private Integer isCustomRepeat; /** * 重复间隔 * 仅当指定为自定义重复时有效 * 该字段随repeat_type不同而含义不同 * 例如: * repeat_interval指定为3,repeat_type指定为每周重复,那么每3周重复一次; * repeat_interval指定为3,repeat_type指定为每月重复,那么每3个月重复一次 */ @SerializedName("repeat_interval") private Integer repeatInterval; /** * 每周周几重复 * 仅当指定为自定义重复且重复类型为每周时有效 * 取值范围:1 ~ 7,分别表示周一至周日 */ @SerializedName("repeat_day_of_week") private List<Integer> repeatDayOfWeek; /** * 每月哪几天重复 * 仅当指定为自定义重复且重复类型为每月时有效 * 取值范围:1 ~ 31,分别表示1~31号 */ @SerializedName("repeat_day_of_month") private List<Integer> repeatDayOfMonth; /** * 时区。UTC偏移量表示(即偏离零时区的小时数),东区为正数,西区为负数。 * 例如:+8 表示北京时间东八区 * 默认为北京时间东八区 * 取值范围:-12 ~ +12 */ @SerializedName("timezone") private Integer timezone; /** * 重复日程不包含的日期列表。对重复日程修改/删除特定一天或多天,则原来的日程将会排除对应的日期。 */ @SerializedName("exclude_time_list") private List<ExcludeTime> excludeTimeList; @Data @Accessors(chain = true) public static class ExcludeTime implements Serializable { private static final long serialVersionUID = 5030527150838243359L; /** * 不包含的日期时间戳。 */ @SerializedName("start_time") private Long startTime; } } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpOaApprovalTemplateResult.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpOaApprovalTemplateResult.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.bean.oa.templatedata.TemplateTips; import me.chanjar.weixin.cp.bean.oa.templatedata.TemplateTitle; import me.chanjar.weixin.cp.bean.oa.templatedata.control.*; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 审批模板详情 * * @author gyv12345@163.com / Wang_Wong */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpOaApprovalTemplateResult implements Serializable { private static final long serialVersionUID = 6690547131189343887L; @SerializedName("errcode") private Integer errCode; @SerializedName("errmsg") private String errMsg; @SerializedName("template_names") private List<TemplateTitle> templateNames; @SerializedName("template_content") private TemplateContent templateContent; @Data public static class TemplateContent implements Serializable { private static final long serialVersionUID = -5640250983775840865L; private List<TemplateControls> controls; } @Data public static class TemplateControls implements Serializable { private static final long serialVersionUID = -7496794407355510374L; private TemplateProperty property; private TemplateConfig config; } @Data public static class TemplateProperty implements Serializable { private static final long serialVersionUID = -3429251158540167453L; private String control; private String id; private List<TemplateTitle> title; private List<TemplateTitle> placeholder; private Integer require; @SerializedName("un_print") private Integer unPrint; private TemplateConfig config; } @Data public static class TemplateConfig implements Serializable { private static final long serialVersionUID = 6993937809371277669L; private TemplateDate date; private TemplateSelector selector; private TemplateContact contact; private TemplateTable table; private TemplateAttendance attendance; @SerializedName("vacation_list") private TemplateVacation vacationList; @SerializedName("tips") private TemplateTips tips; } @Data public static class TemplateSelector implements Serializable { private static final long serialVersionUID = 4995408101489736881L; /** * single-单选;multi-多选 */ private String type; private List<TemplateOption> options; } @Data public static class TemplateOption implements Serializable { private static final long serialVersionUID = -7883792668568772078L; private String key; /** * 获取审批模板详情,value为list类型 * <a href="https://developer.work.weixin.qq.com/document/path/91982">文档链接</a> */ @SerializedName("value") private List<TemplateTitle> value; } public static WxCpOaApprovalTemplateResult fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpOaApprovalTemplateResult.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalComment.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalComment.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; import java.util.List; /** * 审批申请备注信息 * * @author element */ @Data public class WxCpApprovalComment implements Serializable { private static final long serialVersionUID = -5430367411926856292L; /** * 备注人信息 */ private WxCpOperator commentUserInfo; /** * 备注提交时间戳,Unix时间戳 */ @SerializedName("commenttime") private Long commentTime; /** * 备注id */ @SerializedName("commentid") private String commentId; /** * 备注文本内容 */ @SerializedName("commentcontent") private String commentContent; /** * 备注附件id,可能有多个 */ @SerializedName("media_id") private List<String> mediaIds; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalDetailResult.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalDetailResult.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; import java.util.List; /** * 审批申请详情响应结果 * * @author element */ @Data public class WxCpApprovalDetailResult implements Serializable { private static final long serialVersionUID = 3909779949756252918L; @SerializedName("errcode") private Integer errCode; @SerializedName("errmsg") private String errMsg; @SerializedName("info") private WxCpApprovalDetail info; /** * The type Wx cp approval detail. */ @Data public static class WxCpApprovalDetail implements Serializable { private static final long serialVersionUID = 1353393306564207170L; /** * 审批编号 */ @SerializedName("sp_no") private String spNo; /** * 审批申请类型名称(审批模板名称) */ @SerializedName("sp_name") private String spName; /** * 申请单状态:1-审批中;2-已通过;3-已驳回;4-已撤销;6-通过后撤销;7-已删除;10-已支付 */ @SerializedName("sp_status") private WxCpSpStatus spStatus; /** * 审批模板id。可在“获取审批申请详情”、“审批状态变化回调通知”中获得,也可在审批模板的模板编辑页面链接中获得。 */ @SerializedName("template_id") private String templateId; /** * 审批申请提交时间,Unix时间戳 */ @SerializedName("apply_time") private Long applyTime; /** * 申请人信息 */ @SerializedName("applyer") private WxCpApprovalApplier applier; /** * 审批流程信息,可能有多个审批节点 */ @SerializedName("sp_record") private WxCpApprovalRecord[] spRecords; /** * 抄送信息,可能有多个抄送节点 */ @SerializedName("notifyer") private WxCpOperator[] notifiers; /** * 审批申请数据 */ @SerializedName("apply_data") private WxCpApprovalApplyData applyData; /** * 审批申请备注信息,可能有多个备注节点 */ @SerializedName("comments") private List<WxCpApprovalComment> comments; } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalRecord.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalRecord.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; import java.util.List; /** * 审批流程信息 * * @author element */ @Data public class WxCpApprovalRecord implements Serializable { private static final long serialVersionUID = -327230786004105887L; @SerializedName("sp_status") private WxCpRecordSpStatus status; @SerializedName("approverattr") private WxCpApproverAttr approverAttr; private List<WxCpApprovalRecordDetail> details; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalApplier.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalApplier.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; /** * 申请人信息 * * @author element */ @Data @EqualsAndHashCode(callSuper = true) public class WxCpApprovalApplier extends WxCpOperator implements Serializable { private static final long serialVersionUID = -8974662568286821271L; /** * 申请人所在部门id */ @SerializedName("partyid") private String partyId; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpCheckinSchedule.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpCheckinSchedule.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; import java.util.List; /** * 打卡人员排班信息 */ @Data public class WxCpCheckinSchedule implements Serializable { private static final long serialVersionUID = 5515056962298169806L; /** * userid 打卡人员userid */ @SerializedName("userid") private String userid; /** * yearmonth 排班表月份,格式为年月,如202011 */ @SerializedName("yearmonth") private Integer yearmonth; /** * groupid 打卡规则id */ @SerializedName("groupid") private Integer groupid; /** * groupname 打卡规则名 */ @SerializedName("groupname") private String groupName; /** * schedule 个人排班信息 */ @SerializedName("schedule") private UserSchedule schedule; /** * The type User schedule. */ @Data public static class UserSchedule implements Serializable { private static final long serialVersionUID = 9138985222324576857L; /** * scheduleList 个人排班表信息 */ @SerializedName("scheduleList") private List<Schedule> scheduleList; /** * The type Schedule. */ @Data public class Schedule implements Serializable { private static final long serialVersionUID = 8344153237512495728L; /** * day 排班日期,为表示当月第几天的数字 */ @SerializedName("day") private Integer day; /** * schedule_info 排班日期,为表示当月第几天的数字 */ @SerializedName("schedule_info") private ScheduleInfo scheduleInfo; /** * The type Schedule info. */ @Data public class ScheduleInfo implements Serializable { private static final long serialVersionUID = 1317096341116256963L; /** * schedule_id 当日安排班次id,班次id也可在打卡规则中查询获得 */ @SerializedName("schedule_id") private Integer scheduleId; /** * schedule_name 排班日期,为表示当月第几天的数字 */ @SerializedName("schedule_name") private String scheduleName; /** * time_section 排班日期,为表示当月第几天的数字 */ @SerializedName("time_section") private List<TimeSection> timeSection; /** * The type Time section. */ @Data public class TimeSection implements Serializable { private static final long serialVersionUID = -3447467962751285748L; /** * id 时段id,为班次中某一堆上下班时间组合的id */ @SerializedName("id") private Integer id; /** * work_sec 上班时间。距当天00:00的秒数 */ @SerializedName("work_sec") private Integer workSec; /** * off_work_sec 下班时间。距当天00:00的秒数 */ @SerializedName("off_work_sec") private Integer offWorkSec; /** * remind_work_sec 上班提醒时间。距当天00:00的秒数 */ @SerializedName("remind_work_sec") private Integer remindWorkSec; /** * remind_off_work_sec 下班提醒时间。距当天00:00的秒数 */ @SerializedName("remind_off_work_sec") private Integer remindOffWorkSec; } } } } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpCheckinData.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpCheckinData.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; import java.util.List; /** * 企业微信打卡数据. * * @author Element created on 2019-04-06 11:01 */ @Data public class WxCpCheckinData implements Serializable { private static final long serialVersionUID = 1915820330847799605L; /** * userid 用户id */ @SerializedName("userid") private String userId; /** * groupname 打卡规则名称 */ @SerializedName("groupname") private String groupName; /** * checkin_type 打卡类型。字符串,目前有:上班打卡,下班打卡,外出打卡 */ @SerializedName("checkin_type") private String checkinType; /** * exception_type 异常类型,字符串,包括:时间异常,地点异常,未打卡,wifi异常,非常用设备。如果有多个异常,以分号间隔 */ @SerializedName("exception_type") private String exceptionType; /** * checkin_time 打卡时间。Unix时间戳 */ @SerializedName("checkin_time") private Long checkinTime; /** * location_title 打卡地点title */ @SerializedName("location_title") private String locationTitle; /** * location_detail 打卡地点详情 */ @SerializedName("location_detail") private String locationDetail; /** * wifiname 打卡wifi名称 */ @SerializedName("wifiname") private String wifiName; /** * wifimac 打卡的MAC地址/bssid */ @SerializedName("wifimac") private String wifiMac; /** * notes 打卡备注 */ private String notes; /** * mediaids 打卡的附件media_id,可使用media/get获取附件 */ @SerializedName("mediaids") private List<String> mediaIds; /** * lat 位置打卡地点纬度,是实际纬度的1000000倍,与腾讯地图一致采用GCJ-02坐标系统标准 */ private Integer lat; /** * lng 位置打卡地点经度,是实际经度的1000000倍,与腾讯地图一致采用GCJ-02坐标系统标准 */ private Integer lng; /** * deviceid 打卡设备id */ @SerializedName("deviceid") private String deviceId; /** * 标准打卡时间,指此次打卡时间对应的标准上班时间或标准下班时间 */ @SerializedName("sch_checkin_time") private Long schCheckinTime; /** * 规则id,表示打卡记录所属规则的id */ @SerializedName("groupid") private Integer groupId; /** * 班次id,表示打卡记录所属规则中,所属班次的id */ @SerializedName("schedule_id") private Integer scheduleId; /** * 时段id,表示打卡记录所属规则中,某一班次中的某一时段的id,如上下班时间为9:00-12:00、13:00-18:00的班次中,9:00-12:00为其中一组时段 */ @SerializedName("timeline_id") private Integer timelineId; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpOperator.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpOperator.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; /** * 企业微信操作人 * * @author element */ @Data public class WxCpOperator implements Serializable { private static final long serialVersionUID = 5797144853574346736L; /** * 企业微信userid */ @SerializedName("userid") private String userId; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpCheckinGroupBase.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpCheckinGroupBase.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; import java.util.List; /** * 打卡规则基础信息 * * @author zhongjun96 * @date 2023/7/7 **/ @Data public class WxCpCheckinGroupBase implements Serializable { private static final long serialVersionUID = -2763570465930237249L; /** * 打卡规则类型,1:固定时间上下班;2:按班次上下班;3:自由上下班 */ @SerializedName("grouptype") private Long groupType; /** * 打卡规则id */ @SerializedName("groupid") private Long groupId; /** * 打卡规则名称 */ @SerializedName("groupname") private String groupName; /** * 打卡时间,当规则类型为排班时没有意义 */ @SerializedName("checkindate") private List<CheckinDate> checkinDate; /** * 特殊日期-必须打卡日期信息,timestamp表示具体时间 */ @SerializedName("spe_workdays") private List<SpeWorkday> speWorkdays; /** * 特殊日期-不用打卡日期信息, timestamp表示具体时间 */ @SerializedName("spe_offdays") private List<SpeOffDay> speOffDays; /** * 是否同步法定节假日,true为同步,false为不同步,当前排班不支持 */ @SerializedName("sync_holidays") private Boolean syncHolidays; /** * 是否打卡必须拍照,true为必须拍照,false为不必须拍照 */ @SerializedName("need_photo") private Boolean needPhoto; /** * 是否备注时允许上传本地图片,true为允许,false为不允许 */ @SerializedName("note_can_use_local_pic") private Boolean noteCanUseLocalPic; /** * 是否非工作日允许打卡,true为允许,false为不允许 */ @SerializedName("allow_checkin_offworkday") private Boolean allowCheckinOffWorkDay; /** * 是否允许提交补卡申请,true为允许,false为不允许 */ @SerializedName("allow_apply_offworkday") private Boolean allowApplyOffWorkDay; /** * 打卡地点-WiFi打卡信息 */ @SerializedName("wifimac_infos") private List<WifiMacInfo> wifiMacInfos; /** * 打卡地点-WiFi打卡信息 */ @SerializedName("loc_infos") private List<LocInfo> locInfos; /** * 排班信息,只有规则为按班次上下班打卡时才有该配置 */ @SerializedName("schedulelist") private List<Schedule> schedulelist; /** * The type Checkin date. */ @Data public static class CheckinDate implements Serializable { private static final long serialVersionUID = -8560643656775167406L; /** * 工作日。若为固定时间上下班或自由上下班,则1到6分别表示星期一到星期六,0表示星期日 */ @SerializedName("workdays") private List<Integer> workdays; /** * 工作日上下班打卡时间信息 */ @SerializedName("checkintime") private List<CheckinTime> checkinTime; /** * 下班不需要打卡,true为下班不需要打卡,false为下班需要打卡 */ @SerializedName("noneed_offwork") private Boolean noneedOffwork; /** * 打卡时间限制(毫秒) */ @SerializedName("limit_aheadtime") private Long limitAheadtime; /** * 弹性时间(毫秒)只有flex_on_duty_time,flex_off_duty_time不生效时(值为-1)才有意义 */ @SerializedName("flex_time") private Integer flexTime; /** * 允许迟到时间,单位ms */ @SerializedName("flex_on_duty_time") private Integer flexOnDutyTime; /** * 允许早退时间,单位ms */ @SerializedName("flex_off_duty_time") private Integer flexOffDutyTime; /** * 是否允许弹性时间 */ @SerializedName("allow_flex") private Boolean allowFlex; /** * 迟到规则 */ @SerializedName("late_rule") private LateRule lateRule; /** * 最早可打卡时间限制 */ @SerializedName("max_allow_arrive_early") private Integer maxAllowArriveEarly; /** * 最晚可打卡时间限制 */ @SerializedName("max_allow_arrive_late") private Integer maxAllowArriveLate; } /** * The type Checkin time. */ @Data public static class CheckinTime implements Serializable { private static final long serialVersionUID = -5507709858609705279L; /** * 时段id,为班次中某一堆上下班时间组合的id */ @SerializedName("time_id") private Integer timeId; /** * 上班时间,表示为距离当天0点的秒数。 */ @SerializedName("work_sec") private Integer workSec; /** * 下班时间,表示为距离当天0点的秒数。 */ @SerializedName("off_work_sec") private Integer offWorkSec; /** * 上班提醒时间,表示为距离当天0点的秒数。。 */ @SerializedName("remind_work_sec") private Integer remindWorkSec; /** * 下班提醒时间,表示为距离当天0点的秒数。 */ @SerializedName("remind_off_work_sec") private Integer remindOffWorkSec; /** * 休息开始时间,仅单时段支持,距离0点的秒 */ @SerializedName("rest_begin_time") private Integer restBeginTime; /** * 休息结束时间,仅单时段支持,距离0点的秒 */ @SerializedName("rest_end_time") private Integer restEndTime; /** * 是否允许休息 */ @SerializedName("allow_rest") private Boolean allowRest; /** * 最早可打卡时间,距离0点的秒数 */ @SerializedName("earliest_work_sec") private Integer earliestWorkSec; /** * 最晚可打卡时间,距离0点的秒数 */ @SerializedName("latest_work_sec") private Integer latestWorkSec; /** * 最早可下班打卡时间,距离0点的秒数 */ @SerializedName("earliest_off_work_sec") private Integer earliestOffWorkSec; /** * 最晚可下班打卡时间,距离0点的秒数 */ @SerializedName("latest_off_work_sec") private Integer latestOffWorkSec; /** * 上班无需打卡 */ @SerializedName("no_need_checkon") private Boolean noNeedCheckon; /** * 下班无需打卡 */ @SerializedName("no_need_checkoff") private Boolean noNeedCheckoff; } /** * The type Spe workday. */ @Data public static class SpeWorkday implements Serializable { private static final long serialVersionUID = -4620710297258742666L; /** * 特殊日期-必须打卡日期时间戳 */ @SerializedName("timestamp") private Long timestamp; /** * 特殊日期备注 */ @SerializedName("notes") private String notes; /** * 特殊日期-必须打卡日期-上下班打卡时间 */ @SerializedName("checkintime") private List<CheckinTime> checkinTime; } /** * The type Spe off day. */ @Data public static class SpeOffDay implements Serializable { private static final long serialVersionUID = 9214798931489490993L; /** * 特殊日期-不用打卡日期时间戳 */ @SerializedName("timestamp") private Long timestamp; /** * 特殊日期备注 */ @SerializedName("notes") private String notes; } /** * The type Wifi mac info. */ @Data public static class WifiMacInfo implements Serializable { private static final long serialVersionUID = 6742659716677227089L; /** * WiFi打卡地点名称 */ @SerializedName("wifiname") private String wifiname; /** * WiFi打卡地点MAC地址/bssid */ @SerializedName("wifimac") private String wifimac; } /** * The type Loc info. */ @Data public static class LocInfo implements Serializable { private static final long serialVersionUID = -5591379191341944101L; /** * 位置打卡地点纬度,是实际纬度的1000000倍,与腾讯地图一致采用GCJ-02坐标系统标准 */ @SerializedName("lat") private Long lat; /** * 位置打卡地点经度,是实际经度的1000000倍,与腾讯地图一致采用GCJ-02坐标系统标准 */ @SerializedName("lng") private Long lng; /** * 位置打卡地点名称 */ @SerializedName("loc_title") private String locTitle; /** * 位置打卡地点详情 */ @SerializedName("loc_detail") private String locDetail; /** * 允许打卡范围(米) */ @SerializedName("distance") private Integer distance; } /** * The type Schedule. */ @Data public static class Schedule implements Serializable { private static final long serialVersionUID = -2461113644925307266L; /** * 班次id */ @SerializedName("schedule_id") private Integer scheduleId; /** * 班次名称 */ @SerializedName("schedule_name") private String scheduleName; /** * 班次上下班时段信息 */ @SerializedName("time_section") private List<TimeSection> timeSection; /** * 允许提前打卡时间 */ @SerializedName("limit_aheadtime") private Long limitAheadTime; /** * 下班xx秒后不允许打下班卡 */ @SerializedName("limit_offtime") private Integer limitOffTime; /** * 下班不需要打卡 */ @SerializedName("noneed_offwork") private Boolean noNeedOffWork; /** * 是否允许弹性时间 */ @SerializedName("allow_flex") private Boolean allowFlex; /** * 允许迟到时间 */ @SerializedName("flex_on_duty_time") private Integer flexOnDutyTime; /** * 允许早退时间 */ @SerializedName("flex_off_duty_time") private Integer flexOffDutyTime; /** * 非工作日加班,跨天时间,距离当天00:00的秒数 */ @SerializedName("late_rule") private LateRule lateRule; /** * 最早可打卡时间限制 */ @SerializedName("max_allow_arrive_early") private Integer maxAllowArriveEarly; /** * 最晚可打卡时间限制,max_allow_arrive_early、max_allow_arrive_early与flex_on_duty_time、flex_off_duty_time互斥,当设置其中一组时,另一组数值置0 */ @SerializedName("max_allow_arrive_late") private Integer maxAllowArriveLate; } /** * The type Time section. */ @Data public static class TimeSection implements Serializable { private static final long serialVersionUID = 7497252128339062724L; /** * 时段id,为班次中某一堆上下班时间组合的id */ @SerializedName("time_id") private Integer timeId; /** * 上班时间,表示为距离当天0点的秒数。 */ @SerializedName("work_sec") private Integer workSec; /** * 下班时间,表示为距离当天0点的秒数。 */ @SerializedName("off_work_sec") private Integer offWorkSec; /** * 上班提醒时间,表示为距离当天0点的秒数。 */ @SerializedName("remind_work_sec") private Long remindWorkSec; /** * 下班提醒时间,表示为距离当天0点的秒数。 */ @SerializedName("remind_off_work_sec") private Integer remindOffWorkSec; /** * 休息开始时间,仅单时段支持,距离0点的秒 */ @SerializedName("rest_begin_time") private Integer restBeginTime; /** * 休息结束时间,仅单时段支持,距离0点的秒 */ @SerializedName("rest_end_time") private Integer restEndTime; /** * 是否允许休息 */ @SerializedName("allow_rest") private Boolean allowRest; } /** * The type Late rule. */ @Data public static class LateRule implements Serializable { private static final long serialVersionUID = 5604969713950037053L; /** * 晚走的时间 距离最晚一个下班的时间单位:秒 */ @SerializedName("offwork_after_time") private Integer offWorkAfterTime; /** * 第二天第一个班次允许迟到的弹性时间单位:秒 */ @SerializedName("onwork_flex_time") private Integer onWorkFlexTime; /** * 是否允许超时下班(下班晚走次日晚到)允许时onwork_flex_time,offwork_after_time才有意义 */ @SerializedName("allow_offwork_after_time") private Boolean allowOffWorkAfterTime; /** * 迟到规则时间 */ @SerializedName("timerules") private List<TimeRule> timerules; } /** * The type Time rule. */ @Data public static class TimeRule implements Serializable { private static final long serialVersionUID = 5680614050081598333L; /** * 晚走的时间 距离最晚一个下班的时间单位:秒 */ @SerializedName("offwork_after_time") private Integer offWorkAfterTime; /** * 第二天第一个班次允许迟到的弹性时间单位:秒 */ @SerializedName("onwork_flex_time") private Integer onWorkFlexTime; } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpRecordSpStatus.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpRecordSpStatus.java
package me.chanjar.weixin.cp.bean.oa; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Getter; /** * 审批记录(节点)分支审批状态 * <p> * 1-审批中;2-已同意;3-已驳回;4-已转审;11-已退回 * * @author element */ @AllArgsConstructor @Getter public enum WxCpRecordSpStatus { /** * 审批中 */ @SerializedName("1") AUDITING(1), /** * 已同意 */ @SerializedName("2") PASSED(2), /** * 已驳回 */ @SerializedName("3") REJECTED(3), /** * 已转审 */ @SerializedName("4") TURNED(4), /** * 已退回 */ @SerializedName("11") WITHDRAWN(11), /** * 12-已加签 */ @SerializedName("12") SIGNED(12), /** * 13-已同意并加签 */ @SerializedName("13") PASSEDANDSIGNED(13); private final Integer status; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/applydata/ContentValue.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/applydata/ContentValue.java
package me.chanjar.weixin.cp.bean.oa.applydata; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.experimental.Accessors; import java.io.Serializable; import java.math.BigDecimal; import java.util.List; /** * The type Content value. * * @author element */ @Data @Accessors(chain = true) public class ContentValue implements Serializable { private static final long serialVersionUID = -5607678965965065261L; private String text; @SerializedName("new_number") private String newNumber; @SerializedName("new_money") private String newMoney; private ContentValue.Date date; private ContentValue.Selector selector; private List<ContentValue.Member> members; private List<ContentValue.Department> departments; @SerializedName("new_tips") private NewTips newTips; private List<ContentValue.File> files; private List<ContentValue.Child> children; @SerializedName("related_approval") private List<RelatedApproval> relatedApproval; private Attendance attendance; private Vacation vacation; @SerializedName("date_range") private Attendance.DataRange dateRange; @SerializedName("punch_correction") private PunchCorrection punchCorrection; private Location location; private Formula formula; /** * The type Date. */ @Data public static class Date implements Serializable { private static final long serialVersionUID = -6181554080062231138L; private String type; @SerializedName("s_timestamp") private String timestamp; } /** * The type Selector. */ @Data public static class Selector implements Serializable { private static final long serialVersionUID = 7305458759126951773L; private String type; private List<Option> options; /** * The type Option. */ @Data public static class Option implements Serializable { private static final long serialVersionUID = -3471071106328280252L; private String key; @SerializedName("value") private List<ContentTitle> values; } } /** * The type Member. */ @Data public static class Member implements Serializable { private static final long serialVersionUID = 1316551341955496067L; @SerializedName("userid") private String userId; private String name; } /** * The type Department. */ @Data public static class Department implements Serializable { private static final long serialVersionUID = -2513762192924826234L; @SerializedName("openapi_id") private String openApiId; private String name; } /** * The type Tips. */ @Data public static class NewTips implements Serializable { private static final long serialVersionUID = 1094978100200056100L; @SerializedName("tips_content") private List<TipsContent> tipsContent; /** * The type tips_content. */ @Data public static class TipsContent implements Serializable { private static final long serialVersionUID = 559432801311084797L; @SerializedName("text") private Text text; private String lang; /** * The type sub_text. */ @Data public static class Text implements Serializable { private static final long serialVersionUID = -70174360931158924L; @SerializedName("sub_text") private List<SubText> subText; } /** * The type sub_text. */ @Data public static class SubText implements Serializable { private static final long serialVersionUID = -8226911175438019317L; private Integer type; private Content content; @Data public static class Content implements Serializable { private static final long serialVersionUID = -6813250009451940525L; @SerializedName("plain_text") private PlainText plainText; private Link link; @Data public static class PlainText implements Serializable { private static final long serialVersionUID = -599377674188314118L; private String content; } @Data public static class Link implements Serializable { private static final long serialVersionUID = 2784173996170990308L; private String title; private String url; } } } } } /** * The type File. */ @Data public static class File implements Serializable { private static final long serialVersionUID = 3890971381800855142L; @SerializedName("file_id") private String fileId; @SerializedName("file_name") private String fileName; @SerializedName("file_url") private String fileUrl; } /** * The type Child. */ @Data public static class Child implements Serializable { private static final long serialVersionUID = -3500102073821161558L; private List<ApplyDataContent> list; } /** * The type Attendance. */ @Data public static class Attendance implements Serializable { private static final long serialVersionUID = -6627566040706594166L; @SerializedName("date_range") private DataRange dateRange; private Integer type; @SerializedName("slice_info") private SliceInfo sliceInfo; /** * The type Data range. */ @Data public static class DataRange implements Serializable { private static final long serialVersionUID = -3411836592583718255L; private String type; @SerializedName("new_begin") private Long begin; @SerializedName("new_end") private Long end; @SerializedName("new_duration") private Long duration; } /** * The type slice_info */ @Data public static class SliceInfo implements Serializable { private static final long serialVersionUID = 4369560551634923348L; @SerializedName("day_items") private List<DayItems> dayItems; private Long duration; private Integer state; /** * The type day_items */ @Data public static class DayItems implements Serializable { private static final long serialVersionUID = -7076615961077782776L; private Long daytime; private Long duration; } } } /** * The type Vacation. */ @Data public static class Vacation implements Serializable { private static final long serialVersionUID = 2120523160034749170L; private Selector selector; private Attendance attendance; } /** * 关联审批单控件 */ @Data public static class RelatedApproval implements Serializable { private static final long serialVersionUID = 8629601623267510738L; /** * 关联审批单的模板名 */ @SerializedName("template_names") private List<TemplateName> templateNames; /** * 关联审批单的状态 */ @SerializedName("sp_status") private Integer spStatus; /** * 关联审批单的提单者 */ private String name; /** * 关联审批单的提单时间 */ @SerializedName("create_time") private Long createTime; /** * 关联审批单的审批单号 */ @SerializedName("sp_no") private String spNo; } /** * The type Template name. */ @Data public static class TemplateName implements Serializable { private static final long serialVersionUID = 3152481506054355937L; private String text; private String lang; } /** * The type Punch correction. */ @Data public static class PunchCorrection implements Serializable { private static final long serialVersionUID = 2120523160034749170L; private String state; private Long time; private Integer version; @SerializedName("daymonthyear") private Long dayMonthYear; } /** * The type Location */ @Data public static class Location implements Serializable { private static final long serialVersionUID = 2480012159725572839L; private BigDecimal latitude; private BigDecimal longitude; private String title; private String address; private Long time; } /** * The type Formula */ @Data public static class Formula implements Serializable { private static final long serialVersionUID = 816968197271971247L; private String value; } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/applydata/ContentTitle.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/applydata/ContentTitle.java
package me.chanjar.weixin.cp.bean.oa.applydata; import lombok.Data; import java.io.Serializable; /** * The type Content title. * * @author element */ @Data public class ContentTitle implements Serializable { private static final long serialVersionUID = -4501999157383517007L; private String text; private String lang; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/applydata/ApplyDataContent.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/applydata/ApplyDataContent.java
package me.chanjar.weixin.cp.bean.oa.applydata; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.experimental.Accessors; import java.io.Serializable; import java.util.List; /** * The type Apply data content. * * @author element */ @Data @Accessors(chain = true) public class ApplyDataContent implements Serializable { private static final long serialVersionUID = 8456821731930526935L; /** * 控件类型:Text-文本;Textarea-多行文本;Number-数字;Money-金额;Date-日期/日期+时间; * Selector-单选/多选;;Contact-成员/部门;Tips-说明文字;File-附件;Table-明细; */ private String control; /** * 控件id:控件的唯一id,可通过“获取审批模板详情”接口获取 */ private String id; @SerializedName("title") private List<ContentTitle> titles; /** * 控件值 ,需在此为申请人在各个控件中填写内容不同控件有不同的赋值参数,具体说明详见附录。模板配置的控件属性为必填时,对应value值需要有值。 */ private ContentValue value; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/mail/WxCpMailMeetingSendRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/mail/WxCpMailMeetingSendRequest.java
package me.chanjar.weixin.cp.bean.oa.mail; import com.google.gson.annotations.SerializedName; import lombok.*; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 发送会议邮件请求. * * @author Hugo */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpMailMeetingSendRequest implements Serializable { private static final long serialVersionUID = -4961279393895454138L; /** * 收件人,to.emails 和 to.userids 至少传一个 */ @SerializedName("to") private TO to; /** * 抄送 */ @SerializedName("cc") private CC cc; /** * 文档类型, 3:文档 4:表格 */ @SerializedName("bcc") private BCC bcc; /** * 标题 */ @SerializedName("subject") private String subject; /** * 内容 */ @SerializedName("content") private String content; /** * 附件相关 */ @SerializedName("attachment_list") private List<Attachment> attachmentList; /** * 内容类型 html,text(默认是html) */ @SerializedName("content_type") private String contentType; /** * 表示是否开启id转译,0表示否,1表示是,默认0。仅第三方应用需要用到,企业自建应用可以忽略。 * 目前仅subject、content、attachment_list[].file_name字段支持转译。 */ @SerializedName("enable_id_trans") private Integer enableIdTrans; /** * 会议相关,会议邮件必填,且必须同时带上schedule,会议的基本设置放在schedule里 */ @SerializedName("meeting") private Meeting meeting; @Getter @Setter public static class TO implements Serializable { private static final long serialVersionUID = -4860239393895754598L; /** * 收件人,邮箱地址 */ @SerializedName("emails") private List<String> emails; /** * 收件人,企业内成员的userid */ @SerializedName("userids") private List<String> userIds; /** * From json space info. * * @param json the json * @return the space info */ public static TO fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, TO.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class CC implements Serializable { private static final long serialVersionUID = -4863239393895754598L; /** * 抄送人,邮箱地址 */ @SerializedName("emails") private List<String> emails; /** * 抄送人,企业内成员的userid */ @SerializedName("userids") private List<String> userIds; /** * From json space info. * * @param json the json * @return the space info */ public static CC fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, CC.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class BCC implements Serializable { private static final long serialVersionUID = -4860239393885754598L; /** * 密送人,邮箱地址 */ @SerializedName("emails") private List<String> emails; /** * 密送人,企业内成员的userid */ @SerializedName("userids") private List<String> userIds; /** * From json space info. * * @param json the json * @return the space info */ public static BCC fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, BCC.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class Attachment implements Serializable { private static final long serialVersionUID = -4860230393895754598L; /** * 文件名 */ @SerializedName("file_name") private String fileName; /** * 文件内容(base64编码),所有附件加正文的大小不允许超过50M, 且附件个数不能超过200个 */ @SerializedName("content") private String content; /** * From json space info. * * @param json the json * @return the space info */ public static Attachment fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, Attachment.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class Meeting implements Serializable { private static final long serialVersionUID = -4860239393895754598L; /** * 会议相关设置 */ @SerializedName("option") private Option option; /** * 会议主持人列表,最多10个。定义见收件人字段,只支持填userid */ @SerializedName("hosts") private Hosts hosts; /** * 会议管理员字段, , 仅可指定1人,只支持传userid,必须是同企业的用户,且在参与人中 */ @SerializedName("meeting_admins") private MeetingAdmins meetingAdmins; /** * From json space info. * * @param json the json * @return the space info */ public static WxCpMailMeetingSendRequest.Meeting fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpMailMeetingSendRequest.Meeting.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class Option implements Serializable { private static final long serialVersionUID = -4860239393895754598L; /** * 入会密码,仅可输入4-6位纯数字 */ @SerializedName("password") private String password; /** * 是否自动录制 * 0:未开启自动录制,1:开启自动本地录制,2:开启自动云录制;默认不开启 */ @SerializedName("auto_record") private Integer autoRecord; /** * 是否开启等候室 * false:不开启等候室;true:开启等候室;默认不开 */ @SerializedName("enable_waiting_room") private Boolean enableWaitingRoom; /** * 是否允许成员在主持人进会前加入。 * true:允许;false:不允许。默认允许 */ @SerializedName("allow_enter_before_host") private Boolean allowEnterBeforeHost; /** * 是否限制成员入会 * 0:所有人可入会 2:仅企业内部用户可入会;默认所有人可入会 */ @SerializedName("enter_restraint") private Integer enterRestraint; /** * 是否开启屏幕水印 * true:开启;false:不开启。默认不开启 */ @SerializedName("enable_screen_watermark") private Boolean enableScreenWatermark; /** * 成员入会时是否静音 * 1:开启;0:关闭;2:超过6人后自动开启静音。默认超过6人自动开启静音 */ @SerializedName("enable_enter_mute") private Integer enableEnterMute; /** * 会议开始时是否提醒 * 1:不提醒 2:仅提醒主持人 3:提醒所有成员入会; 默认仅提醒主持人 */ @SerializedName("remind_scope") private Integer remindScope; /** * 水印类型 * 0:单排水印 1:多排水印;默认单排水印 */ @SerializedName("water_mark_type") private Integer waterMarkType; /** * From json space info. * * @param json the json * @return the space info */ public static WxCpMailMeetingSendRequest.Option fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpMailMeetingSendRequest.Option.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class Hosts implements Serializable { private static final long serialVersionUID = -4860239393895754598L; @SerializedName("userids") private List<String> userIds; /** * From json space info. * * @param json the json * @return the space info */ public static WxCpMailMeetingSendRequest.Hosts fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpMailMeetingSendRequest.Hosts.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class MeetingAdmins implements Serializable { private static final long serialVersionUID = -4860239393895754598L; @SerializedName("userids") private List<String> userIds; /** * From json space info. * * @param json the json * @return the space info */ public static WxCpMailMeetingSendRequest.MeetingAdmins fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpMailMeetingSendRequest.MeetingAdmins.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp space create request. * * @param json the json * @return the wx cp space create request */ public static WxCpMailMeetingSendRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpMailMeetingSendRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/mail/WxCpMailScheduleSendRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/mail/WxCpMailScheduleSendRequest.java
package me.chanjar.weixin.cp.bean.oa.mail; import com.google.gson.annotations.SerializedName; import lombok.*; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 发送日程邮件请求. * * @author Hugo */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpMailScheduleSendRequest implements Serializable { private static final long serialVersionUID = -4961279393895454138L; /** * 收件人,to.emails 和 to.userids 至少传一个 */ @SerializedName("to") private TO to; /** * 抄送 */ @SerializedName("cc") private CC cc; /** * 文档类型, 3:文档 4:表格 */ @SerializedName("bcc") private BCC bcc; /** * 标题 */ @SerializedName("subject") private String subject; /** * 内容 */ @SerializedName("content") private String content; /** * 附件相关 */ @SerializedName("attachment_list") private List<Attachment> attachmentList; /** * 内容类型 html,text(默认是html) */ @SerializedName("content_type") private String contentType; /** * 表示是否开启id转译,0表示否,1表示是,默认0。仅第三方应用需要用到,企业自建应用可以忽略。 * 目前仅subject、content、attachment_list[].file_name字段支持转译。 */ @SerializedName("enable_id_trans") private Integer enableIdTrans; /** * 标题 */ @SerializedName("schedule") private Schedule schedule; @Getter @Setter public static class Schedule implements Serializable { private static final long serialVersionUID = -4860239393895754598L; /** * 日程ID (修改/取消日程必须带上schedule_id) */ @SerializedName("is_remind") private String scheduleId; /** * 日程方法: * request-请求(不传schedule_id时是创建日程,传了是修改日程) * <p> * cancel-取消日程(必须带上schedule_id) * <p> * 默认为request */ @SerializedName("method") private String method; /** * 地点 */ @SerializedName("location") private String location; /** * 日程开始时间,Unix时间戳 */ @SerializedName("start_time") private Integer startTime; /** * 日程结束时间,Unix时间戳 */ @SerializedName("end_time") private Integer endTime; /** * 重复和提醒相关字段 */ @SerializedName("reminders") private Reminders reminders; /** * From json space info. * * @param json the json * @return the space info */ public static Schedule fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, Schedule.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class Reminders implements Serializable { private static final long serialVersionUID = -4860239393895754598L; /** * 是否有提醒 0-不提醒 1-提醒 */ @SerializedName("is_remind") private Integer isRemind; /** * 日程开始(start_time)前多少分钟提醒,当is_remind=1时有效。例如: * 15表示日程开始前15分钟提醒 * <p> * -15表示日程开始后15分钟提醒 */ @SerializedName("remind_before_event_mins") private Integer remindBeforeEventMins; /** * 是否重复 0-否 1-是 */ @SerializedName("is_repeat") private Integer isRepeat; /** * 是否自定义重复 0-否 1-是。当is_repeat为1时有效。 */ @SerializedName("is_custom_repeat") private Integer isCustomRepeat; /** * 时区。UTC偏移量表示(即偏离零时区的小时数),东区为正数,西区为负数。 * 例如:+8 表示北京时间东八区 * <p> * 默认为北京时间东八区 * <p> * 取值范围:-12 ~ +12 */ @SerializedName("timezone") private Integer timeZone; /** * 重复间隔 * 仅当指定为自定义重复时有效,该字段随repeat_type不同而含义不同 * <p> * 例如: * <p> * repeat_interval指定为2,repeat_type指定为每周重复,那么每2周重复一次; * <p> * repeat_interval指定为2,repeat_type指定为每月重复,那么每2月重复一次 */ @SerializedName("repeat_interval") private Integer repeatInterval; /** * 重复类型,当is_repeat=1时有效。目前支持如下类型: * 0 - 每日 * <p> * 1 - 每周 * <p> * 2 - 每月 * <p> * 5 - 每年 */ @SerializedName("repeat_type") private Integer repeatType; /** * 每周周几重复 * 仅当指定为自定义重复且重复类型为每周时有效 * <p> * 取值范围:1 ~ 7,分别表示周一至周日 */ @SerializedName("repeat_day_of_week") private List<Integer> repeatDayOfWeek; /** * 每月哪几天重复 * 仅当指定为自定义重复, 且重复类型为每月或每年时有效 * <p> * 取值范围:1 ~ 31,分别表示1~31号 */ @SerializedName("repeat_day_of_month") private List<String> repeatDayOfMonth; /** * 标题 */ @SerializedName("repeat_week_of_month") private List<String> repeatWeekOfMonth; /** * 每年哪几个月重复 * 仅当指定为自定义重复且重复类型为每年时有效 * <p> * 取值范围:1 ~ 12,分别表示 1月 - 12月(每年重复需要repeat_month_of_year和repeat_day_of_month来指定某一天) */ @SerializedName("repeat_month_of_year") private List<String> repeatMonthOfYear; /** * 重复结束时刻,Unix时间戳,当is_repeat=1时有效。不填或填0表示一直重复 */ @SerializedName("repeat_until") private Integer repeatUntil; /** * From json space info. * * @param json the json * @return the space info */ public static Reminders fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, Reminders.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class TO implements Serializable { private static final long serialVersionUID = -4860239393895754598L; /** * 收件人,邮箱地址 */ @SerializedName("emails") private List<String> emails; /** * 收件人,企业内成员的userid */ @SerializedName("userids") private List<String> userIds; /** * From json space info. * * @param json the json * @return the space info */ public static TO fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, TO.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class CC implements Serializable { private static final long serialVersionUID = -4863239393895754598L; /** * 抄送人,邮箱地址 */ @SerializedName("emails") private List<String> emails; /** * 抄送人,企业内成员的userid */ @SerializedName("userids") private List<String> userIds; /** * From json space info. * * @param json the json * @return the space info */ public static CC fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, CC.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class BCC implements Serializable { private static final long serialVersionUID = -4860239393885754598L; /** * 密送人,邮箱地址 */ @SerializedName("emails") private List<String> emails; /** * 密送人,企业内成员的userid */ @SerializedName("userids") private List<String> userIds; /** * From json space info. * * @param json the json * @return the space info */ public static BCC fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, BCC.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class Attachment implements Serializable { private static final long serialVersionUID = -4860230393895754598L; /** * 文件名 */ @SerializedName("file_name") private String fileName; /** * 文件内容(base64编码),所有附件加正文的大小不允许超过50M, 且附件个数不能超过200个 */ @SerializedName("content") private String content; /** * From json space info. * * @param json the json * @return the space info */ public static Attachment fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, Attachment.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp space create request. * * @param json the json * @return the wx cp space create request */ public static WxCpMailScheduleSendRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpMailScheduleSendRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/mail/WxCpMailCommonSendRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/mail/WxCpMailCommonSendRequest.java
package me.chanjar.weixin.cp.bean.oa.mail; import com.google.gson.annotations.SerializedName; import lombok.*; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 发送普通邮件请求. * * @author Hugo */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpMailCommonSendRequest implements Serializable { private static final long serialVersionUID = -4961239393895454138L; /** * 收件人,to.emails 和 to.userids 至少传一个 */ @SerializedName("to") private TO to; /** * 抄送 */ @SerializedName("cc") private CC cc; /** * 文档类型, 3:文档 4:表格 */ @SerializedName("bcc") private BCC bcc; /** * 标题 */ @SerializedName("subject") private String subject; /** * 内容 */ @SerializedName("content") private String content; /** * 附件相关 */ @SerializedName("attachment_list") private List<Attachment> attachmentList; /** * 内容类型 html,text(默认是html) */ @SerializedName("content_type") private String contentType; /** * 表示是否开启id转译,0表示否,1表示是,默认0。仅第三方应用需要用到,企业自建应用可以忽略。 * 目前仅subject、content、attachment_list[].file_name字段支持转译。 */ @SerializedName("enable_id_trans") private Integer enableIdTrans; @Getter @Setter public static class TO implements Serializable { private static final long serialVersionUID = -4860239393895754598L; /** * 收件人,邮箱地址 */ @SerializedName("emails") private List<String> emails; /** * 收件人,企业内成员的userid */ @SerializedName("userids") private List<String> userIds; /** * From json space info. * * @param json the json * @return the space info */ public static TO fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, TO.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class CC implements Serializable { private static final long serialVersionUID = -4863239393895754598L; /** * 抄送人,邮箱地址 */ @SerializedName("emails") private List<String> emails; /** * 抄送人,企业内成员的userid */ @SerializedName("userids") private List<String> userIds; /** * From json space info. * * @param json the json * @return the space info */ public static CC fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, CC.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class BCC implements Serializable { private static final long serialVersionUID = -4860239393885754598L; /** * 密送人,邮箱地址 */ @SerializedName("emails") private List<String> emails; /** * 密送人,企业内成员的userid */ @SerializedName("userids") private List<String> userIds; /** * From json space info. * * @param json the json * @return the space info */ public static BCC fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, BCC.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } @Getter @Setter public static class Attachment implements Serializable { private static final long serialVersionUID = -4860230393895754598L; /** * 文件名 */ @SerializedName("file_name") private String fileName; /** * 文件内容(base64编码),所有附件加正文的大小不允许超过50M, 且附件个数不能超过200个 */ @SerializedName("content") private String content; /** * From json space info. * * @param json the json * @return the space info */ public static Attachment fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, Attachment.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp space create request. * * @param json the json * @return the wx cp space create request */ public static WxCpMailCommonSendRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpMailCommonSendRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileRename.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileRename.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.Getter; import lombok.Setter; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 下载文件返回信息. * * @author Wang_Wong */ @Data public class WxCpFileRename extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321625142879581L; @SerializedName("file") private File file; /** * The type File. */ @Getter @Setter public static class File implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("fileid") private String fileId; @SerializedName("file_name") private String fileName; @SerializedName("spaceid") private String spaceId; @SerializedName("fatherid") private String fatherId; @SerializedName("file_size") private Long fileSize; @SerializedName("ctime") private Long cTime; @SerializedName("mtime") private Long mTime; @SerializedName("file_type") private Integer fileType; @SerializedName("file_status") private Integer fileStatus; @SerializedName("create_userid") private String createUserId; @SerializedName("update_userid") private String updateUserId; @SerializedName("sha") private String sha; @SerializedName("url") private String url; @SerializedName("md5") private String md5; /** * From json file. * * @param json the json * @return the file */ public static File fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, File.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp file rename. * * @param json the json * @return the wx cp file rename */ public static WxCpFileRename fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileRename.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceInfo.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceInfo.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.Getter; import lombok.Setter; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 获取空间信息. * * @author Wang_Wong */ @Data public class WxCpSpaceInfo extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321625142879581L; @SerializedName("space_info") private SpaceInfo spaceInfo; /** * The type Space info. */ @Getter @Setter public static class SpaceInfo implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("spaceid") private String spaceId; @SerializedName("space_name") private String spaceName; @SerializedName("auth_list") private AuthList authList; /** * From json space info. * * @param json the json * @return the space info */ public static SpaceInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, SpaceInfo.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * The type Auth list. */ @Getter @Setter public static class AuthList implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("auth_info") private List<AuthInfo> authInfo; @SerializedName("quit_userid") private List<String> quitUserId; /** * From json auth list. * * @param json the json * @return the auth list */ public static AuthList fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, AuthList.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * The type Auth info. */ @Getter @Setter public static class AuthInfo implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("type") private Integer type; @SerializedName("departmentid") private Integer departmentId; @SerializedName("auth") private Integer auth; @SerializedName("userid") private String userId; /** * From json auth info. * * @param json the json * @return the auth info */ public static AuthInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, AuthInfo.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp space info. * * @param json the json * @return the wx cp space info */ public static WxCpSpaceInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpSpaceInfo.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileDownload.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileDownload.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 下载文件返回信息. * * @author Wang_Wong */ @Data public class WxCpFileDownload extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321625142879581L; @SerializedName("download_url") private String downloadUrl; @SerializedName("cookie_name") private String cookieName; @SerializedName("cookie_value") private String cookieValue; /** * From json wx cp file download. * * @param json the json * @return the wx cp file download */ public static WxCpFileDownload fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileDownload.class); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceAclDelRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceAclDelRequest.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.*; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 移除成员/部门请求. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpSpaceAclDelRequest implements Serializable { private static final long serialVersionUID = -4960239393895754138L; @SerializedName("userid") private String userId; @SerializedName("spaceid") private String spaceId; @SerializedName("auth_info") private List<AuthInfo> authInfo; /** * The type Auth info. */ @Getter @Setter public static class AuthInfo implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("type") private Integer type; @SerializedName("departmentid") private Integer departmentId; @SerializedName("userid") private String userId; /** * From json auth info. * * @param json the json * @return the auth info */ public static AuthInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, AuthInfo.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp space acl del request. * * @param json the json * @return the wx cp space acl del request */ public static WxCpSpaceAclDelRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpSpaceAclDelRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileAclAddRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileAclAddRequest.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.*; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 新增指定人请求参数. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpFileAclAddRequest implements Serializable { private static final long serialVersionUID = -4960239393895754138L; @SerializedName("userid") private String userId; @SerializedName("fileid") private String fileId; @SerializedName("auth_info") private List<AuthInfo> authInfo; /** * The type Auth info. */ @Getter @Setter public static class AuthInfo implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("type") private Integer type; @SerializedName("departmentid") private Integer departmentId; @SerializedName("auth") private Integer auth; @SerializedName("userid") private String userId; /** * From json auth info. * * @param json the json * @return the auth info */ public static AuthInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, AuthInfo.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp file acl add request. * * @param json the json * @return the wx cp file acl add request */ public static WxCpFileAclAddRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileAclAddRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceCreateData.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceCreateData.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 新建空间信息. * * @author Wang_Wong */ @Data public class WxCpSpaceCreateData extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321625142879581L; @SerializedName("spaceid") private String spaceId; /** * From json wx cp space create data. * * @param json the json * @return the wx cp space create data */ public static WxCpSpaceCreateData fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpSpaceCreateData.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceRenameRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceRenameRequest.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 重命名空间请求. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpSpaceRenameRequest implements Serializable { private static final long serialVersionUID = -4960239393895754138L; @SerializedName("userid") private String userId; @SerializedName("spaceid") private String spaceId; @SerializedName("space_name") private String spaceName; /** * From json wx cp space rename request. * * @param json the json * @return the wx cp space rename request */ public static WxCpSpaceRenameRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpSpaceRenameRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceSettingRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceSettingRequest.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 权限管理请求. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpSpaceSettingRequest implements Serializable { private static final long serialVersionUID = -4960239393895754138L; @SerializedName("userid") private String userId; @SerializedName("spaceid") private String spaceId; @SerializedName("enable_watermark") private Boolean enableWatermark; @SerializedName("add_member_only_admin") private Boolean addMemberOnlyAdmin; @SerializedName("enable_share_url") private Boolean enableShareUrl; @SerializedName("share_url_no_approve") private Boolean shareUrlNoApprove; @SerializedName("share_url_no_approve_default_auth") private Integer shareUrlNoApproveDefaultAuth; /** * From json wx cp space setting request. * * @param json the json * @return the wx cp space setting request */ public static WxCpSpaceSettingRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpSpaceSettingRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileUploadRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileUploadRequest.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 上传文件请求. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpFileUploadRequest implements Serializable { private static final long serialVersionUID = -4960239393895754138L; @SerializedName("spaceid") private String spaceId; @SerializedName("fatherid") private String fatherId; @SerializedName("file_name") private String fileName; @SerializedName("file_base64_content") private String fileBase64Content; /** * From json wx cp file upload request. * * @param json the json * @return the wx cp file upload request */ public static WxCpFileUploadRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileUploadRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceCreateRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceCreateRequest.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.*; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 新建空间请求. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpSpaceCreateRequest implements Serializable { private static final long serialVersionUID = -4960239393895754138L; @SerializedName("userid") private String userId; @SerializedName("space_name") private String spaceName; @SerializedName("auth_info") private List<AuthInfo> authInfo; /** * The type Auth info. */ @Getter @Setter public static class AuthInfo implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("type") private Integer type; @SerializedName("departmentid") private Integer departmentId; @SerializedName("auth") private Integer auth; @SerializedName("userid") private String userId; /** * From json auth info. * * @param json the json * @return the auth info */ public static AuthInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, AuthInfo.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp space create request. * * @param json the json * @return the wx cp space create request */ public static WxCpSpaceCreateRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpSpaceCreateRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileInfo.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileInfo.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.Getter; import lombok.Setter; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 文件信息. * * @author Wang_Wong */ @Data public class WxCpFileInfo extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321625142879581L; @SerializedName("file_info") private FileInfo fileInfo; /** * The type File info. */ @Getter @Setter public static class FileInfo implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("fileid") private String fileId; @SerializedName("file_name") private String fileName; @SerializedName("spaceid") private String spaceId; @SerializedName("fatherid") private String fatherId; @SerializedName("file_size") private Long fileSize; @SerializedName("ctime") private Long cTime; @SerializedName("mtime") private Long mTime; @SerializedName("file_type") private Integer fileType; @SerializedName("file_status") private Integer fileStatus; @SerializedName("create_userid") private String createUserId; @SerializedName("update_userid") private String updateUserId; @SerializedName("sha") private String sha; @SerializedName("md5") private String md5; @SerializedName("url") private String url; /** * From json file info. * * @param json the json * @return the file info */ public static FileInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, FileInfo.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp file info. * * @param json the json * @return the wx cp file info */ public static WxCpFileInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileInfo.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileAclDelRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileAclDelRequest.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.*; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 删除指定人请求参数. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpFileAclDelRequest implements Serializable { private static final long serialVersionUID = -4960239393895754138L; @SerializedName("userid") private String userId; @SerializedName("fileid") private String fileId; @SerializedName("auth_info") private List<AuthInfo> authInfo; /** * The type Auth info. */ @Getter @Setter public static class AuthInfo implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("type") private Integer type; @SerializedName("departmentid") private Integer departmentId; @SerializedName("userid") private String userId; /** * From json auth info. * * @param json the json * @return the auth info */ public static AuthInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, AuthInfo.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp file acl del request. * * @param json the json * @return the wx cp file acl del request */ public static WxCpFileAclDelRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileAclDelRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileMoveRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileMoveRequest.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 移动文件请求. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpFileMoveRequest implements Serializable { private static final long serialVersionUID = -4960239393895754138L; /** * 如果移动到的目标目录与需要移动的文件重名时,是否覆盖。 * true:重名文件覆盖 * false:重名文件进行冲突重命名处理(移动后文件名格式如xxx(1).txt xxx(1).doc等) */ @SerializedName("replace") private Boolean replace; /** * 当前目录的fileid,根目录时为空间spaceid */ @SerializedName("fatherid") private String fatherId; /** * 文件fileid */ @SerializedName("fileid") private String[] fileId; /** * From json wx cp file move request. * * @param json the json * @return the wx cp file move request */ public static WxCpFileMoveRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileMoveRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceShare.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceShare.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 获取邀请链接. * * @author Wang_Wong */ @Data public class WxCpSpaceShare extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321625142879581L; @SerializedName("space_share_url") private String spaceShareUrl; /** * From json wx cp space share. * * @param json the json * @return the wx cp space share */ public static WxCpSpaceShare fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpSpaceShare.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileMove.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileMove.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.Getter; import lombok.Setter; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 移动文件返回信息. * * @author Wang_Wong */ @Data public class WxCpFileMove extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321625142879581L; @SerializedName("file_list") private FileList fileList; /** * The type File list. */ @Getter @Setter public static class FileList implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("item") private List<Item> item; /** * From json file list. * * @param json the json * @return the file list */ public static FileList fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, FileList.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * The type Item. */ @Getter @Setter public static class Item implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("fileid") private String fileId; @SerializedName("file_name") private String fileName; @SerializedName("spaceid") private String spaceId; @SerializedName("fatherid") private String fatherId; @SerializedName("file_size") private Long fileSize; @SerializedName("ctime") private Long cTime; @SerializedName("mtime") private Long mTime; @SerializedName("file_type") private Integer fileType; @SerializedName("file_status") private Integer fileStatus; @SerializedName("create_userid") private String createUserId; @SerializedName("update_userid") private String updateUserId; @SerializedName("sha") private String sha; @SerializedName("md5") private String md5; /** * From json item. * * @param json the json * @return the item */ public static Item fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, Item.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp file move. * * @param json the json * @return the wx cp file move */ public static WxCpFileMove fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileMove.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileCreate.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileCreate.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 新建文件/微文档 返回信息. * * @author Wang_Wong */ @Data public class WxCpFileCreate extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321625142879581L; @SerializedName("fileid") private String fileId; @SerializedName("url") private String url; /** * From json wx cp file create. * * @param json the json * @return the wx cp file create */ public static WxCpFileCreate fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileCreate.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileShare.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileShare.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 获取分享链接返回信息. * * @author Wang_Wong */ @Data public class WxCpFileShare extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321625142879581L; @SerializedName("share_url") private String shareUrl; /** * From json wx cp file share. * * @param json the json * @return the wx cp file share */ public static WxCpFileShare fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileShare.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileList.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileList.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.Getter; import lombok.Setter; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 获取邀请链接. * * @author Wang_Wong */ @Data public class WxCpFileList extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321625142879581L; @SerializedName("has_more") private Boolean hasMore; @SerializedName("next_start") private Integer nextStart; @SerializedName("file_list") private FileList fileList; /** * The type File list. */ @Getter @Setter public static class FileList implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("item") private List<Item> item; /** * From json file list. * * @param json the json * @return the file list */ public static FileList fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, FileList.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * The type Item. */ @Getter @Setter public static class Item implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("fileid") private String fileId; @SerializedName("file_name") private String fileName; @SerializedName("spaceid") private String spaceId; @SerializedName("fatherid") private String fatherId; @SerializedName("file_size") private Long fileSize; @SerializedName("ctime") private Long cTime; @SerializedName("mtime") private Long mTime; @SerializedName("file_type") private Integer fileType; @SerializedName("file_status") private Integer fileStatus; @SerializedName("create_userid") private String createUserId; @SerializedName("update_userid") private String updateUserId; @SerializedName("sha") private String sha; @SerializedName("url") private String url; @SerializedName("md5") private String md5; /** * From json item. * * @param json the json * @return the item */ public static Item fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, Item.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp file list. * * @param json the json * @return the wx cp file list */ public static WxCpFileList fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileList.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileUpload.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileUpload.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 上传文件返回信息. * * @author Wang_Wong */ @Data public class WxCpFileUpload extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321625142879581L; @SerializedName("fileid") private String fileId; /** * From json wx cp file upload. * * @param json the json * @return the wx cp file upload */ public static WxCpFileUpload fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileUpload.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceAclAddRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpSpaceAclAddRequest.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.*; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 添加成员/部门请求. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpSpaceAclAddRequest implements Serializable { private static final long serialVersionUID = -4960239393895754138L; @SerializedName("userid") private String userId; @SerializedName("spaceid") private String spaceId; @SerializedName("auth_info") private List<AuthInfo> authInfo; /** * The type Auth info. */ @Getter @Setter public static class AuthInfo implements Serializable { private static final long serialVersionUID = -4960239393895754598L; @SerializedName("type") private Integer type; @SerializedName("departmentid") private Integer departmentId; @SerializedName("auth") private Integer auth; @SerializedName("userid") private String userId; /** * From json auth info. * * @param json the json * @return the auth info */ public static AuthInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, AuthInfo.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp space acl add request. * * @param json the json * @return the wx cp space acl add request */ public static WxCpSpaceAclAddRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpSpaceAclAddRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileListRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileListRequest.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 获取文件列表请求. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpFileListRequest implements Serializable { private static final long serialVersionUID = -4960239393895754138L; @SerializedName("spaceid") private String spaceId; @SerializedName("fatherid") private String fatherId; @SerializedName("sort_type") private Integer sortType; @SerializedName("start") private Integer start; @SerializedName("limit") private Integer limit; /** * From json wx cp file list request. * * @param json the json * @return the wx cp file list request */ public static WxCpFileListRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileListRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileDeleteRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/wedrive/WxCpFileDeleteRequest.java
package me.chanjar.weixin.cp.bean.oa.wedrive; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 删除文件请求. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpFileDeleteRequest implements Serializable { private static final long serialVersionUID = -4960239393895754138L; @SerializedName("fileid") private List<String> fileId; /** * From json wx cp file delete request. * * @param json the json * @return the wx cp file delete request */ public static WxCpFileDeleteRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpFileDeleteRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/selfagent/WxCpOpenApprovalData.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/selfagent/WxCpOpenApprovalData.java
package me.chanjar.weixin.cp.bean.oa.selfagent; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.Getter; import lombok.Setter; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 审批申请当前状态信息. * * @author Wang_Wong */ @Data public class WxCpOpenApprovalData implements Serializable { private static final long serialVersionUID = -5028321625140879591L; @SerializedName("ThirdNo") private String thirdNo; @SerializedName("OpenTemplateId") private String openTemplateId; @SerializedName("OpenSpName") private String openSpName; @SerializedName("OpenSpstatus") private Integer openSpstatus; @SerializedName("ApplyTime") private Long applyTime; @SerializedName("ApplyUsername") private String applyUserName; @SerializedName("ApplyUserParty") private String applyUserParty; @SerializedName("ApplyUserImage") private String applyUserImage; @SerializedName("ApplyUserId") private String applyUserId; @SerializedName("ApprovalNodes") private ApprovalNodes approvalNodes; @SerializedName("NotifyNodes") private NotifyNodes notifyNodes; @SerializedName("ApproverStep") private Integer approverStep; /** * The type Approval nodes. */ @Getter @Setter public static class ApprovalNodes implements Serializable { private static final long serialVersionUID = -5696099236344075582L; @SerializedName("ApprovalNode") private List<ApprovalNode> approvalNode; } /** * The type Approval node. */ @Getter @Setter public static class ApprovalNode implements Serializable { private static final long serialVersionUID = -5696099236344075582L; @SerializedName("NodeStatus") private Integer nodeStatus; @SerializedName("NodeAttr") private Integer nodeAttr; @SerializedName("NodeType") private Integer nodeType; @SerializedName("Items") private Items items; } /** * The type Notify nodes. */ @Getter @Setter public static class NotifyNodes implements Serializable { private static final long serialVersionUID = -5696099236344075582L; @SerializedName("NotifyNode") private List<NotifyNode> notifyNode; } /** * The type Notify node. */ @Getter @Setter public static class NotifyNode implements Serializable { private static final long serialVersionUID = -5696099236344075582L; @SerializedName("ItemName") private String itemName; @SerializedName("ItemParty") private String itemParty; @SerializedName("ItemImage") private String itemImage; @SerializedName("ItemUserId") private String itemUserId; } /** * The type Items. */ @Getter @Setter public static class Items implements Serializable { private static final long serialVersionUID = -5696099236344075582L; @SerializedName("Item") private List<Item> item; } /** * The type Item. */ @Getter @Setter public static class Item implements Serializable { private static final long serialVersionUID = -5696099236344075582L; @SerializedName("ItemName") private String itemName; @SerializedName("ItemParty") private String itemParty; @SerializedName("ItemImage") private String itemImage; @SerializedName("ItemUserId") private String itemUserId; @SerializedName("ItemSpeech") private String itemSpeech; @SerializedName("ItemStatus") private Integer itemStatus; @SerializedName("ItemOpTime") private Long itemOpTime; } /** * From json wx cp open approval data. * * @param json the json * @return the wx cp open approval data */ public static WxCpOpenApprovalData fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpOpenApprovalData.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookingInfoRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookingInfoRequest.java
package me.chanjar.weixin.cp.bean.oa.meetingroom; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.common.bean.ToJson; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 查询会议室的预定信息的请求类 * * @author <a href="https://github.com/llw5181">小梁</a> * @version 1.0 Create by 2024/10/28 */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpOaMeetingRoomBookingInfoRequest implements Serializable, ToJson { private static final long serialVersionUID = 2825289798463742534L; /** * 会议室Id */ @SerializedName("meetingroom_id") private Integer meetingroomId; /** * 查询预定的起始时间,默认为当前时间 */ @SerializedName("start_time") private Integer startTime; /** * 查询预定的结束时间, 默认为明日0时 */ @SerializedName("end_time") private Integer endTime; /** * 会议室所在城市 */ @SerializedName("city") private String city; /** * 会议室所在楼宇 */ @SerializedName("building") private String building; /** * 会议室所在楼层 */ @SerializedName("floor") private String floor; @Override public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookResult.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookResult.java
package me.chanjar.weixin.cp.bean.oa.meetingroom; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 预定会议室的返回结果类 * * @author <a href="https://github.com/llw5181">小梁</a> * @version 1.0 Create by 2024/10/28 */ @Data public class WxCpOaMeetingRoomBookResult extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -4993287594652231098L; @Override public String toString() { return WxCpGsonBuilder.create().toJson(this); } public static WxCpOaMeetingRoomBookResult fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpOaMeetingRoomBookResult.class); } /** * 会议室的预定id */ @SerializedName("booking_id") private String booking_id; /** * 会议关联日程的id */ @SerializedName("schedule_id") private String schedule_id; /** * 通过会议预定会议室 和 通过日程预定会议室 接口返回 * <br/> * 会议室冲突日期列表,为当天0点的时间戳;使用重复会议预定会议室,部分日期与会议室预定情况冲突时返回 */ @SerializedName("conflict_date") private List<Integer> conflict_date; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookingInfoByBookingIdRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookingInfoByBookingIdRequest.java
package me.chanjar.weixin.cp.bean.oa.meetingroom; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.common.bean.ToJson; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 根据会议室预定ID查询预定详情请求类 * * @author <a href="https://github.com/llw5181">小梁</a> * @version 1.0 Create by 2024/10/28 */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpOaMeetingRoomBookingInfoByBookingIdRequest implements Serializable, ToJson { private static final long serialVersionUID = 2825289798463742533L; /** * 会议室id */ @SerializedName("meetingroom_id") private Integer meetingroom_id; /** * 会议室的预定id */ @SerializedName("booking_id") private String booking_id; @Override public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookingInfoByBookingIdResult.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookingInfoByBookingIdResult.java
package me.chanjar.weixin.cp.bean.oa.meetingroom; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 根据会议室预定ID查询预定详情返回结果类 * * @author <a href="https://github.com/llw5181">小梁</a> * @version 1.0 Create by 2024/10/28 */ @Data public class WxCpOaMeetingRoomBookingInfoByBookingIdResult extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -4993287594652231097L; @Override public String toString() { return WxCpGsonBuilder.create().toJson(this); } public static WxCpOaMeetingRoomBookingInfoByBookingIdResult fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpOaMeetingRoomBookingInfoByBookingIdResult.class); } /** * 会议室ID */ @SerializedName("meetingroom_id") private Integer meetingroomId; /** * 该会议室查询时间段内的预定情况 */ @SerializedName("schedule") private Schedule schedule; @Data public static class Schedule { /** * 会议室的预定id */ @SerializedName("booking_id") private String bookingId; /** * 会议关联日程的id,若会议室已取消预定(未保留日历),则schedule_id将无法再获取到日程详情 */ @SerializedName("schedule_id") private String scheduleId; /** * 开始时间的时间戳 */ @SerializedName("start_time") private Integer startTime; /** * 结束时间的时间戳 */ @SerializedName("end_time") private Integer endTime; /** * 预定人的userid */ @SerializedName("booker") private String booker; /** * 会议室的预定状态,0:已预定 、2:申请中、3:审批中 */ @SerializedName("status") private Integer status; } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookByMeetingRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookByMeetingRequest.java
package me.chanjar.weixin.cp.bean.oa.meetingroom; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.common.bean.ToJson; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 通过会议预定会议室 * * @author <a href="https://github.com/llw5181">小梁</a> * @version 1.0 Create by 2024/10/28 */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpOaMeetingRoomBookByMeetingRequest implements Serializable, ToJson { private static final long serialVersionUID = 2825289798463742531L; /** * 会议室Id */ @SerializedName("meetingroom_id") private Integer meetingroomId; /** * 会议id,仅可使用同应用创建的会议 */ @SerializedName("meetingid") private String meetingid; /** * 预定人的userid */ @SerializedName("booker") private String booker; @Override public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomCancelBookRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomCancelBookRequest.java
package me.chanjar.weixin.cp.bean.oa.meetingroom; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.common.bean.ToJson; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 取消预定会议室请求类 * * @author <a href="https://github.com/llw5181">小梁</a> * @version 1.0 Create by 2024/10/28 */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpOaMeetingRoomCancelBookRequest implements Serializable, ToJson { private static final long serialVersionUID = 2825289798463742539L; /** * 会议室的预定id */ @SerializedName("booking_id") private String booking_id; /** * 是否保留日程,0-同步删除 1-保留,仅对非重复日程有效 */ @SerializedName("keep_schedule") private Integer keep_schedule; /** * 对于重复日程,如果不填写此参数,表示取消所有重复预定;如果填写,则表示取消对应日期当天的会议室预定 */ @SerializedName("cancel_date") private Integer cancel_date; @Override public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookRequest.java
package me.chanjar.weixin.cp.bean.oa.meetingroom; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.common.bean.ToJson; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 预定会议室的请求类 * * @author <a href="https://github.com/llw5181">小梁</a> * @version 1.0 Create by 2024/10/28 */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpOaMeetingRoomBookRequest implements Serializable, ToJson { private static final long serialVersionUID = 2825289798463742536L; /** * 会议室Id */ @SerializedName("meetingroom_id") private Integer meetingroomId; /** * 预定开始时间 */ @SerializedName("start_time") private Integer startTime; /** * 预定结束时间 */ @SerializedName("end_time") private Integer endTime; /** * 会议主题 */ @SerializedName("subject") private String subject; /** * 预定人的userid */ @SerializedName("booker") private String booker; /** * 参与人的userid列表 */ @SerializedName("attendees") private List<String> attendees; @Override public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookByScheduleRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookByScheduleRequest.java
package me.chanjar.weixin.cp.bean.oa.meetingroom; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.common.bean.ToJson; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 通过日程预定会议室 * * @author <a href="https://github.com/llw5181">小梁</a> * @version 1.0 Create by 2024/10/28 */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpOaMeetingRoomBookByScheduleRequest implements Serializable, ToJson { private static final long serialVersionUID = 2825289798463742532L; /** * 会议室Id */ @SerializedName("meetingroom_id") private Integer meetingroomId; /** * 日程id,仅可使用同应用创建的日程 */ @SerializedName("schedule_id") private String schedule_id; /** * 预定人的userid */ @SerializedName("booker") private String booker; @Override public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookingInfoResult.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookingInfoResult.java
package me.chanjar.weixin.cp.bean.oa.meetingroom; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 查询会议室的预定信息的返回结果类 * * @author <a href="https://github.com/llw5181">小梁</a> * @version 1.0 Create by 2024/10/28 */ @Data public class WxCpOaMeetingRoomBookingInfoResult extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -4993287594652231095L; @Override public String toString() { return WxCpGsonBuilder.create().toJson(this); } public static WxCpOaMeetingRoomBookingInfoResult fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpOaMeetingRoomBookingInfoResult.class); } /** * 会议室预订信息列表 */ @SerializedName("booking_list") private List<Booking> bookingList; @Data public static class Booking { /** * 会议室ID */ @SerializedName("meetingroom_id") private Integer meetingroomId; /** * 该会议室查询时间段内的预定情况 */ @SerializedName("schedule") private List<Schedule> schedule; } @Data public static class Schedule { /** * 会议室的预定id */ @SerializedName("booking_id") private String bookingId; /** * 会议关联日程的id,若会议室已取消预定(未保留日历),则schedule_id将无法再获取到日程详情 */ @SerializedName("schedule_id") private String scheduleId; /** * 开始时间的时间戳 */ @SerializedName("start_time") private Integer startTime; /** * 结束时间的时间戳 */ @SerializedName("end_time") private Integer endTime; /** * 预定人的userid */ @SerializedName("booker") private String booker; /** * 会议室的预定状态,0:已预定 、2:申请中、3:审批中 */ @SerializedName("status") private Integer status; } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoom.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoom.java
package me.chanjar.weixin.cp.bean.oa.meetingroom; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.common.bean.ToJson; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * The type Wx cp oa meeting room. * * @author fcat * @version 1.0 Create by 2022/8/12 22:46 */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpOaMeetingRoom implements Serializable, ToJson { private static final long serialVersionUID = 2825289798463742532L; /** * 会议室Id */ @SerializedName("meetingroom_id") private Integer meetingroomId; /** * 会议室名称,最多30个字符 */ @SerializedName("name") private String name; /** * 会议室所能容纳的人数 */ @SerializedName("capacity") private Integer capacity; /** * 会议室所在城市 */ @SerializedName("city") private String city; /** * 会议室所在楼宇 */ @SerializedName("building") private String building; /** * 会议室所在楼层 */ @SerializedName("floor") private String floor; /** * 会议室支持的设备列表,参数详细1电视2电话3投影4白板5视频 */ @SerializedName("equipment") private List<Integer> equipment; /** * 会议室所在建筑经纬度 */ @SerializedName("coordinate") private Coordinate coordinate; /** * 会议室是否需要预定 */ @SerializedName("need_approval") private Integer needApproval; @Override public String toJson() { return WxCpGsonBuilder.create().toJson(this); } /** * The type Coordinate. */ @Data @AllArgsConstructor public static class Coordinate implements Serializable { private static final long serialVersionUID = 6626968559923978694L; /** * 纬度 */ @SerializedName("latitude") private String latitude; /** * 经度 */ @SerializedName("longitude") private String longitude; } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/calendar/WxCpOaCalendar.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/calendar/WxCpOaCalendar.java
package me.chanjar.weixin.cp.bean.oa.calendar; import com.google.common.collect.ImmutableMap; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.common.bean.ToJson; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 日历. * * @author <a href="https://github.com/binarywang">Binary Wang</a> created on 2020-09-20 */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpOaCalendar implements Serializable, ToJson { private static final long serialVersionUID = -817988838579546989L; /** * 变量名:cal_id * 是否必须:更新时必须提供 * 描述:日历ID */ @SerializedName("cal_id") private String calId; /** * 变量名:organizer * 是否必须:是 * 描述:指定的组织者userid。注意该字段指定后不可更新 */ @SerializedName("organizer") private String organizer; /** * 变量名:readonly * 是否必须:否 * 描述:日历组织者对日历是否只读权限(即不可编辑日历,不可在日历上添加日程,仅可作为组织者删除日历)。0-否;1-是。默认为1,即只读 */ @SerializedName("readonly") private Integer readonly; /** * 变量名:set_as_default * 是否必须:否 * 描述:是否将该日历设置为组织者的默认日历。0-否;1-是。默认为0,即不设为默认日历 */ @SerializedName("set_as_default") private Integer setAsDefault; /** * 变量名:summary * 是否必须:是 * 描述:日历标题。1 ~ 128 字符 */ @SerializedName("summary") private String summary; /** * 变量名:color * 是否必须:是 * 描述:日历在终端上显示的颜色,RGB颜色编码16进制表示,例如:”#0000FF” 表示纯蓝色 */ @SerializedName("color") private String color; /** * 变量名:description * 是否必须:否 * 描述:日历描述。0 ~ 512 字符 */ @SerializedName("description") private String description; /** * 变量名:shares * 是否必须:否 * 描述:日历共享成员列表。最多2000人 */ @SerializedName("shares") private List<ShareInfo> shares; /** * The type Share info. */ @Data @AllArgsConstructor public static class ShareInfo implements Serializable { private static final long serialVersionUID = -4882781114860754679L; /** * 日历共享成员的id */ private String userid; /** * 共享成员对日历是否只读权限(即不可编辑日历,不可在日历上添加日程,仅可以退出日历)。 * 0-否;1-是。默认为1,即只读 */ private Integer readonly; } @Override public String toJson() { return WxCpGsonBuilder.create().toJson(ImmutableMap.of("calendar", this)); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocInfo.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocInfo.java
package me.chanjar.weixin.cp.bean.oa.doc; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.Getter; import lombok.Setter; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 获取空间信息. * * @author Wang_Wong */ @Data public class WxCpDocInfo extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321623142879581L; @SerializedName("doc_base_info") private DocInfo docBaseInfo; /** * The type Space info. */ @Getter @Setter public static class DocInfo implements Serializable { private static final long serialVersionUID = -4860239393895754598L; /** * 文档docid */ @SerializedName("docid") private String docId; /** * 文档名字 */ @SerializedName("doc_name") private String docName; /** * 文档创建时间 */ @SerializedName("create_time") private Long createTime; /** * 文档最后修改时间 */ @SerializedName("modify_time") private Long modifyTime; /** * 3: 文档 4: 表格 */ @SerializedName("doc_type") private Integer docType; /** * From json space info. * * @param json the json * @return the space info */ public static DocInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, DocInfo.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp space info. * * @param json the json * @return the wx cp space info */ public static WxCpDocInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpDocInfo.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocRenameRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocRenameRequest.java
package me.chanjar.weixin.cp.bean.oa.doc; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 重命名空间请求. * * @author Hugo */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpDocRenameRequest implements Serializable { private static final long serialVersionUID = -4960339393895754138L; /** * 文档docid(docid、formid只能填其中一个) */ @SerializedName("docid") private String docId; /** * 收集表id(docid、formid只能填其中一个) */ @SerializedName("formid") private String formId; /** * 重命名后的文档名 (注意:文档名最多填255个字符, 英文算1个, 汉字算2个, 超过255个字符会被截断) */ @SerializedName("new_name") private String newName; /** * From json wx cp space rename request. * * @param json the json * @return the wx cp space rename request */ public static WxCpDocRenameRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpDocRenameRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocCreateData.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocCreateData.java
package me.chanjar.weixin.cp.bean.oa.doc; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 新建空间信息. * * @author Wang_Wong */ @Data public class WxCpDocCreateData extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5028321625242879581L; /** * 新建文档的访问链接 */ @SerializedName("url") private String url; /** * 新建文档的docid */ @SerializedName("docid") private String docId; /** * From json wx cp space create data. * * @param json the json * @return the wx cp space create data */ public static WxCpDocCreateData fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpDocCreateData.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocCreateRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocCreateRequest.java
package me.chanjar.weixin.cp.bean.oa.doc; import com.google.gson.annotations.SerializedName; import lombok.*; import lombok.experimental.Accessors; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 新建文档请求. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) public class WxCpDocCreateRequest implements Serializable { private static final long serialVersionUID = -4960239393895454138L; /** * 空间spaceid。若指定spaceid,则fatherid也要同时指定 */ @SerializedName("spaceid") private String spaceId; /** * 父目录fileid, 在根目录时为空间spaceid */ @SerializedName("fatherid") private String fatherId; /** * 文档类型, 3:文档 4:表格 */ @SerializedName("doc_type") private Integer docType; /** * 文档名字(注意:文件名最多填255个字符, 超过255个字符会被截断) */ @SerializedName("doc_name") private String docName; /** * 文档管理员userid */ @SerializedName("admin_users") private List<String> adminUsers; /** * From json wx cp space create request. * * @param json the json * @return the wx cp space create request */ public static WxCpDocCreateRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpDocCreateRequest.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocShare.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocShare.java
package me.chanjar.weixin.cp.bean.oa.doc; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 获取邀请链接. * * @author Wang_Wong */ @Data public class WxCpDocShare extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5128321625142879581L; /** * 文档分享链接 */ @SerializedName("share_url") private String shareUrl; /** * From json wx cp space share. * * @param json the json * @return the wx cp space share */ public static WxCpDocShare fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpDocShare.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTips.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTips.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.util.List; /** * @author mrsiu@msn.com * @version 1.0 * @date 2025/1/16 09:40 */ @Data public class TemplateTips { @SerializedName("tips_content") private List<TemplateTipsContent> tipsContent; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateConfig.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateConfig.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.oa.templatedata.control.*; import java.io.Serializable; /** * 模板控件配置,包含了部分控件类型的附加类型、属性,详见附录说明。 * 目前有配置信息的控件类型有: * Date-日期/日期+时间; * Selector-单选/多选; * Contact-成员/部门; * Table-明细; * Attendance-假勤组件(请假、外出、出差、加班) * * @author gyv12345 @163.com */ @Data public class TemplateConfig implements Serializable { private static final long serialVersionUID = 6993937809371277669L; private TemplateDate date; private TemplateSelector selector; private TemplateContact contact; private TemplateTable table; private TemplateAttendance attendance; private TemplateLocation location; @SerializedName("vacation_list") private TemplateVacation vacationList; private TemplateTips tips; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTipsContent.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTipsContent.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import lombok.Data; /** * @author mrsiu@msn.com * @version 1.0 * @date 2025/1/16 09:42 */ @Data public class TemplateTipsContent { private TemplateTipsText text; private String lang; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateControls.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateControls.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import lombok.Data; import java.io.Serializable; /** * The type Template controls. * * @author Administrator */ @Data public class TemplateControls implements Serializable { private static final long serialVersionUID = -7496794407355510374L; private TemplateProperty property; private TemplateConfig config; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateOptions.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateOptions.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import lombok.Data; import java.io.Serializable; import java.util.List; /** * The type Template options. * * @author gyv123 @163.com */ @Data public class TemplateOptions implements Serializable { private static final long serialVersionUID = -7883792668568772078L; private String key; /** * <a href="https://developer.work.weixin.qq.com/document/path/97437#%E9%99%845-%E5%8D%95%E9%80%89%E5%A4%9A%E9%80%89%E6%8E%A7%E4%BB%B6%EF%BC%88control%E5%8F%82%E6%95%B0%E4%B8%BAselector%EF%BC%89">创建审批模板,value为对象类型</a> * <a href="https://developer.work.weixin.qq.com/document/path/91982">获取审批模板详情,value为list类型</a> **/ private List<TemplateTitle> value; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTipsSubTextContentLink.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTipsSubTextContentLink.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import lombok.Data; /** * @author mrsiu@msn.com * @version 1.0 * @date 2025/1/16 09:49 */ @Data public class TemplateTipsSubTextContentLink { private String title; private String url; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateProperty.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateProperty.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.io.Serializable; import java.util.List; /** * The type Template property. * * @author gyv12345 @163.com */ @Data public class TemplateProperty implements Serializable { private static final long serialVersionUID = -3429251158540167453L; private String control; private String id; private List<TemplateTitle> title; /** * 控件说明,向申请者展示的控件填写说明,若配置了多语言则会包含中英文的控件说明,默认为zh_CN中文 */ private List<TemplateTitle> placeholder; /** * 是否必填:1-必填;0-非必填 */ private Integer require; /** * 是否参与打印:1-不参与打印;0-参与打印 */ @SerializedName("un_print") private Integer unPrint; private TemplateConfig config; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTipsSubText.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTipsSubText.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import lombok.Data; /** * @author mrsiu@msn.com * @version 1.0 * @date 2025/1/16 09:45 */ @Data public class TemplateTipsSubText { private Integer type; private TemplateTipsSubTextContent content; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateContent.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateContent.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import lombok.Data; import java.io.Serializable; import java.util.List; /** * The type Template content. * * @author gyv12345 @163.com */ @Data public class TemplateContent implements Serializable { private static final long serialVersionUID = -5640250983775840865L; private List<TemplateControls> controls; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTitle.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTitle.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import lombok.Data; import java.io.Serializable; /** * The type Template title. * * @author gyv12345 @163.com */ @Data public class TemplateTitle implements Serializable { private static final long serialVersionUID = -3229779834737051398L; private String text; private String lang; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateLocation.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateLocation.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import lombok.Data; /** * The type Template location. * * @author RickSun sunalee@dingtalk.com */ @Data public class TemplateLocation { /** * 模板位置的范围 */ private Integer distance; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTipsSubTextContent.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTipsSubTextContent.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import com.google.gson.annotations.SerializedName; import lombok.Data; /** * @author mrsiu@msn.com * @version 1.0 * @date 2025/1/16 09:46 */ @Data public class TemplateTipsSubTextContent { @SerializedName("plain_text") private TemplateTipsSubTextContentPlainText plainText; private TemplateTipsSubTextContentLink link; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTipsText.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTipsText.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.util.List; /** * @author mrsiu@msn.com * @date 2025/1/16 09:43 * @version 1.0 */ @Data public class TemplateTipsText { @SerializedName("sub_text") private List<TemplateTipsSubText> subText; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateVacationItem.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateVacationItem.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import lombok.Data; import java.io.Serializable; import java.util.List; /** * The type Template vacation item. * * @author gyv12345 @163.com */ @Data public class TemplateVacationItem implements Serializable { private static final long serialVersionUID = 4510594801023791319L; private Integer id; private List<TemplateTitle> name; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTipsSubTextContentPlainText.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateTipsSubTextContentPlainText.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import lombok.Data; /** * @author mrsiu@msn.com * @date 2025/1/16 09:47 * @version 1.0 */ @Data public class TemplateTipsSubTextContentPlainText { private String content; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateDateRange.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateDateRange.java
package me.chanjar.weixin.cp.bean.oa.templatedata; import lombok.Data; import java.io.Serializable; /** * The type Template date range. * * @author gyv12345 @163.com */ @Data public class TemplateDateRange implements Serializable { private static final long serialVersionUID = -9209035461466543180L; /** * 时间刻度:hour-精确到分钟, halfday—上午/下午 */ private String type; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/control/TemplateSelector.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/control/TemplateSelector.java
package me.chanjar.weixin.cp.bean.oa.templatedata.control; import lombok.Data; import me.chanjar.weixin.cp.bean.oa.templatedata.TemplateOptions; import java.io.Serializable; import java.util.List; /** * The type Template selector. * * @author gyv12345 @163.com */ @Data public class TemplateSelector implements Serializable { private static final long serialVersionUID = 4995408101489736881L; /** * single-单选;multi-多选 */ private String type; private List<TemplateOptions> options; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/control/TemplateTable.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/control/TemplateTable.java
package me.chanjar.weixin.cp.bean.oa.templatedata.control; import lombok.Data; import me.chanjar.weixin.cp.bean.oa.templatedata.TemplateControls; import java.io.Serializable; import java.util.List; /** * The type Template table. * * @author gyv12345 @163.com */ @Data public class TemplateTable implements Serializable { private static final long serialVersionUID = -8181588935694605858L; private List<TemplateControls> children; private String[] statField; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/control/TemplateAttendance.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/control/TemplateAttendance.java
package me.chanjar.weixin.cp.bean.oa.templatedata.control; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.oa.templatedata.TemplateDateRange; import java.io.Serializable; /** * The type Template attendance. * * @author gyv12345 @163.com */ @Data public class TemplateAttendance implements Serializable { private static final long serialVersionUID = 5800412600894589065L; @SerializedName("date_range") private TemplateDateRange dateRange; /** * 假勤控件类型:1-请假,3-出差,4-外出,5-加班 */ private Integer type; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/control/TemplateDate.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/control/TemplateDate.java
package me.chanjar.weixin.cp.bean.oa.templatedata.control; import lombok.Data; import java.io.Serializable; /** * The type Template date. * * @author Administrator */ @Data public class TemplateDate implements Serializable { private static final long serialVersionUID = 1300634733160349684L; /** * day-日期;hour-日期+时间 */ private String type; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/control/TemplateVacation.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/control/TemplateVacation.java
package me.chanjar.weixin.cp.bean.oa.templatedata.control; import lombok.Data; import me.chanjar.weixin.cp.bean.oa.templatedata.TemplateVacationItem; import java.io.Serializable; import java.util.List; /** * The type Template vacation. * * @author gyv12345 @163.com */ @Data public class TemplateVacation implements Serializable { private static final long serialVersionUID = 3442297114957906890L; private List<TemplateVacationItem> item; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/control/TemplateContact.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/control/TemplateContact.java
package me.chanjar.weixin.cp.bean.oa.templatedata.control; import lombok.Data; import java.io.Serializable; /** * The type Template contact. * * @author gyv12345 @163.com */ @Data public class TemplateContact implements Serializable { private static final long serialVersionUID = -7840088884653172851L; /** * 选择方式:single-单选;multi-多选 */ private String type; /** * 选择对象:user-成员;department-部门 */ private String mode; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meeting/WxCpUserMeetingIdResult.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meeting/WxCpUserMeetingIdResult.java
package me.chanjar.weixin.cp.bean.oa.meeting; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 为标签添加或移除用户结果对象类. * * @author <a href="https://github.com/wangmeng3486">wangmeng3486</a> created on 2023-01-31 */ @Data public class WxCpUserMeetingIdResult extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -4993287594652231097L; @Override public String toString() { return WxCpGsonBuilder.create().toJson(this); } /** * From json wx cp tag add or remove users result. * * @param json the json * @return the wx cp tag add or remove users result */ public static WxCpUserMeetingIdResult fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpUserMeetingIdResult.class); } @SerializedName("meetingid_list") private String[] meetingIdList; @SerializedName("next_cursor") private String nextCursor; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meeting/WxCpMeeting.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meeting/WxCpMeeting.java
package me.chanjar.weixin.cp.bean.oa.meeting; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.experimental.Accessors; import me.chanjar.weixin.common.bean.ToJson; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 会议信息bean. * * @author <a href="https://github.com/wangmeng3486">wangmeng3486</a> created on 2023-02-02 */ @Data @Accessors(chain = true) public class WxCpMeeting implements Serializable, ToJson { private static final long serialVersionUID = 957588409099876012L; /** * 会议id */ @SerializedName("meetingid") private String meetingId; /** * 会议管理员userid */ @SerializedName("admin_userid") private String adminUserId; /** * 会议的标题,最多支持40个字节或者20个utf8字符 */ @SerializedName("title") private String title; /** * 会议开始时间的unix时间戳。需大于当前时间 */ @SerializedName("meeting_start") private Long meetingStart; /** * 会议持续时间单位秒,最小300秒 */ @SerializedName("meeting_duration") private Integer meetingDuration; /** * 会议的描述,最多支持500个字节或者utf8字符 */ @SerializedName("description") private String description; /** * 会议地点,最多128个字符 */ @SerializedName("location") private String location; /** * 授权方安装的应用agentid。仅旧的第三方多应用套件需要填此参数 */ @SerializedName("agentid") private Integer agentId; /** * 发起人所在部门 */ @SerializedName("main_department") private Integer mainDepartment; /** * 会议的状态。 * 1:待开始 * 2:会议中 * 3:已结束 * 4:已取消 * 5:已过期 */ @SerializedName("status") public Integer status; /** * 会议类型。 * 0:一次性会议 * 1:周期性会议 * 2:微信专属会议 * 3:Rooms 投屏会议 * 5:个人会议号会议 * 6:网络研讨会 */ @SerializedName("meeting_type") private Integer meetingType; /** * 参与会议的成员。会议人数上限,以指定的「管理员」可预约的人数上限来校验,普通企业与会人员最多100; * 付费企业根据企业选购的在线会议室容量。任何userid不合法或者不在应用可见范围,直接报错。 */ @SerializedName("attendees") private Attendees attendees; /** * 会议所属日历ID。该日历必须是access_token所对应应用所创建的日历。 * 注意,若参与人在日历分享范围内,则插入到该日历(同时会插入会议参与人的默认日历),若不在分享范围内,否则仅插入到参与者默认日历; * 如果不填,那么插入到参与者的默认日历上。 * 第三方应用必须指定cal_id * 不多于64字节 */ @SerializedName("cal_id") private String calId; /** * 会议配置 */ @SerializedName("settings") private Setting settings; /** * 重复会议相关配置 */ @SerializedName("reminders") private Reminder reminders; @SerializedName("meeting_code") private String meetingCode; @SerializedName("meeting_link") private String meetingLink; @Override public String toJson() { return WxCpGsonBuilder.create().toJson(this); } /** * The type Attendee. */ @Data @Accessors(chain = true) public static class Attendees implements Serializable { private static final long serialVersionUID = 5419000348428480645L; /** * 会议参与者ID, * 不多于64字节 */ @SerializedName("userid") private List<String> userId; @SerializedName("member") private List<Member> member; @SerializedName("tmp_external_user") private List<TmpExternalUser> tmpExternalUser; /** * 企业内部成员 */ @Data @Accessors(chain = true) public static class Member implements Serializable { private static final long serialVersionUID = 1001531041411551854L; /** * 企业内部成员的userid */ @SerializedName("userid") private String userid; /** * 与会状态。1为已参与,2为未参与 */ @SerializedName("status") private Integer status; /** * 参会人首次加入会议时间的unix时间戳 */ @SerializedName("first_join_time") private Long firstJoinTime; /** * 参会人最后一次离开会议时间的unix时间戳 */ @SerializedName("last_quit_time") private Long lastQuitTime; /** * 参会人累计参会时长,单位为秒 */ @SerializedName("cumulative_time") private Long cumulativeTime; } /** * 会中参会的外部联系人 */ @Data @Accessors(chain = true) public static class TmpExternalUser implements Serializable { private static final long serialVersionUID = -1411758297144496040L; /** * 会中入会的外部用户临时id。同一个用户在不同会议中返回的该id不一致。 */ @SerializedName("tmp_external_userid") private String tmpExternalUserid; /** * 参会人首次加入会议时间的unix时间戳 */ @SerializedName("first_join_time") private Long firstJoinTime; /** * 参会人最后一次离开会议时间的unix时间戳 */ @SerializedName("last_quit_time") private Long lastQuitTime; /** * 参会人入会次数 */ @SerializedName("total_join_count") private Integer totalJoinCount; /** * 参会人累计参会时长,单位为秒 */ @SerializedName("cumulative_time") private Integer cumulativeTime; } } /** * The type Reminder. */ @Data @Accessors(chain = true) public static class Reminder implements Serializable { private static final long serialVersionUID = -4097232428444045131L; /** * 是否是周期性会议,1:周期性会议 0:非周期性会议。默认为0 */ @SerializedName("is_repeat") private Integer isRepeat; /** * 周期性会议重复类型,0.每天;1.每周;2.每月;7.每个工作日。默认为0。周期性会议该字段才生效 */ @SerializedName("repeat_type") private Integer repeatType; /** * 重复结束时刻。周期性会议该字段才生效。若会议结束时间超出最大结束时间或者未设置,则默认设置为最大结束时间。 * 每天\每个工作日\每周 最多重复200次会议; * 每两周\每月最多重复50次会议 */ @SerializedName("repeat_until") private Long repeatUntil; /** * 重复间隔 * 仅当指定为自定义重复时有效 * 目前仅当repeat_type为2时,即周期为周时,支持设置该字段,且值不能大于2。 */ @SerializedName("repeat_interval") private Integer repeatInterval; /** * 指定会议开始前多久提醒用户,相对于meeting_start前的秒数,默认不提醒。 * 目前仅支持0:会议开始时提醒;300:5分钟前提醒;900:15分钟前提醒;3600:一小时前提醒;86400一天前提醒。 * 若指定了非支持的值,则表现为会议开始时提醒 */ @SerializedName("remind_before") private List<Integer> remindBefore; } /** * The Settings. */ @Data @Accessors(chain = true) public static class Setting implements Serializable { private static final long serialVersionUID = 5030527150838243356L; /** * 入会密码,仅可输入4-6位纯数字 */ @SerializedName("password") private String password; /** * 是否开启等候室。true:开启等候室;false:不开启等候室;默认不开 */ @SerializedName("enable_waiting_room") private boolean enableWaitingRoom; /** * 是否允许成员在主持人进会前加入。true:允许;false:不允许。默认允许 */ @SerializedName("allow_enter_before_host") private boolean allowEnterBeforeHost; /** * 会议开始时来电提醒方式,1.不提醒 2.仅提醒主持人 3.提醒所有成员入 4.指定部分人响铃。默认仅提醒主持人 */ @SerializedName("remind_scope") private Integer remindScope; /** * 成员入会时静音;1:开启;0:关闭;2:超过6人后自动开启静音。默认超过6人自动开启静音 */ @SerializedName("enable_enter_mute") private Integer enableEnterMute; /** * true:所有成员可入会;false:仅企业内部成员可入会 。默认所有成员可入会 */ @SerializedName("allow_external_user") private boolean allowExternalUser; /** * 是否开启屏幕水印,true:开启;false:不开启。默认不开启 */ @SerializedName("enable_screen_watermark") private boolean enableScreenWatermark; /** * 会议主持人人列表,主持人员最多10个。若包含ceaater_userid,会自动过滤。任何userid不合法,直接报错。 */ @SerializedName("hosts") private Attendees hosts; /** * 指定响铃的用户列表。如果remid_scope为4,但是ring_users为空,则全部成员均不响铃。 */ @SerializedName("ring_users") private Attendees ringUsers; } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meeting/WxCpMeetingUpdateResult.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/meeting/WxCpMeetingUpdateResult.java
package me.chanjar.weixin.cp.bean.oa.meeting; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 为标签添加或移除用户结果对象类. * * @author <a href="https://github.com/wangmeng3486">wangmeng3486</a> created on 2023-01-31 */ @Data public class WxCpMeetingUpdateResult extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -4993287594652231097L; @Override public String toString() { return WxCpGsonBuilder.create().toJson(this); } /** * From json wx cp tag add or remove users result. * * @param json the json * @return the wx cp tag add or remove users result */ public static WxCpMeetingUpdateResult fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpMeetingUpdateResult.class); } @SerializedName("excess_users") private String[] excessUsers; }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/user/WxCpDeptUserResult.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/user/WxCpDeptUserResult.java
package me.chanjar.weixin.cp.bean.user; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.Getter; import lombok.Setter; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; import java.util.List; /** * 获取成员ID列表返回参数 * * @author <a href="https://gitee.com/Wang_Wong/">Wang_Wong</a> created on 2022/08/09 */ @Data public class WxCpDeptUserResult extends WxCpBaseResp { private static final long serialVersionUID = 1420065684270213578L; @SerializedName("next_cursor") private String nextCursor; @SerializedName("dept_user") private List<DeptUserList> deptUser; /** * The type Dept user list. */ @Getter @Setter public static class DeptUserList implements Serializable { private static final long serialVersionUID = 1420065684270213578L; @SerializedName("userid") private String userId; @SerializedName("department") private Long department; /** * From json dept user list. * * @param json the json * @return the dept user list */ public static DeptUserList fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, DeptUserList.class); } /** * To json string. * * @return the string */ public String toJson() { return WxCpGsonBuilder.create().toJson(this); } } /** * From json wx cp dept user result. * * @param json the json * @return the wx cp dept user result */ public static WxCpDeptUserResult fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpDeptUserResult.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotSendMessageRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotSendMessageRequest.java
package me.chanjar.weixin.cp.bean.intelligentrobot; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 智能机器人发送消息请求 * 官方文档: https://developer.work.weixin.qq.com/document/path/100719 * * @author Binary Wang */ @Data public class WxCpIntelligentRobotSendMessageRequest implements Serializable { private static final long serialVersionUID = -1L; /** * 机器人ID,必填 */ @SerializedName("robot_id") private String robotId; /** * 接收消息的用户ID,必填 */ @SerializedName("userid") private String userid; /** * 消息内容,必填 */ @SerializedName("message") private String message; /** * 会话ID,可选,用于保持会话连续性 */ @SerializedName("session_id") private String sessionId; /** * 消息ID,可选 */ @SerializedName("msg_id") private String msgId; public String toJson() { return WxCpGsonBuilder.create().toJson(this); } public static WxCpIntelligentRobotSendMessageRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpIntelligentRobotSendMessageRequest.class); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotCreateResponse.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotCreateResponse.java
package me.chanjar.weixin.cp.bean.intelligentrobot; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.EqualsAndHashCode; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 创建智能机器人响应 * * @author Binary Wang */ @Data @EqualsAndHashCode(callSuper = true) public class WxCpIntelligentRobotCreateResponse extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -1L; /** * 机器人ID */ @SerializedName("robot_id") private String robotId; public static WxCpIntelligentRobotCreateResponse fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpIntelligentRobotCreateResponse.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobot.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobot.java
package me.chanjar.weixin.cp.bean.intelligentrobot; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.EqualsAndHashCode; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 智能机器人信息 * * @author Binary Wang */ @Data @EqualsAndHashCode(callSuper = true) public class WxCpIntelligentRobot extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -1L; /** * 机器人ID */ @SerializedName("robot_id") private String robotId; /** * 机器人名称 */ @SerializedName("name") private String name; /** * 机器人描述 */ @SerializedName("description") private String description; /** * 机器人头像 */ @SerializedName("avatar") private String avatar; /** * 机器人状态 0:停用 1:启用 */ @SerializedName("status") private Integer status; /** * 创建时间 */ @SerializedName("create_time") private Long createTime; /** * 更新时间 */ @SerializedName("update_time") private Long updateTime; /** * From json wx cp intelligent robot. * * @param json the json * @return the wx cp intelligent robot */ public static WxCpIntelligentRobot fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpIntelligentRobot.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotSendMessageResponse.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotSendMessageResponse.java
package me.chanjar.weixin.cp.bean.intelligentrobot; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.EqualsAndHashCode; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 智能机器人发送消息响应 * 官方文档: https://developer.work.weixin.qq.com/document/path/100719 * * @author Binary Wang */ @Data @EqualsAndHashCode(callSuper = true) public class WxCpIntelligentRobotSendMessageResponse extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -1L; /** * 消息ID */ @SerializedName("msg_id") private String msgId; /** * 会话ID */ @SerializedName("session_id") private String sessionId; public static WxCpIntelligentRobotSendMessageResponse fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpIntelligentRobotSendMessageResponse.class); } @Override public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotChatRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotChatRequest.java
package me.chanjar.weixin.cp.bean.intelligentrobot; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 智能机器人聊天请求 * * @author Binary Wang */ @Data public class WxCpIntelligentRobotChatRequest implements Serializable { private static final long serialVersionUID = -1L; /** * 机器人ID */ @SerializedName("robot_id") private String robotId; /** * 用户ID */ @SerializedName("userid") private String userid; /** * 消息内容 */ @SerializedName("message") private String message; /** * 会话ID,可选,用于保持会话连续性 */ @SerializedName("session_id") private String sessionId; public String toJson() { return WxCpGsonBuilder.create().toJson(this); } public static WxCpIntelligentRobotChatRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpIntelligentRobotChatRequest.class); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotUpdateRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotUpdateRequest.java
package me.chanjar.weixin.cp.bean.intelligentrobot; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 更新智能机器人请求 * * @author Binary Wang */ @Data public class WxCpIntelligentRobotUpdateRequest implements Serializable { private static final long serialVersionUID = -1L; /** * 机器人ID */ @SerializedName("robot_id") private String robotId; /** * 机器人名称 */ @SerializedName("name") private String name; /** * 机器人描述 */ @SerializedName("description") private String description; /** * 机器人头像 */ @SerializedName("avatar") private String avatar; /** * 机器人状态 0:停用 1:启用 */ @SerializedName("status") private Integer status; public String toJson() { return WxCpGsonBuilder.create().toJson(this); } public static WxCpIntelligentRobotUpdateRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpIntelligentRobotUpdateRequest.class); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotChatResponse.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotChatResponse.java
package me.chanjar.weixin.cp.bean.intelligentrobot; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.EqualsAndHashCode; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 智能机器人聊天响应 * * @author Binary Wang */ @Data @EqualsAndHashCode(callSuper = true) public class WxCpIntelligentRobotChatResponse extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -1L; /** * 机器人回复内容 */ @SerializedName("reply") private String reply; /** * 会话ID */ @SerializedName("session_id") private String sessionId; /** * 消息ID */ @SerializedName("msg_id") private String msgId; public static WxCpIntelligentRobotChatResponse fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpIntelligentRobotChatResponse.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false
binarywang/WxJava
https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotCreateRequest.java
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/intelligentrobot/WxCpIntelligentRobotCreateRequest.java
package me.chanjar.weixin.cp.bean.intelligentrobot; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; /** * 创建智能机器人请求 * * @author Binary Wang */ @Data public class WxCpIntelligentRobotCreateRequest implements Serializable { private static final long serialVersionUID = -1L; /** * 机器人名称 */ @SerializedName("name") private String name; /** * 机器人描述 */ @SerializedName("description") private String description; /** * 机器人头像 */ @SerializedName("avatar") private String avatar; public String toJson() { return WxCpGsonBuilder.create().toJson(this); } public static WxCpIntelligentRobotCreateRequest fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpIntelligentRobotCreateRequest.class); } }
java
Apache-2.0
84b5c4d2d0774f800237634e5d0336f53c004fe3
2026-01-04T14:46:39.499027Z
false