com.byteplus.model.live.v20230101.DescribeLiveStreamStateResResult Maven / Gradle / Ivy
package com.byteplus.model.live.v20230101;
import com.alibaba.fastjson.JSON;
/**
* DescribeLiveStreamStateResResult
*/
@lombok.Data
public final class DescribeLiveStreamStateResResult {
/**
* 直播流状态,取值及含义如下所示。
*
*
*
* - `online`:在线流;
*
* - `offline`:历史流;
*
* - `forbidden`:禁推流。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "stream_state")
private String streamState;
/**
* 直播流类型,取值及含义如下所示。
*
*
*
* - `push`:直推流;
*
* - `pull`:回源流。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "type")
private String type;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}