public class Subtask extends BitmovinResponse
Constructor and Description |
---|
Subtask() |
Modifier and Type | Method and Description |
---|---|
Subtask |
addMessagesItem(Message messagesItem) |
boolean |
equals(Object o) |
Date |
getCreatedAt()
Timestamp when the subtask was created, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
Date |
getErrorAt()
Timestamp when the subtask status changed to 'ERROR', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ Note that this timestamp is deprecated and is equivalent to finishedAt in case of an 'ERROR'.
|
Date |
getFinishedAt()
Timestamp when the subtask status changed to a final state like 'FINISHED', 'ERROR', 'CANCELED', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ Note that this timestamp might be inaccurate for subtasks which ran prior to the [1.50.0 REST API release](https://bitmovin.com/docs/encoding/changelogs/rest).
|
List<Message> |
getMessages()
Task specific messages
|
String |
getName()
Name of the subtask (required)
|
Integer |
getProgress()
Progress in percent
|
Date |
getQueuedAt()
Timestamp when the subtask status changed to 'QUEUED', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
Date |
getRunningAt()
Timestamp when the subtask status changed to 'RUNNING', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
Date |
getStartedAt()
Timestamp when the subtask was started, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
Status |
getStatus()
Current status (required)
|
Date |
getUpdatedAt()
Timestamp when the subtask was last updated, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
int |
hashCode() |
void |
setCreatedAt(Date createdAt)
Timestamp when the subtask was created, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
void |
setErrorAt(Date errorAt)
Timestamp when the subtask status changed to 'ERROR', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ Note that this timestamp is deprecated and is equivalent to finishedAt in case of an 'ERROR'.
|
void |
setFinishedAt(Date finishedAt)
Timestamp when the subtask status changed to a final state like 'FINISHED', 'ERROR', 'CANCELED', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ Note that this timestamp might be inaccurate for subtasks which ran prior to the [1.50.0 REST API release](https://bitmovin.com/docs/encoding/changelogs/rest).
|
void |
setMessages(List<Message> messages)
Task specific messages
|
void |
setName(String name)
Name of the subtask (required)
|
void |
setProgress(Integer progress)
Progress in percent
|
void |
setQueuedAt(Date queuedAt)
Timestamp when the subtask status changed to 'QUEUED', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
void |
setRunningAt(Date runningAt)
Timestamp when the subtask status changed to 'RUNNING', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
void |
setStartedAt(Date startedAt)
Timestamp when the subtask was started, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
void |
setStatus(Status status)
Current status (required)
|
void |
setUpdatedAt(Date updatedAt)
Timestamp when the subtask was last updated, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
String |
toString() |
getId
public Status getStatus()
public void setStatus(Status status)
status
- Current status (required)public Integer getProgress()
public void setProgress(Integer progress)
progress
- Progress in percentpublic String getName()
public void setName(String name)
name
- Name of the subtask (required)public void setMessages(List<Message> messages)
messages
- Task specific messagespublic Date getCreatedAt()
public void setCreatedAt(Date createdAt)
createdAt
- Timestamp when the subtask was created, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZpublic Date getUpdatedAt()
public void setUpdatedAt(Date updatedAt)
updatedAt
- Timestamp when the subtask was last updated, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZpublic Date getStartedAt()
public void setStartedAt(Date startedAt)
startedAt
- Timestamp when the subtask was started, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZpublic Date getQueuedAt()
public void setQueuedAt(Date queuedAt)
queuedAt
- Timestamp when the subtask status changed to 'QUEUED', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZpublic Date getRunningAt()
public void setRunningAt(Date runningAt)
runningAt
- Timestamp when the subtask status changed to 'RUNNING', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZpublic Date getFinishedAt()
public void setFinishedAt(Date finishedAt)
finishedAt
- Timestamp when the subtask status changed to a final state like 'FINISHED', 'ERROR', 'CANCELED', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ Note that this timestamp might be inaccurate for subtasks which ran prior to the [1.50.0 REST API release](https://bitmovin.com/docs/encoding/changelogs/rest).public Date getErrorAt()
public void setErrorAt(Date errorAt)
errorAt
- Timestamp when the subtask status changed to 'ERROR', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ Note that this timestamp is deprecated and is equivalent to finishedAt in case of an 'ERROR'.public boolean equals(Object o)
equals
in class BitmovinResponse
public int hashCode()
hashCode
in class BitmovinResponse
public String toString()
toString
in class BitmovinResponse
Copyright © 2021. All rights reserved.