com.aliyun.dingtalkrooms_1_0.models.CreateMeetingRoomRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkrooms_1_0.models;
import com.aliyun.tea.*;
public class CreateMeetingRoomRequest extends TeaModel {
@NameInMap("enableCycleReservation")
public Boolean enableCycleReservation;
/**
* example:
* 0
*/
@NameInMap("groupId")
public Long groupId;
/**
* This parameter is required.
*
* example:
* xxxIsvRoomId
*/
@NameInMap("isvRoomId")
public String isvRoomId;
@NameInMap("reservationAuthority")
public CreateMeetingRoomRequestReservationAuthority reservationAuthority;
/**
* example:
* 10
*/
@NameInMap("roomCapacity")
public Integer roomCapacity;
@NameInMap("roomLabelIds")
public java.util.List roomLabelIds;
@NameInMap("roomLocation")
public CreateMeetingRoomRequestRoomLocation roomLocation;
/**
* This parameter is required.
*
* example:
* 测试会议室
*/
@NameInMap("roomName")
public String roomName;
/**
* example:
* https://static.dingtalk.com/media/lADPDgfLPFjNPu3NAWjNAWg_360_360.jpg
*/
@NameInMap("roomPicture")
public String roomPicture;
/**
* This parameter is required.
*
* example:
* 0.全员可用 1.仅管理员可用
*/
@NameInMap("roomStatus")
public Integer roomStatus;
/**
* This parameter is required.
*
* example:
* 2iPOLbpUNMLzB5LuwggiiqiPwiEiE
*/
@NameInMap("unionId")
public String unionId;
public static CreateMeetingRoomRequest build(java.util.Map map) throws Exception {
CreateMeetingRoomRequest self = new CreateMeetingRoomRequest();
return TeaModel.build(map, self);
}
public CreateMeetingRoomRequest setEnableCycleReservation(Boolean enableCycleReservation) {
this.enableCycleReservation = enableCycleReservation;
return this;
}
public Boolean getEnableCycleReservation() {
return this.enableCycleReservation;
}
public CreateMeetingRoomRequest setGroupId(Long groupId) {
this.groupId = groupId;
return this;
}
public Long getGroupId() {
return this.groupId;
}
public CreateMeetingRoomRequest setIsvRoomId(String isvRoomId) {
this.isvRoomId = isvRoomId;
return this;
}
public String getIsvRoomId() {
return this.isvRoomId;
}
public CreateMeetingRoomRequest setReservationAuthority(CreateMeetingRoomRequestReservationAuthority reservationAuthority) {
this.reservationAuthority = reservationAuthority;
return this;
}
public CreateMeetingRoomRequestReservationAuthority getReservationAuthority() {
return this.reservationAuthority;
}
public CreateMeetingRoomRequest setRoomCapacity(Integer roomCapacity) {
this.roomCapacity = roomCapacity;
return this;
}
public Integer getRoomCapacity() {
return this.roomCapacity;
}
public CreateMeetingRoomRequest setRoomLabelIds(java.util.List roomLabelIds) {
this.roomLabelIds = roomLabelIds;
return this;
}
public java.util.List getRoomLabelIds() {
return this.roomLabelIds;
}
public CreateMeetingRoomRequest setRoomLocation(CreateMeetingRoomRequestRoomLocation roomLocation) {
this.roomLocation = roomLocation;
return this;
}
public CreateMeetingRoomRequestRoomLocation getRoomLocation() {
return this.roomLocation;
}
public CreateMeetingRoomRequest setRoomName(String roomName) {
this.roomName = roomName;
return this;
}
public String getRoomName() {
return this.roomName;
}
public CreateMeetingRoomRequest setRoomPicture(String roomPicture) {
this.roomPicture = roomPicture;
return this;
}
public String getRoomPicture() {
return this.roomPicture;
}
public CreateMeetingRoomRequest setRoomStatus(Integer roomStatus) {
this.roomStatus = roomStatus;
return this;
}
public Integer getRoomStatus() {
return this.roomStatus;
}
public CreateMeetingRoomRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public static class CreateMeetingRoomRequestReservationAuthorityAuthorizedMembers extends TeaModel {
/**
* example:
* lPHhSZDLXXXXXXpBlC9lxLwiEiE
*/
@NameInMap("memberId")
public String memberId;
/**
* example:
* 张三
*/
@NameInMap("memberName")
public String memberName;
/**
* example:
* user
*/
@NameInMap("memberType")
public String memberType;
public static CreateMeetingRoomRequestReservationAuthorityAuthorizedMembers build(java.util.Map map) throws Exception {
CreateMeetingRoomRequestReservationAuthorityAuthorizedMembers self = new CreateMeetingRoomRequestReservationAuthorityAuthorizedMembers();
return TeaModel.build(map, self);
}
public CreateMeetingRoomRequestReservationAuthorityAuthorizedMembers setMemberId(String memberId) {
this.memberId = memberId;
return this;
}
public String getMemberId() {
return this.memberId;
}
public CreateMeetingRoomRequestReservationAuthorityAuthorizedMembers setMemberName(String memberName) {
this.memberName = memberName;
return this;
}
public String getMemberName() {
return this.memberName;
}
public CreateMeetingRoomRequestReservationAuthorityAuthorizedMembers setMemberType(String memberType) {
this.memberType = memberType;
return this;
}
public String getMemberType() {
return this.memberType;
}
}
public static class CreateMeetingRoomRequestReservationAuthority extends TeaModel {
@NameInMap("authorizedMembers")
public java.util.List authorizedMembers;
public static CreateMeetingRoomRequestReservationAuthority build(java.util.Map map) throws Exception {
CreateMeetingRoomRequestReservationAuthority self = new CreateMeetingRoomRequestReservationAuthority();
return TeaModel.build(map, self);
}
public CreateMeetingRoomRequestReservationAuthority setAuthorizedMembers(java.util.List authorizedMembers) {
this.authorizedMembers = authorizedMembers;
return this;
}
public java.util.List getAuthorizedMembers() {
return this.authorizedMembers;
}
}
public static class CreateMeetingRoomRequestRoomLocation extends TeaModel {
/**
* example:
* xx市xx区xx路xx号
*/
@NameInMap("desc")
public String desc;
/**
* example:
* xxx公司
*/
@NameInMap("title")
public String title;
public static CreateMeetingRoomRequestRoomLocation build(java.util.Map map) throws Exception {
CreateMeetingRoomRequestRoomLocation self = new CreateMeetingRoomRequestRoomLocation();
return TeaModel.build(map, self);
}
public CreateMeetingRoomRequestRoomLocation setDesc(String desc) {
this.desc = desc;
return this;
}
public String getDesc() {
return this.desc;
}
public CreateMeetingRoomRequestRoomLocation setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
}