net.polyv.live.v1.entity.web.auth.LiveChannelAuthCustomResponse Maven / Gradle / Ivy
The newest version!
package net.polyv.live.v1.entity.web.auth;
import java.util.List;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* 设置自定义授权地址返回实体
* @author: sadboy
**/
@Data
@Accessors(chain = true)
@ApiModel("设置自定义授权地址返回实体")
public class LiveChannelAuthCustomResponse {
@ApiModelProperty(name = "channelAuthExternals", value = "外部授权", required = false)
private List channelAuthExternals;
@Data
@Accessors(chain = true)
@ApiModel("外部授权")
public static class ChannelAuthExternal {
/**
* 设置的频道号
*/
@ApiModelProperty(name = "channelId", value = "设置的频道号", required = false)
private String channelId;
/**
* 频道号对应自定义授权的secretKey
*/
@ApiModelProperty(name = "secretKey", value = "频道号对应自定义授权的secretKey", required = false)
private String secretKey;
}
}