Package video.api.client.api.models
Class LiveStreamCreationPayload
- java.lang.Object
-
- video.api.client.api.models.LiveStreamCreationPayload
-
- All Implemented Interfaces:
Serializable
public class LiveStreamCreationPayload extends Object implements Serializable
LiveStreamCreationPayload- 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_RECORD
-
Constructor Summary
Constructors Constructor Description LiveStreamCreationPayload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LiveStreamCreationPayload_public(Boolean _public)booleanequals(Object o)StringgetName()Add a name for your live stream here.StringgetPlayerId()The unique identifier for the player.BooleangetPublic()BETA FEATURE Please limit all public = false (\"private\") livestreams to 3,000 users.BooleangetRecord()Whether you are recording or not.inthashCode()LiveStreamCreationPayloadname(String name)LiveStreamCreationPayloadplayerId(String playerId)LiveStreamCreationPayloadrecord(Boolean record)voidsetName(String name)voidsetPlayerId(String playerId)voidsetPublic(Boolean _public)voidsetRecord(Boolean record)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECORD
public static final String SERIALIZED_NAME_RECORD
- 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
-
-
Method Detail
-
name
public LiveStreamCreationPayload name(String name)
-
getName
public String getName()
Add a name for your live stream here.- Returns:
- name
-
setName
public void setName(String name)
-
record
public LiveStreamCreationPayload record(Boolean record)
-
getRecord
@Nullable public Boolean getRecord()
Whether you are recording or not. True for record, false for not record.- Returns:
- record
-
setRecord
public void setRecord(Boolean record)
-
_public
public LiveStreamCreationPayload _public(Boolean _public)
-
getPublic
@Nullable public Boolean getPublic()
BETA FEATURE Please limit all public = false (\"private\") livestreams to 3,000 users. 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.- Returns:
- _public
-
setPublic
public void setPublic(Boolean _public)
-
playerId
public LiveStreamCreationPayload playerId(String playerId)
-
getPlayerId
@Nullable public String getPlayerId()
The unique identifier for the player.- Returns:
- playerId
-
setPlayerId
public void setPlayerId(String playerId)
-
-