com.aliyun.dingtalkrooms_1_0.models.UpdateMeetingRoomRequest 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 UpdateMeetingRoomRequest extends TeaModel {
@NameInMap("enableCycleReservation")
public Boolean enableCycleReservation;
/**
* example:
* 0
*/
@NameInMap("groupId")
public Long groupId;
/**
* example:
* xxxIsvRoomId
*/
@NameInMap("isvRoomId")
public String isvRoomId;
@NameInMap("reservationAuthority")
public UpdateMeetingRoomRequestReservationAuthority reservationAuthority;
/**
* example:
* 10
*/
@NameInMap("roomCapacity")
public Integer roomCapacity;
/**
* This parameter is required.
*
* example:
* 0ffb71843fbb7fc362cb1a0de97fd20b808b09d6ca6282ed
*/
@NameInMap("roomId")
public String roomId;
@NameInMap("roomLabelIds")
public java.util.List roomLabelIds;
@NameInMap("roomLocation")
public UpdateMeetingRoomRequestRoomLocation roomLocation;
/**
* example:
* 测试会议室
*/
@NameInMap("roomName")
public String roomName;
/**
* example:
* https://static.dingtalk.com/media/lADPDgfLPFjNPu3NAWjNAWg_360_360.jpg
*/
@NameInMap("roomPicture")
public String roomPicture;
/**
* example:
* 0.全员可用 1.仅管理员可用
*/
@NameInMap("roomStatus")
public Integer roomStatus;
/**
* This parameter is required.
*
* example:
* 2iPOLbpUNMLzB5LuwggiiqiPwiEiE
*/
@NameInMap("unionId")
public String unionId;
public static UpdateMeetingRoomRequest build(java.util.Map map) throws Exception {
UpdateMeetingRoomRequest self = new UpdateMeetingRoomRequest();
return TeaModel.build(map, self);
}
public UpdateMeetingRoomRequest setEnableCycleReservation(Boolean enableCycleReservation) {
this.enableCycleReservation = enableCycleReservation;
return this;
}
public Boolean getEnableCycleReservation() {
return this.enableCycleReservation;
}
public UpdateMeetingRoomRequest setGroupId(Long groupId) {
this.groupId = groupId;
return this;
}
public Long getGroupId() {
return this.groupId;
}
public UpdateMeetingRoomRequest setIsvRoomId(String isvRoomId) {
this.isvRoomId = isvRoomId;
return this;
}
public String getIsvRoomId() {
return this.isvRoomId;
}
public UpdateMeetingRoomRequest setReservationAuthority(UpdateMeetingRoomRequestReservationAuthority reservationAuthority) {
this.reservationAuthority = reservationAuthority;
return this;
}
public UpdateMeetingRoomRequestReservationAuthority getReservationAuthority() {
return this.reservationAuthority;
}
public UpdateMeetingRoomRequest setRoomCapacity(Integer roomCapacity) {
this.roomCapacity = roomCapacity;
return this;
}
public Integer getRoomCapacity() {
return this.roomCapacity;
}
public UpdateMeetingRoomRequest setRoomId(String roomId) {
this.roomId = roomId;
return this;
}
public String getRoomId() {
return this.roomId;
}
public UpdateMeetingRoomRequest setRoomLabelIds(java.util.List roomLabelIds) {
this.roomLabelIds = roomLabelIds;
return this;
}
public java.util.List getRoomLabelIds() {
return this.roomLabelIds;
}
public UpdateMeetingRoomRequest setRoomLocation(UpdateMeetingRoomRequestRoomLocation roomLocation) {
this.roomLocation = roomLocation;
return this;
}
public UpdateMeetingRoomRequestRoomLocation getRoomLocation() {
return this.roomLocation;
}
public UpdateMeetingRoomRequest setRoomName(String roomName) {
this.roomName = roomName;
return this;
}
public String getRoomName() {
return this.roomName;
}
public UpdateMeetingRoomRequest setRoomPicture(String roomPicture) {
this.roomPicture = roomPicture;
return this;
}
public String getRoomPicture() {
return this.roomPicture;
}
public UpdateMeetingRoomRequest setRoomStatus(Integer roomStatus) {
this.roomStatus = roomStatus;
return this;
}
public Integer getRoomStatus() {
return this.roomStatus;
}
public UpdateMeetingRoomRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public static class UpdateMeetingRoomRequestReservationAuthorityAuthorizedMembers extends TeaModel {
/**
* example:
* lPHhSZDLXXXXXXpBlC9lxLwiEiE
*/
@NameInMap("memberId")
public String memberId;
/**
* example:
* 张三
*/
@NameInMap("memberName")
public String memberName;
/**
* example:
* user
*/
@NameInMap("memberType")
public String memberType;
public static UpdateMeetingRoomRequestReservationAuthorityAuthorizedMembers build(java.util.Map map) throws Exception {
UpdateMeetingRoomRequestReservationAuthorityAuthorizedMembers self = new UpdateMeetingRoomRequestReservationAuthorityAuthorizedMembers();
return TeaModel.build(map, self);
}
public UpdateMeetingRoomRequestReservationAuthorityAuthorizedMembers setMemberId(String memberId) {
this.memberId = memberId;
return this;
}
public String getMemberId() {
return this.memberId;
}
public UpdateMeetingRoomRequestReservationAuthorityAuthorizedMembers setMemberName(String memberName) {
this.memberName = memberName;
return this;
}
public String getMemberName() {
return this.memberName;
}
public UpdateMeetingRoomRequestReservationAuthorityAuthorizedMembers setMemberType(String memberType) {
this.memberType = memberType;
return this;
}
public String getMemberType() {
return this.memberType;
}
}
public static class UpdateMeetingRoomRequestReservationAuthority extends TeaModel {
@NameInMap("authorizedMembers")
public java.util.List authorizedMembers;
public static UpdateMeetingRoomRequestReservationAuthority build(java.util.Map map) throws Exception {
UpdateMeetingRoomRequestReservationAuthority self = new UpdateMeetingRoomRequestReservationAuthority();
return TeaModel.build(map, self);
}
public UpdateMeetingRoomRequestReservationAuthority setAuthorizedMembers(java.util.List authorizedMembers) {
this.authorizedMembers = authorizedMembers;
return this;
}
public java.util.List getAuthorizedMembers() {
return this.authorizedMembers;
}
}
public static class UpdateMeetingRoomRequestRoomLocation extends TeaModel {
/**
* example:
* xx市xx区xx路xx号
*/
@NameInMap("desc")
public String desc;
/**
* example:
* xxx公司
*/
@NameInMap("title")
public String title;
public static UpdateMeetingRoomRequestRoomLocation build(java.util.Map map) throws Exception {
UpdateMeetingRoomRequestRoomLocation self = new UpdateMeetingRoomRequestRoomLocation();
return TeaModel.build(map, self);
}
public UpdateMeetingRoomRequestRoomLocation setDesc(String desc) {
this.desc = desc;
return this;
}
public String getDesc() {
return this.desc;
}
public UpdateMeetingRoomRequestRoomLocation setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
}