Class TRCase
java.lang.Object
org.touchbit.testrail4j.jackson2.model.TRCase
public class TRCase extends Object
-
Constructor Summary
Constructors Constructor Description TRCase()No args constructor for use in serializationTRCase(Long displayOrder, Long createdBy, Long createdOn, String estimate, String estimateForecast, Long id, Long milestoneId, Long priorityId, String refs, Long sectionId, Long suiteId, String title, Long typeId, Long templateId, Long updatedBy, Long updatedOn, 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()LonggetCreatedBy()The ID of the user who created the test caseLonggetCreatedOn()The date/time when the test case was created (as UNIX timestamp)LonggetCustomAutomationType()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 stepsLonggetDisplayOrder()StringgetEstimate()The estimate, e.g.StringgetEstimateForecast()The estimate forecast, e.g.LonggetId()The unique ID of the test caseLonggetMilestoneId()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/requirementsLonggetSectionId()The ID of the section the test case belongs toLonggetSuiteId()The ID of the suite the test case belongs toLonggetTemplateId()The ID of the template (field layout) the test case uses (requires TestRail 5.2 or later)StringgetTitle()The title of the test caseLonggetTypeId()The ID of the test case type that is linked to the test caseLonggetUpdatedBy()The ID of the user who last updated the test caseLonggetUpdatedOn()The date/time when the test case was last updated (as UNIX timestamp)inthashCode()voidsetAdditionalProperty(String name, Object value)voidsetCreatedBy(Long createdBy)The ID of the user who created the test casevoidsetCreatedOn(Long createdOn)The date/time when the test case was created (as UNIX timestamp)voidsetCustomAutomationType(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 stepsvoidsetDisplayOrder(Long displayOrder)voidsetEstimate(String estimate)The estimate, e.g.voidsetEstimateForecast(String estimateForecast)The estimate forecast, e.g.voidsetId(Long id)The unique ID of the test casevoidsetMilestoneId(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/requirementsvoidsetSectionId(Long sectionId)The ID of the section the test case belongs tovoidsetSuiteId(Long suiteId)The ID of the suite the test case belongs tovoidsetTemplateId(Long templateId)The ID of the template (field layout) the test case uses (requires TestRail 5.2 or later)voidsetTitle(String title)The title of the test casevoidsetTypeId(Long typeId)The ID of the test case type that is linked to the test casevoidsetUpdatedBy(Long updatedBy)The ID of the user who last updated the test casevoidsetUpdatedOn(Long updatedOn)The date/time when the test case was last updated (as UNIX timestamp)StringtoString()TRCasewithAdditionalProperty(String name, Object value)TRCasewithCreatedBy(Long createdBy)TRCasewithCreatedOn(Long createdOn)TRCasewithCustomAutomationType(Long customAutomationType)TRCasewithCustomExpected(String customExpected)TRCasewithCustomGoals(String customGoals)TRCasewithCustomMission(String customMission)TRCasewithCustomPreconds(String customPreconds)TRCasewithCustomSteps(String customSteps)TRCasewithCustomStepsSeparated(List<TRStep> customStepsSeparated)TRCasewithDisplayOrder(Long displayOrder)TRCasewithEstimate(String estimate)TRCasewithEstimateForecast(String estimateForecast)TRCasewithId(Long id)TRCasewithMilestoneId(Long milestoneId)TRCasewithPriorityId(Long priorityId)TRCasewithRefs(String refs)TRCasewithSectionId(Long sectionId)TRCasewithSuiteId(Long suiteId)TRCasewithTemplateId(Long templateId)TRCasewithTitle(String title)TRCasewithTypeId(Long typeId)TRCasewithUpdatedBy(Long updatedBy)TRCasewithUpdatedOn(Long updatedOn)
-
Constructor Details
-
TRCase
public TRCase()No args constructor for use in serialization -
TRCase
public TRCase(Long displayOrder, Long createdBy, Long createdOn, String estimate, String estimateForecast, Long id, Long milestoneId, Long priorityId, String refs, Long sectionId, Long suiteId, String title, Long typeId, Long templateId, Long updatedBy, Long updatedOn, String customSteps, String customExpected, String customPreconds, String customMission, String customGoals, Long customAutomationType, List<TRStep> customStepsSeparated)- Parameters:
suiteId-updatedBy-customExpected-customAutomationType-displayOrder-milestoneId-customPreconds-sectionId-updatedOn-title-templateId-createdOn-customStepsSeparated-priorityId-createdBy-refs-customSteps-customGoals-estimate-customMission-typeId-estimateForecast-id-
-
-
Method Details
-
getDisplayOrder
-
setDisplayOrder
-
withDisplayOrder
-
getCreatedBy
The ID of the user who created the test case -
setCreatedBy
The ID of the user who created the test case -
withCreatedBy
-
getCreatedOn
The date/time when the test case was created (as UNIX timestamp) -
setCreatedOn
The date/time when the test case was created (as UNIX timestamp) -
withCreatedOn
-
getEstimate
The estimate, e.g. '30s' or '1m 45s' -
setEstimate
The estimate, e.g. '30s' or '1m 45s' -
withEstimate
-
getEstimateForecast
The estimate forecast, e.g. '30s' or '1m 45s' -
setEstimateForecast
The estimate forecast, e.g. '30s' or '1m 45s' -
withEstimateForecast
-
getId
The unique ID of the test case -
setId
The unique ID of the test case -
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 -
setRefs
A comma-separated list of references/requirements -
withRefs
-
getSectionId
The ID of the section the test case belongs to -
setSectionId
The ID of the section the test case belongs to -
withSectionId
-
getSuiteId
The ID of the suite the test case belongs to -
setSuiteId
The ID of the suite the test case belongs to -
withSuiteId
-
getTitle
The title of the test case -
setTitle
The title of the 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
-
getTemplateId
The ID of the template (field layout) the test case uses (requires TestRail 5.2 or later) -
setTemplateId
The ID of the template (field layout) the test case uses (requires TestRail 5.2 or later) -
withTemplateId
-
getUpdatedBy
The ID of the user who last updated the test case -
setUpdatedBy
The ID of the user who last updated the test case -
withUpdatedBy
-
getUpdatedOn
The date/time when the test case was last updated (as UNIX timestamp) -
setUpdatedOn
The date/time when the test case was last updated (as UNIX timestamp) -
withUpdatedOn
-
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
-