public class TRMilestone extends Object
| Constructor and Description |
|---|
TRMilestone()
No args constructor for use in serialization
|
TRMilestone(Long completedOn,
String description,
Long dueOn,
Long startOn,
Long startedOn,
Long id,
Long parentId,
Boolean isCompleted,
Boolean isStarted,
List<TRMilestone> milestones,
String name,
Long projectId,
String url) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Long |
getCompletedOn()
The date/time when the milestone was marked as completed (as UNIX timestamp)
|
String |
getDescription()
The description of the milestone
|
Long |
getDueOn()
The due date/time of the milestone (as UNIX timestamp)
|
Long |
getId()
The unique ID of the milestone
|
Boolean |
getIsCompleted()
True if the milestone is marked as completed and false otherwise
|
Boolean |
getIsStarted()
True if the milestone is marked as started and false otherwise (available since TestRail 5.3)
|
List<TRMilestone> |
getMilestones()
The sub milestones that belong to the milestone (if any); only available with get_milestone (available since TestRail 5.3)
|
String |
getName()
The name of the milestone
(Required)
|
Long |
getParentId()
The ID of the parent milestone the milestone belongs to (if any) (available since TestRail 5.3)
|
Long |
getProjectId()
The ID of the project the milestone belongs to
|
Long |
getStartedOn()
The date/time when the milestone was started (as UNIX timestamp) (available since TestRail 5.3)
|
Long |
getStartOn()
The scheduled start date/time of the milestone (as UNIX timestamp) (available since TestRail 5.3)
|
String |
getUrl()
The address/URL of the milestone in the user interface
|
int |
hashCode() |
void |
setCompletedOn(Long completedOn)
The date/time when the milestone was marked as completed (as UNIX timestamp)
|
void |
setDescription(String description)
The description of the milestone
|
void |
setDueOn(Long dueOn)
The due date/time of the milestone (as UNIX timestamp)
|
void |
setId(Long id)
The unique ID of the milestone
|
void |
setIsCompleted(Boolean isCompleted)
True if the milestone is marked as completed and false otherwise
|
void |
setIsStarted(Boolean isStarted)
True if the milestone is marked as started and false otherwise (available since TestRail 5.3)
|
void |
setMilestones(List<TRMilestone> milestones)
The sub milestones that belong to the milestone (if any); only available with get_milestone (available since TestRail 5.3)
|
void |
setName(String name)
The name of the milestone
(Required)
|
void |
setParentId(Long parentId)
The ID of the parent milestone the milestone belongs to (if any) (available since TestRail 5.3)
|
void |
setProjectId(Long projectId)
The ID of the project the milestone belongs to
|
void |
setStartedOn(Long startedOn)
The date/time when the milestone was started (as UNIX timestamp) (available since TestRail 5.3)
|
void |
setStartOn(Long startOn)
The scheduled start date/time of the milestone (as UNIX timestamp) (available since TestRail 5.3)
|
void |
setUrl(String url)
The address/URL of the milestone in the user interface
|
String |
toString() |
TRMilestone |
withCompletedOn(Long completedOn) |
TRMilestone |
withDescription(String description) |
TRMilestone |
withDueOn(Long dueOn) |
TRMilestone |
withId(Long id) |
TRMilestone |
withIsCompleted(Boolean isCompleted) |
TRMilestone |
withIsStarted(Boolean isStarted) |
TRMilestone |
withMilestones(List<TRMilestone> milestones) |
TRMilestone |
withName(String name) |
TRMilestone |
withParentId(Long parentId) |
TRMilestone |
withProjectId(Long projectId) |
TRMilestone |
withStartedOn(Long startedOn) |
TRMilestone |
withStartOn(Long startOn) |
TRMilestone |
withUrl(String url) |
public TRMilestone()
public TRMilestone(Long completedOn, String description, Long dueOn, Long startOn, Long startedOn, Long id, Long parentId, Boolean isCompleted, Boolean isStarted, List<TRMilestone> milestones, String name, Long projectId, String url)
dueOn - description - startOn - isStarted - parentId - url - completedOn - name - id - milestones - startedOn - projectId - isCompleted - public Long getCompletedOn()
public void setCompletedOn(Long completedOn)
public TRMilestone withCompletedOn(Long completedOn)
public String getDescription()
public void setDescription(String description)
public TRMilestone withDescription(String description)
public Long getDueOn()
public void setDueOn(Long dueOn)
public TRMilestone withDueOn(Long dueOn)
public Long getStartOn()
public void setStartOn(Long startOn)
public TRMilestone withStartOn(Long startOn)
public Long getStartedOn()
public void setStartedOn(Long startedOn)
public TRMilestone withStartedOn(Long startedOn)
public Long getId()
public void setId(Long id)
public TRMilestone withId(Long id)
public Long getParentId()
public void setParentId(Long parentId)
public TRMilestone withParentId(Long parentId)
public Boolean getIsCompleted()
public void setIsCompleted(Boolean isCompleted)
public TRMilestone withIsCompleted(Boolean isCompleted)
public Boolean getIsStarted()
public void setIsStarted(Boolean isStarted)
public TRMilestone withIsStarted(Boolean isStarted)
public List<TRMilestone> getMilestones()
public void setMilestones(List<TRMilestone> milestones)
public TRMilestone withMilestones(List<TRMilestone> milestones)
public String getName()
public void setName(String name)
public TRMilestone withName(String name)
public Long getProjectId()
public void setProjectId(Long projectId)
public TRMilestone withProjectId(Long projectId)
public String getUrl()
public void setUrl(String url)
public TRMilestone withUrl(String url)
Copyright © 2019. All rights reserved.