Class TRTest
java.lang.Object
org.touchbit.testrail4j.jackson2.model.TRTest
public class TRTest extends Object
-
Constructor Summary
Constructors Constructor Description TRTest()No args constructor for use in serializationTRTest(Long assignedtoId, Long caseId, Long runId, Long statusId, Long templateId, String estimate, String estimateForecast, Long id, Long milestoneId, Long priorityId, String refs, String title, Long typeId, String customSteps, String customExpected, String customPreconds, String customMission, String customGoals, Long customAutomationType, List<TRStep> customStepsSeparated) -
Method Summary
Modifier and Type Method Description booleanequals(Object other)Map<String,Object>getAdditionalProperties()LonggetAssignedtoId()The ID of the user the test is assigned toLonggetCaseId()The ID of the related test caseLonggetCustomAutomationType()Automation Type.StringgetCustomExpected()Test Case (Text) template expected resultStringgetCustomGoals()Exploratory Session template goalsStringgetCustomMission()Exploratory Session template missionStringgetCustomPreconds()Test Case (Text) template preconditionsStringgetCustomSteps()Test Case (Text) template stepsList<TRStep>getCustomStepsSeparated()Test Case (Steps) template stepsStringgetEstimate()The estimate of the related test case, e.g.StringgetEstimateForecast()The estimate forecast of the related test case, e.g.LonggetId()The unique ID of the testLonggetMilestoneId()The ID of the milestone that is linked to the test caseLonggetPriorityId()The ID of the priority that is linked to the test caseStringgetRefs()A comma-separated list of references/requirements that are linked to the test caseLonggetRunId()The ID of the test run the test belongs toLonggetStatusId()The ID of the current status of the test, also see get_statusesLonggetTemplateId()The ID of the test templateStringgetTitle()The title of the related test caseLonggetTypeId()The ID of the test case type that is linked to the test caseinthashCode()voidsetAdditionalProperty(String name, Object value)voidsetAssignedtoId(Long assignedtoId)The ID of the user the test is assigned tovoidsetCaseId(Long caseId)The ID of the related test casevoidsetCustomAutomationType(Long customAutomationType)Automation Type.voidsetCustomExpected(String customExpected)Test Case (Text) template expected resultvoidsetCustomGoals(String customGoals)Exploratory Session template goalsvoidsetCustomMission(String customMission)Exploratory Session template missionvoidsetCustomPreconds(String customPreconds)Test Case (Text) template preconditionsvoidsetCustomSteps(String customSteps)Test Case (Text) template stepsvoidsetCustomStepsSeparated(List<TRStep> customStepsSeparated)Test Case (Steps) template stepsvoidsetEstimate(String estimate)The estimate of the related test case, e.g.voidsetEstimateForecast(String estimateForecast)The estimate forecast of the related test case, e.g.voidsetId(Long id)The unique ID of the testvoidsetMilestoneId(Long milestoneId)The ID of the milestone that is linked to the test casevoidsetPriorityId(Long priorityId)The ID of the priority that is linked to the test casevoidsetRefs(String refs)A comma-separated list of references/requirements that are linked to the test casevoidsetRunId(Long runId)The ID of the test run the test belongs tovoidsetStatusId(Long statusId)The ID of the current status of the test, also see get_statusesvoidsetTemplateId(Long templateId)The ID of the test templatevoidsetTitle(String title)The title of the related test casevoidsetTypeId(Long typeId)The ID of the test case type that is linked to the test caseStringtoString()TRTestwithAdditionalProperty(String name, Object value)TRTestwithAssignedtoId(Long assignedtoId)TRTestwithCaseId(Long caseId)TRTestwithCustomAutomationType(Long customAutomationType)TRTestwithCustomExpected(String customExpected)TRTestwithCustomGoals(String customGoals)TRTestwithCustomMission(String customMission)TRTestwithCustomPreconds(String customPreconds)TRTestwithCustomSteps(String customSteps)TRTestwithCustomStepsSeparated(List<TRStep> customStepsSeparated)TRTestwithEstimate(String estimate)TRTestwithEstimateForecast(String estimateForecast)TRTestwithId(Long id)TRTestwithMilestoneId(Long milestoneId)TRTestwithPriorityId(Long priorityId)TRTestwithRefs(String refs)TRTestwithRunId(Long runId)TRTestwithStatusId(Long statusId)TRTestwithTemplateId(Long templateId)TRTestwithTitle(String title)TRTestwithTypeId(Long typeId)
-
Constructor Details
-
TRTest
public TRTest()No args constructor for use in serialization -
TRTest
public TRTest(Long assignedtoId, Long caseId, Long runId, Long statusId, Long templateId, String estimate, String estimateForecast, Long id, Long milestoneId, Long priorityId, String refs, String title, Long typeId, String customSteps, String customExpected, String customPreconds, String customMission, String customGoals, Long customAutomationType, List<TRStep> customStepsSeparated)- Parameters:
customExpected-customAutomationType-milestoneId-customPreconds-templateId-title-customStepsSeparated-priorityId-statusId-refs-customSteps-assignedtoId-caseId-customGoals-estimate-customMission-typeId-runId-estimateForecast-id-
-
-
Method Details
-
getAssignedtoId
The ID of the user the test is assigned to -
setAssignedtoId
The ID of the user the test is assigned to -
withAssignedtoId
-
getCaseId
The ID of the related test case -
setCaseId
The ID of the related test case -
withCaseId
-
getRunId
The ID of the test run the test belongs to -
setRunId
The ID of the test run the test belongs to -
withRunId
-
getStatusId
The ID of the current status of the test, also see get_statuses -
setStatusId
The ID of the current status of the test, also see get_statuses -
withStatusId
-
getTemplateId
The ID of the test template -
setTemplateId
The ID of the test template -
withTemplateId
-
getEstimate
The estimate of the related test case, e.g. '30s' or '1m 45s' -
setEstimate
The estimate of the related test case, e.g. '30s' or '1m 45s' -
withEstimate
-
getEstimateForecast
The estimate forecast of the related test case, e.g. '30s' or '1m 45s' -
setEstimateForecast
The estimate forecast of the related test case, e.g. '30s' or '1m 45s' -
withEstimateForecast
-
getId
The unique ID of the test -
setId
The unique ID of the test -
withId
-
getMilestoneId
The ID of the milestone that is linked to the test case -
setMilestoneId
The ID of the milestone that is linked to the test case -
withMilestoneId
-
getPriorityId
The ID of the priority that is linked to the test case -
setPriorityId
The ID of the priority that is linked to the test case -
withPriorityId
-
getRefs
A comma-separated list of references/requirements that are linked to the test case -
setRefs
A comma-separated list of references/requirements that are linked to the test case -
withRefs
-
getTitle
The title of the related test case -
setTitle
The title of the related test case -
withTitle
-
getTypeId
The ID of the test case type that is linked to the test case -
setTypeId
The ID of the test case type that is linked to the test case -
withTypeId
-
getCustomSteps
Test Case (Text) template steps -
setCustomSteps
Test Case (Text) template steps -
withCustomSteps
-
getCustomExpected
Test Case (Text) template expected result -
setCustomExpected
Test Case (Text) template expected result -
withCustomExpected
-
getCustomPreconds
Test Case (Text) template preconditions -
setCustomPreconds
Test Case (Text) template preconditions -
withCustomPreconds
-
getCustomMission
Exploratory Session template mission -
setCustomMission
Exploratory Session template mission -
withCustomMission
-
getCustomGoals
Exploratory Session template goals -
setCustomGoals
Exploratory Session template goals -
withCustomGoals
-
getCustomAutomationType
Automation Type. Default values: 0 - None, 1 - Ranorex -
setCustomAutomationType
Automation Type. Default values: 0 - None, 1 - Ranorex -
withCustomAutomationType
-
getCustomStepsSeparated
Test Case (Steps) template steps -
setCustomStepsSeparated
Test Case (Steps) template steps -
withCustomStepsSeparated
-
getAdditionalProperties
-
setAdditionalProperty
-
withAdditionalProperty
-
toString
-
hashCode
public int hashCode() -
equals
-