Package video.api.client.api.models
Class LiveStreamUpdatePayload
- java.lang.Object
-
- video.api.client.api.models.LiveStreamUpdatePayload
-
- All Implemented Interfaces:
Serializable,DeepObject
public class LiveStreamUpdatePayload extends Object implements Serializable, DeepObject
LiveStreamUpdatePayload- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_PLAYER_IDstatic StringSERIALIZED_NAME_PUBLICstatic StringSERIALIZED_NAME_RESTREAMS
-
Constructor Summary
Constructors Constructor Description LiveStreamUpdatePayload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LiveStreamUpdatePayload_public(Boolean _public)LiveStreamUpdatePayloadaddRestreamsItem(RestreamsRequestObject restreamsItem)booleanequals(Object o)StringgetName()The name you want to use for your live stream.StringgetPlayerId()The unique ID for the player associated with a live stream that you want to update.BooleangetPublic()Whether your video can be viewed by everyone, or requires authentication to see it.List<RestreamsRequestObject>getRestreams()Use this parameter to add, edit, or remove `RTMPS` or `RTMP` services where you want to restream a live stream.inthashCode()LiveStreamUpdatePayloadname(String name)LiveStreamUpdatePayloadplayerId(String playerId)LiveStreamUpdatePayloadrestreams(List<RestreamsRequestObject> restreams)voidsetName(String name)voidsetPlayerId(String playerId)voidsetPublic(Boolean _public)voidsetRestreams(List<RestreamsRequestObject> restreams)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PUBLIC
public static final String SERIALIZED_NAME_PUBLIC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PLAYER_ID
public static final String SERIALIZED_NAME_PLAYER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESTREAMS
public static final String SERIALIZED_NAME_RESTREAMS
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public LiveStreamUpdatePayload name(String name)
-
getName
@Nullable public String getName()
The name you want to use for your live stream.- Returns:
- name
-
setName
public void setName(String name)
-
_public
public LiveStreamUpdatePayload _public(Boolean _public)
-
getPublic
@Nullable public Boolean getPublic()
Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/delivery/video-privacy-access-management).- Returns:
- _public
-
setPublic
public void setPublic(Boolean _public)
-
playerId
public LiveStreamUpdatePayload playerId(String playerId)
-
getPlayerId
@Nullable public String getPlayerId()
The unique ID for the player associated with a live stream that you want to update.- Returns:
- playerId
-
setPlayerId
public void setPlayerId(String playerId)
-
restreams
public LiveStreamUpdatePayload restreams(List<RestreamsRequestObject> restreams)
-
addRestreamsItem
public LiveStreamUpdatePayload addRestreamsItem(RestreamsRequestObject restreamsItem)
-
getRestreams
@Nullable public List<RestreamsRequestObject> getRestreams()
Use this parameter to add, edit, or remove `RTMPS` or `RTMP` services where you want to restream a live stream. The list can only contain up to 5 destinations. This operation updates all restream destinations in the same request. If you do not want to modify an existing restream destination, you need to include it in your request, otherwise it is removed.- Returns:
- restreams
-
setRestreams
public void setRestreams(List<RestreamsRequestObject> restreams)
-
-