Class TRProject
java.lang.Object
org.touchbit.testrail4j.jackson2.model.TRProject
public class TRProject extends Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description booleanequals(Object other)Map<String,Object>getAdditionalProperties()StringgetAnnouncement()The description/announcement of the projectLonggetCompletedOn()The date/time when the project was marked as completed (as UNIX timestamp)LonggetId()The unique ID of the projectBooleangetIsCompleted()True if the project is marked as completed and false otherwiseStringgetName()The name of the projectBooleangetShowAnnouncement()True to show the announcement/description and false otherwiseLonggetSuiteMode()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)StringgetUrl()The address/URL of the project in the user interfaceinthashCode()voidsetAdditionalProperty(String name, Object value)voidsetAnnouncement(String announcement)The description/announcement of the projectvoidsetCompletedOn(Long completedOn)The date/time when the project was marked as completed (as UNIX timestamp)voidsetId(Long id)The unique ID of the projectvoidsetIsCompleted(Boolean isCompleted)True if the project is marked as completed and false otherwisevoidsetName(String name)The name of the projectvoidsetShowAnnouncement(Boolean showAnnouncement)True to show the announcement/description and false otherwisevoidsetSuiteMode(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)voidsetUrl(String url)The address/URL of the project in the user interfaceStringtoString()TRProjectwithAdditionalProperty(String name, Object value)TRProjectwithAnnouncement(String announcement)TRProjectwithCompletedOn(Long completedOn)TRProjectwithId(Long id)TRProjectwithIsCompleted(Boolean isCompleted)TRProjectwithName(String name)TRProjectwithShowAnnouncement(Boolean showAnnouncement)TRProjectwithSuiteMode(Long suiteMode)TRProjectwithUrl(String url)
-
Constructor Details
-
TRProject
public TRProject()No args constructor for use in serialization -
TRProject
public TRProject(String announcement, Long completedOn, Long id, Boolean isCompleted, String name, Boolean showAnnouncement, String url, Long suiteMode)- Parameters:
suiteMode-completedOn-name-id-showAnnouncement-url-announcement-isCompleted-
-
-
Method Details
-
getAnnouncement
The description/announcement of the project -
setAnnouncement
The description/announcement of the project -
withAnnouncement
-
getCompletedOn
The date/time when the project was marked as completed (as UNIX timestamp) -
setCompletedOn
The date/time when the project was marked as completed (as UNIX timestamp) -
withCompletedOn
-
getId
The unique ID of the project -
setId
The unique ID of the project -
withId
-
getIsCompleted
True if the project is marked as completed and false otherwise -
setIsCompleted
True if the project is marked as completed and false otherwise -
withIsCompleted
-
getName
The name of the project -
setName
The name of the project -
withName
-
getShowAnnouncement
True to show the announcement/description and false otherwise -
setShowAnnouncement
True to show the announcement/description and false otherwise -
withShowAnnouncement
-
getUrl
The address/URL of the project in the user interface -
setUrl
The address/URL of the project in the user interface -
withUrl
-
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) -
setSuiteMode
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) -
withSuiteMode
-
getAdditionalProperties
-
setAdditionalProperty
-
withAdditionalProperty
-
toString
-
hashCode
public int hashCode() -
equals
-