-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
775 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
.../java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookByMeetingRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
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); | ||
} | ||
|
||
} |
50 changes: 50 additions & 0 deletions
50
...java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookByScheduleRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
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); | ||
} | ||
|
||
} |
65 changes: 65 additions & 0 deletions
65
.../src/main/java/me/chanjar/weixin/cp/bean/oa/meetingroom/WxCpOaMeetingRoomBookRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
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); | ||
} | ||
|
||
} |
Oops, something went wrong.