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, formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
Date |
getErrorAt()
Timestamp when the subtask status changed to 'ERROR', formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
Date |
getFinishedAt()
Timestamp when the subtask status changed to 'FINISHED', formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
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', formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
Date |
getRunningAt()
Timestamp when the subtask status changed to to 'RUNNING', formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
Date |
getStartedAt()
Timestamp when the subtask was started, formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
Status |
getStatus()
Current status (required)
|
Date |
getUpdatedAt()
Timestamp when the subtask was last updated, formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
int |
hashCode() |
void |
setCreatedAt(Date createdAt)
Timestamp when the subtask was created, formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
void |
setErrorAt(Date errorAt)
Timestamp when the subtask status changed to 'ERROR', formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
void |
setFinishedAt(Date finishedAt)
Timestamp when the subtask status changed to 'FINISHED', formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
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', formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
void |
setRunningAt(Date runningAt)
Timestamp when the subtask status changed to to 'RUNNING', formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
void |
setStartedAt(Date startedAt)
Timestamp when the subtask was started, formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
void |
setStatus(Status status)
Current status (required)
|
void |
setUpdatedAt(Date updatedAt)
Timestamp when the subtask was last updated, formatted in UTC: 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, formatted in UTC: YYYY-MM-DDThh:mm:ssZpublic Date getUpdatedAt()
public void setUpdatedAt(Date updatedAt)
updatedAt
- Timestamp when the subtask was last updated, formatted in UTC: YYYY-MM-DDThh:mm:ssZpublic Date getStartedAt()
public void setStartedAt(Date startedAt)
startedAt
- Timestamp when the subtask was started, formatted in UTC: YYYY-MM-DDThh:mm:ssZpublic Date getQueuedAt()
public void setQueuedAt(Date queuedAt)
queuedAt
- Timestamp when the subtask status changed to 'QUEUED', formatted in UTC: YYYY-MM-DDThh:mm:ssZpublic Date getRunningAt()
public void setRunningAt(Date runningAt)
runningAt
- Timestamp when the subtask status changed to to 'RUNNING', formatted in UTC: YYYY-MM-DDThh:mm:ssZpublic Date getFinishedAt()
public void setFinishedAt(Date finishedAt)
finishedAt
- Timestamp when the subtask status changed to 'FINISHED', formatted in UTC: YYYY-MM-DDThh:mm:ssZpublic Date getErrorAt()
public void setErrorAt(Date errorAt)
errorAt
- Timestamp when the subtask status changed to 'ERROR', formatted in UTC: YYYY-MM-DDThh:mm:ssZpublic boolean equals(Object o)
equals
in class BitmovinResponse
public int hashCode()
hashCode
in class BitmovinResponse
public String toString()
toString
in class BitmovinResponse
Copyright © 2020. All rights reserved.