Class TRResult
java.lang.Object
org.touchbit.testrail4j.jackson2.model.TRResult
public class TRResult extends Object
-
Constructor Summary
Constructors Constructor Description TRResult()No args constructor for use in serializationTRResult(List<Long> attachmentIds, Long id, Long caseId, Long statusId, Long testId, String comment, String defects, String version, String elapsed, Long createdBy, Long createdOn, Long assignedtoId, List<TRStep> customStepResults) -
Method Summary
Modifier and Type Method Description booleanequals(Object other)Map<String,Object>getAdditionalProperties()LonggetAssignedtoId()The ID of the assignee (user) of the test resultList<Long>getAttachmentIds()AttachmentsLonggetCaseId()The ID of the test case (Util field.StringgetComment()The comment or error message of the test resultLonggetCreatedBy()The ID of the user who created the test resultLonggetCreatedOn()The date/time when the test result was created (as UNIX timestamp)List<TRStep>getCustomStepResults()Test Case (Steps) template resultsStringgetDefects()A comma-separated list of defects linked to the test resultStringgetElapsed()The amount of time it took to execute the test (e.g.LonggetId()The unique ID of the test resultLonggetStatusId()The status of the test result, e.g.LonggetTestId()The ID of the test this test result belongs toStringgetVersion()The (build) version the test was executed againstinthashCode()voidsetAdditionalProperty(String name, Object value)voidsetAssignedtoId(Long assignedtoId)The ID of the assignee (user) of the test resultvoidsetAttachmentIds(List<Long> attachmentIds)AttachmentsvoidsetCaseId(Long caseId)The ID of the test case (Util field.voidsetComment(String comment)The comment or error message of the test resultvoidsetCreatedBy(Long createdBy)The ID of the user who created the test resultvoidsetCreatedOn(Long createdOn)The date/time when the test result was created (as UNIX timestamp)voidsetCustomStepResults(List<TRStep> customStepResults)Test Case (Steps) template resultsvoidsetDefects(String defects)A comma-separated list of defects linked to the test resultvoidsetElapsed(String elapsed)The amount of time it took to execute the test (e.g.voidsetId(Long id)The unique ID of the test resultvoidsetStatusId(Long statusId)The status of the test result, e.g.voidsetTestId(Long testId)The ID of the test this test result belongs tovoidsetVersion(String version)The (build) version the test was executed againstStringtoString()TRResultwithAdditionalProperty(String name, Object value)TRResultwithAssignedtoId(Long assignedtoId)TRResultwithAttachmentIds(List<Long> attachmentIds)TRResultwithCaseId(Long caseId)TRResultwithComment(String comment)TRResultwithCreatedBy(Long createdBy)TRResultwithCreatedOn(Long createdOn)TRResultwithCustomStepResults(List<TRStep> customStepResults)TRResultwithDefects(String defects)TRResultwithElapsed(String elapsed)TRResultwithId(Long id)TRResultwithStatusId(Long statusId)TRResultwithTestId(Long testId)TRResultwithVersion(String version)
-
Constructor Details
-
TRResult
public TRResult()No args constructor for use in serialization -
TRResult
public TRResult(List<Long> attachmentIds, Long id, Long caseId, Long statusId, Long testId, String comment, String defects, String version, String elapsed, Long createdBy, Long createdOn, Long assignedtoId, List<TRStep> customStepResults)- Parameters:
customStepResults-version-createdOn-elapsed-statusId-createdBy-assignedtoId-caseId-defects-attachmentIds-testId-comment-id-
-
-
Method Details
-
getAttachmentIds
Attachments -
setAttachmentIds
Attachments -
withAttachmentIds
-
getId
The unique ID of the test result -
setId
The unique ID of the test result -
withId
-
getCaseId
The ID of the test case (Util field. Not returned in response.) -
setCaseId
The ID of the test case (Util field. Not returned in response.) -
withCaseId
-
getStatusId
The status of the test result, e.g. passed or failed -
setStatusId
The status of the test result, e.g. passed or failed -
withStatusId
-
getTestId
The ID of the test this test result belongs to -
setTestId
The ID of the test this test result belongs to -
withTestId
-
getComment
The comment or error message of the test result -
setComment
The comment or error message of the test result -
withComment
-
getDefects
A comma-separated list of defects linked to the test result -
setDefects
A comma-separated list of defects linked to the test result -
withDefects
-
getVersion
The (build) version the test was executed against -
setVersion
The (build) version the test was executed against -
withVersion
-
getElapsed
The amount of time it took to execute the test (e.g. '1m' or '2m 30s') -
setElapsed
The amount of time it took to execute the test (e.g. '1m' or '2m 30s') -
withElapsed
-
getCreatedBy
The ID of the user who created the test result -
setCreatedBy
The ID of the user who created the test result -
withCreatedBy
-
getCreatedOn
The date/time when the test result was created (as UNIX timestamp) -
setCreatedOn
The date/time when the test result was created (as UNIX timestamp) -
withCreatedOn
-
getAssignedtoId
The ID of the assignee (user) of the test result -
setAssignedtoId
The ID of the assignee (user) of the test result -
withAssignedtoId
-
getCustomStepResults
Test Case (Steps) template results -
setCustomStepResults
Test Case (Steps) template results -
withCustomStepResults
-
getAdditionalProperties
-
setAdditionalProperty
-
withAdditionalProperty
-
toString
-
hashCode
public int hashCode() -
equals
-