Class TRMilestone
java.lang.Object
org.touchbit.testrail4j.jackson2.model.TRMilestone
public class TRMilestone extends Object
-
Constructor Summary
Constructors Constructor Description TRMilestone()No args constructor for use in serializationTRMilestone(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, String refs) -
Method Summary
Modifier and Type Method Description booleanequals(Object other)Map<String,Object>getAdditionalProperties()LonggetCompletedOn()The date/time when the milestone was marked as completed (as UNIX timestamp)StringgetDescription()The description of the milestoneLonggetDueOn()The due date/time of the milestone (as UNIX timestamp)LonggetId()The unique ID of the milestoneBooleangetIsCompleted()True if the milestone is marked as completed and false otherwiseBooleangetIsStarted()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)StringgetName()The name of the milestone (Required)LonggetParentId()The ID of the parent milestone the milestone belongs to (if any) (available since TestRail 5.3)LonggetProjectId()The ID of the project the milestone belongs toStringgetRefs()A comma-separated list of references/requirements (available since TestRail 6.4)LonggetStartedOn()The date/time when the milestone was started (as UNIX timestamp) (available since TestRail 5.3)LonggetStartOn()The scheduled start date/time of the milestone (as UNIX timestamp) (available since TestRail 5.3)StringgetUrl()The address/URL of the milestone in the user interfaceinthashCode()voidsetAdditionalProperty(String name, Object value)voidsetCompletedOn(Long completedOn)The date/time when the milestone was marked as completed (as UNIX timestamp)voidsetDescription(String description)The description of the milestonevoidsetDueOn(Long dueOn)The due date/time of the milestone (as UNIX timestamp)voidsetId(Long id)The unique ID of the milestonevoidsetIsCompleted(Boolean isCompleted)True if the milestone is marked as completed and false otherwisevoidsetIsStarted(Boolean isStarted)True if the milestone is marked as started and false otherwise (available since TestRail 5.3)voidsetMilestones(List<TRMilestone> milestones)The sub milestones that belong to the milestone (if any); only available with get_milestone (available since TestRail 5.3)voidsetName(String name)The name of the milestone (Required)voidsetParentId(Long parentId)The ID of the parent milestone the milestone belongs to (if any) (available since TestRail 5.3)voidsetProjectId(Long projectId)The ID of the project the milestone belongs tovoidsetRefs(String refs)A comma-separated list of references/requirements (available since TestRail 6.4)voidsetStartedOn(Long startedOn)The date/time when the milestone was started (as UNIX timestamp) (available since TestRail 5.3)voidsetStartOn(Long startOn)The scheduled start date/time of the milestone (as UNIX timestamp) (available since TestRail 5.3)voidsetUrl(String url)The address/URL of the milestone in the user interfaceStringtoString()TRMilestonewithAdditionalProperty(String name, Object value)TRMilestonewithCompletedOn(Long completedOn)TRMilestonewithDescription(String description)TRMilestonewithDueOn(Long dueOn)TRMilestonewithId(Long id)TRMilestonewithIsCompleted(Boolean isCompleted)TRMilestonewithIsStarted(Boolean isStarted)TRMilestonewithMilestones(List<TRMilestone> milestones)TRMilestonewithName(String name)TRMilestonewithParentId(Long parentId)TRMilestonewithProjectId(Long projectId)TRMilestonewithRefs(String refs)TRMilestonewithStartedOn(Long startedOn)TRMilestonewithStartOn(Long startOn)TRMilestonewithUrl(String url)
-
Constructor Details
-
TRMilestone
public TRMilestone()No args constructor for use in serialization -
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, String refs)- Parameters:
dueOn-description-startOn-isStarted-parentId-url-refs-completedOn-name-id-milestones-startedOn-projectId-isCompleted-
-
-
Method Details
-
getCompletedOn
The date/time when the milestone was marked as completed (as UNIX timestamp) -
setCompletedOn
The date/time when the milestone was marked as completed (as UNIX timestamp) -
withCompletedOn
-
getDescription
The description of the milestone -
setDescription
The description of the milestone -
withDescription
-
getDueOn
The due date/time of the milestone (as UNIX timestamp) -
setDueOn
The due date/time of the milestone (as UNIX timestamp) -
withDueOn
-
getStartOn
The scheduled start date/time of the milestone (as UNIX timestamp) (available since TestRail 5.3) -
setStartOn
The scheduled start date/time of the milestone (as UNIX timestamp) (available since TestRail 5.3) -
withStartOn
-
getStartedOn
The date/time when the milestone was started (as UNIX timestamp) (available since TestRail 5.3) -
setStartedOn
The date/time when the milestone was started (as UNIX timestamp) (available since TestRail 5.3) -
withStartedOn
-
getId
The unique ID of the milestone -
setId
The unique ID of the milestone -
withId
-
getParentId
The ID of the parent milestone the milestone belongs to (if any) (available since TestRail 5.3) -
setParentId
The ID of the parent milestone the milestone belongs to (if any) (available since TestRail 5.3) -
withParentId
-
getIsCompleted
True if the milestone is marked as completed and false otherwise -
setIsCompleted
True if the milestone is marked as completed and false otherwise -
withIsCompleted
-
getIsStarted
True if the milestone is marked as started and false otherwise (available since TestRail 5.3) -
setIsStarted
True if the milestone is marked as started and false otherwise (available since TestRail 5.3) -
withIsStarted
-
getMilestones
The sub milestones that belong to the milestone (if any); only available with get_milestone (available since TestRail 5.3) -
setMilestones
The sub milestones that belong to the milestone (if any); only available with get_milestone (available since TestRail 5.3) -
withMilestones
-
getName
The name of the milestone (Required) -
setName
The name of the milestone (Required) -
withName
-
getProjectId
The ID of the project the milestone belongs to -
setProjectId
The ID of the project the milestone belongs to -
withProjectId
-
getUrl
The address/URL of the milestone in the user interface -
setUrl
The address/URL of the milestone in the user interface -
withUrl
-
getRefs
A comma-separated list of references/requirements (available since TestRail 6.4) -
setRefs
A comma-separated list of references/requirements (available since TestRail 6.4) -
withRefs
-
getAdditionalProperties
-
setAdditionalProperty
-
withAdditionalProperty
-
toString
-
hashCode
public int hashCode() -
equals
-