net.polyv.live.v1.entity.channel.state.LiveChannelStreamEndRequest Maven / Gradle / Ivy
The newest version!
package net.polyv.live.v1.entity.channel.state;
import net.polyv.common.v1.validator.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import net.polyv.live.v1.entity.LiveCommonRequest;
/**
* 设置频道为无直播状态请求实体
* @author: sadboy
**/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel("设置频道为无直播状态请求实体")
public class LiveChannelStreamEndRequest extends LiveCommonRequest {
/**
* POLYV用户ID,通过注册保利威官网获取,路径:官网->登录->直播(开发设置)
*/
@ApiModelProperty(hidden = true, required = true)
@NotNull(message = "属性userId不能为空")
private String userId;
/**
* 频道号
*/
@ApiModelProperty(name = "channelId", value = "频道号", required = true)
@NotNull(message = "属性channelId不能为空")
private String channelId;
}