public class TRProject extends Object
| Constructor and Description |
|---|
TRProject()
No args constructor for use in serialization
|
TRProject(String announcement,
Long completedOn,
Long id,
Boolean isCompleted,
String name,
Boolean showAnnouncement,
String url,
Long suiteMode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getAnnouncement()
The description/announcement of the project
|
Long |
getCompletedOn()
The date/time when the project was marked as completed (as UNIX timestamp)
|
Long |
getId()
The unique ID of the project
|
Boolean |
getIsCompleted()
True if the project is marked as completed and false otherwise
|
String |
getName()
The name of the project
|
Boolean |
getShowAnnouncement()
True to show the announcement/description and false otherwise
|
Long |
getSuiteMode()
The suite mode of the project (1 for single suite mode, 2 for single suite + baselines, 3 for multiple suites) (added with TestRail 4.0)
|
String |
getUrl()
The address/URL of the project in the user interface
|
int |
hashCode() |
void |
setAnnouncement(String announcement)
The description/announcement of the project
|
void |
setCompletedOn(Long completedOn)
The date/time when the project was marked as completed (as UNIX timestamp)
|
void |
setId(Long id)
The unique ID of the project
|
void |
setIsCompleted(Boolean isCompleted)
True if the project is marked as completed and false otherwise
|
void |
setName(String name)
The name of the project
|
void |
setShowAnnouncement(Boolean showAnnouncement)
True to show the announcement/description and false otherwise
|
void |
setSuiteMode(Long suiteMode)
The suite mode of the project (1 for single suite mode, 2 for single suite + baselines, 3 for multiple suites) (added with TestRail 4.0)
|
void |
setUrl(String url)
The address/URL of the project in the user interface
|
String |
toString() |
TRProject |
withAnnouncement(String announcement) |
TRProject |
withCompletedOn(Long completedOn) |
TRProject |
withId(Long id) |
TRProject |
withIsCompleted(Boolean isCompleted) |
TRProject |
withName(String name) |
TRProject |
withShowAnnouncement(Boolean showAnnouncement) |
TRProject |
withSuiteMode(Long suiteMode) |
TRProject |
withUrl(String url) |
public String getAnnouncement()
public void setAnnouncement(String announcement)
public Long getCompletedOn()
public void setCompletedOn(Long completedOn)
public Long getId()
public void setId(Long id)
public Boolean getIsCompleted()
public void setIsCompleted(Boolean isCompleted)
public String getName()
public void setName(String name)
public Boolean getShowAnnouncement()
public void setShowAnnouncement(Boolean showAnnouncement)
public String getUrl()
public void setUrl(String url)
public Long getSuiteMode()
public void setSuiteMode(Long suiteMode)
Copyright © 2019. All rights reserved.