Package video.api.client.api.models
Class SummaryCreationPayload
- java.lang.Object
-
- video.api.client.api.models.SummaryCreationPayload
-
- All Implemented Interfaces:
Serializable,DeepObject
public class SummaryCreationPayload extends Object implements Serializable, DeepObject
SummaryCreationPayload- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSummaryCreationPayload.OriginEnumUse this parameter to define how the API generates the summary.
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ORIGINstatic StringSERIALIZED_NAME_VIDEO_ID
-
Constructor Summary
Constructors Constructor Description SummaryCreationPayload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)SummaryCreationPayload.OriginEnumgetOrigin()Use this parameter to define how the API generates the summary.StringgetVideoId()Create a summary of a video using the video ID.inthashCode()SummaryCreationPayloadorigin(SummaryCreationPayload.OriginEnum origin)voidsetOrigin(SummaryCreationPayload.OriginEnum origin)voidsetVideoId(String videoId)StringtoString()SummaryCreationPayloadvideoId(String videoId)
-
-
-
Field Detail
-
SERIALIZED_NAME_VIDEO_ID
public static final String SERIALIZED_NAME_VIDEO_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ORIGIN
public static final String SERIALIZED_NAME_ORIGIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
videoId
public SummaryCreationPayload videoId(String videoId)
-
getVideoId
public String getVideoId()
Create a summary of a video using the video ID.- Returns:
- videoId
-
setVideoId
public void setVideoId(String videoId)
-
origin
public SummaryCreationPayload origin(SummaryCreationPayload.OriginEnum origin)
-
getOrigin
@Nullable public SummaryCreationPayload.OriginEnum getOrigin()
Use this parameter to define how the API generates the summary. The only allowed value is `auto`, which means that the API generates a summary automatically. If you do not set this parameter, **the API will not generate a summary automatically**. In this case, `sourceStatus` will return `missing`, and you have to manually add a summary using the `PATCH /summaries/{summaryId}/source` endpoint operation.- Returns:
- origin
-
setOrigin
public void setOrigin(SummaryCreationPayload.OriginEnum origin)
-
-