
com.huaweicloud.sdk.meeting.v1.model.OpenRoomSettingVO Maven / Gradle / Ivy
package com.huaweicloud.sdk.meeting.v1.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/** 直播间高级设置VO */
public class OpenRoomSettingVO {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "roomIntroduce")
private String roomIntroduce;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "cropLogoId")
private String cropLogoId;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "coverPictureId")
private String coverPictureId;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "showAudienceMode")
private String showAudienceMode;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "isRedoubleOpen")
private String isRedoubleOpen;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "baseAudienceCount")
private Integer baseAudienceCount;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "multiple")
private Double multiple;
public OpenRoomSettingVO withRoomIntroduce(String roomIntroduce) {
this.roomIntroduce = roomIntroduce;
return this;
}
/** 直播介绍, 最大不超过500个字符
*
* @return roomIntroduce */
public String getRoomIntroduce() {
return roomIntroduce;
}
public void setRoomIntroduce(String roomIntroduce) {
this.roomIntroduce = roomIntroduce;
}
public OpenRoomSettingVO withCropLogoId(String cropLogoId) {
this.cropLogoId = cropLogoId;
return this;
}
/** 企业Logo(文件id),不超过32字符
*
* @return cropLogoId */
public String getCropLogoId() {
return cropLogoId;
}
public void setCropLogoId(String cropLogoId) {
this.cropLogoId = cropLogoId;
}
public OpenRoomSettingVO withCoverPictureId(String coverPictureId) {
this.coverPictureId = coverPictureId;
return this;
}
/** 封面内容(文件id),不超过32字符
*
* @return coverPictureId */
public String getCoverPictureId() {
return coverPictureId;
}
public void setCoverPictureId(String coverPictureId) {
this.coverPictureId = coverPictureId;
}
public OpenRoomSettingVO withShowAudienceMode(String showAudienceMode) {
this.showAudienceMode = showAudienceMode;
return this;
}
/** 显示观众人数的模式。默认值为real_time - none:不显示 - real_time:实时显示
*
* @return showAudienceMode */
public String getShowAudienceMode() {
return showAudienceMode;
}
public void setShowAudienceMode(String showAudienceMode) {
this.showAudienceMode = showAudienceMode;
}
public OpenRoomSettingVO withIsRedoubleOpen(String isRedoubleOpen) {
this.isRedoubleOpen = isRedoubleOpen;
return this;
}
/** 智能倍增开关。默认值为Y - Y 开启智能倍增 - N 关闭智能倍增
*
* @return isRedoubleOpen */
public String getIsRedoubleOpen() {
return isRedoubleOpen;
}
public void setIsRedoubleOpen(String isRedoubleOpen) {
this.isRedoubleOpen = isRedoubleOpen;
}
public OpenRoomSettingVO withBaseAudienceCount(Integer baseAudienceCount) {
this.baseAudienceCount = baseAudienceCount;
return this;
}
/** 基础设置人数(直播间没人时显示的人数). 取值范围为[0, 10000]。默认值为0
*
* @return baseAudienceCount */
public Integer getBaseAudienceCount() {
return baseAudienceCount;
}
public void setBaseAudienceCount(Integer baseAudienceCount) {
this.baseAudienceCount = baseAudienceCount;
}
public OpenRoomSettingVO withMultiple(Double multiple) {
this.multiple = multiple;
return this;
}
/** 设置倍数(基础人数+真实人数*倍数). 取值范围为[0, 10],取1位小数。默认值为1.0
*
* @return multiple */
public Double getMultiple() {
return multiple;
}
public void setMultiple(Double multiple) {
this.multiple = multiple;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
OpenRoomSettingVO openRoomSettingVO = (OpenRoomSettingVO) o;
return Objects.equals(this.roomIntroduce, openRoomSettingVO.roomIntroduce)
&& Objects.equals(this.cropLogoId, openRoomSettingVO.cropLogoId)
&& Objects.equals(this.coverPictureId, openRoomSettingVO.coverPictureId)
&& Objects.equals(this.showAudienceMode, openRoomSettingVO.showAudienceMode)
&& Objects.equals(this.isRedoubleOpen, openRoomSettingVO.isRedoubleOpen)
&& Objects.equals(this.baseAudienceCount, openRoomSettingVO.baseAudienceCount)
&& Objects.equals(this.multiple, openRoomSettingVO.multiple);
}
@Override
public int hashCode() {
return Objects.hash(roomIntroduce,
cropLogoId,
coverPictureId,
showAudienceMode,
isRedoubleOpen,
baseAudienceCount,
multiple);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class OpenRoomSettingVO {\n");
sb.append(" roomIntroduce: ").append(toIndentedString(roomIntroduce)).append("\n");
sb.append(" cropLogoId: ").append(toIndentedString(cropLogoId)).append("\n");
sb.append(" coverPictureId: ").append(toIndentedString(coverPictureId)).append("\n");
sb.append(" showAudienceMode: ").append(toIndentedString(showAudienceMode)).append("\n");
sb.append(" isRedoubleOpen: ").append(toIndentedString(isRedoubleOpen)).append("\n");
sb.append(" baseAudienceCount: ").append(toIndentedString(baseAudienceCount)).append("\n");
sb.append(" multiple: ").append(toIndentedString(multiple)).append("\n");
sb.append("}");
return sb.toString();
}
/** Convert the given object to string with each line indented by 4 spaces (except the first line). */
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy