Package video.api.client.api.models
Class Summary
- java.lang.Object
-
- video.api.client.api.models.Summary
-
- All Implemented Interfaces:
Serializable,DeepObject
public class Summary extends Object implements Serializable, DeepObject
Summary- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSummary.OriginEnumReturns the origin of how the summary was created.static classSummary.SourceStatusEnumReturns the current status of summary generation.
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_ORIGINstatic StringSERIALIZED_NAME_SOURCE_STATUSstatic StringSERIALIZED_NAME_SUMMARY_IDstatic StringSERIALIZED_NAME_UPDATED_ATstatic StringSERIALIZED_NAME_VIDEO_ID
-
Constructor Summary
Constructors Constructor Description Summary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SummarycreatedAt(OffsetDateTime createdAt)booleanequals(Object o)OffsetDateTimegetCreatedAt()Returns the date and time when the summary was created in ATOM date-time format.Summary.OriginEnumgetOrigin()Returns the origin of how the summary was created.Summary.SourceStatusEnumgetSourceStatus()Returns the current status of summary generation.StringgetSummaryId()The unique identifier of the summary object.OffsetDateTimegetUpdatedAt()Returns the date and time when the summary was last updated in ATOM date-time format.StringgetVideoId()The unique identifier of the video object.inthashCode()Summaryorigin(Summary.OriginEnum origin)voidsetCreatedAt(OffsetDateTime createdAt)voidsetOrigin(Summary.OriginEnum origin)voidsetSourceStatus(Summary.SourceStatusEnum sourceStatus)voidsetSummaryId(String summaryId)voidsetUpdatedAt(OffsetDateTime updatedAt)voidsetVideoId(String videoId)SummarysourceStatus(Summary.SourceStatusEnum sourceStatus)SummarysummaryId(String summaryId)StringtoString()SummaryupdatedAt(OffsetDateTime updatedAt)SummaryvideoId(String videoId)
-
-
-
Field Detail
-
SERIALIZED_NAME_SUMMARY_ID
public static final String SERIALIZED_NAME_SUMMARY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
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
-
SERIALIZED_NAME_SOURCE_STATUS
public static final String SERIALIZED_NAME_SOURCE_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSummaryId
@Nullable public String getSummaryId()
The unique identifier of the summary object.- Returns:
- summaryId
-
setSummaryId
public void setSummaryId(String summaryId)
-
createdAt
public Summary createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Returns the date and time when the summary was created in ATOM date-time format.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public Summary updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Returns the date and time when the summary was last updated in ATOM date-time format.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
getVideoId
@Nullable public String getVideoId()
The unique identifier of the video object.- Returns:
- videoId
-
setVideoId
public void setVideoId(String videoId)
-
origin
public Summary origin(Summary.OriginEnum origin)
-
getOrigin
@Nullable public Summary.OriginEnum getOrigin()
Returns the origin of how the summary was created. - `api` means that no summary was generated automatically. You can add summary manually using the `PATCH /summaries/{summaryId}/source` endpoint operation. Until this happens, `sourceStatus` returns `missing`. - `auto` means that the API generated the summary automatically.- Returns:
- origin
-
setOrigin
public void setOrigin(Summary.OriginEnum origin)
-
sourceStatus
public Summary sourceStatus(Summary.SourceStatusEnum sourceStatus)
-
getSourceStatus
@Nullable public Summary.SourceStatusEnum getSourceStatus()
Returns the current status of summary generation. `missing`: the input for a summary is not present. `waiting` : the input video is being processed and a summary will be generated. `failed`: a technical issue prevented summary generation. `completed`: the summary is generated. `unprocessable`: the API rules the source video to be unsuitable for summary generation. An example for this is an input video that has no audio.- Returns:
- sourceStatus
-
setSourceStatus
public void setSourceStatus(Summary.SourceStatusEnum sourceStatus)
-
-