Class TRSection
java.lang.Object
org.touchbit.testrail4j.jackson2.model.TRSection
public class TRSection extends Object
The depth, display_order and parent fields determine the hierarchy of the sections in a test suite. The depth field is 0 for all sections on the root level and greater than 0 for all child sections. The depth field therefore resembles the level in the section hierarchy. Also see get_sections for an example.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description booleanequals(Object other)Map<String,Object>getAdditionalProperties()LonggetDepth()The level in the section hierarchy of the test suiteStringgetDescription()The description of the section (added with TestRail 4.0)LonggetDisplayOrder()The order in the test suiteLonggetId()The ID of the sectionStringgetName()The name of the section (required) (Required)LonggetParentId()The ID of the parent section (to build section hierarchies)LonggetSuiteId()The ID of the test suite (ignored if the project is operating in single suite mode, required otherwise)inthashCode()voidsetAdditionalProperty(String name, Object value)voidsetDepth(Long depth)The level in the section hierarchy of the test suitevoidsetDescription(String description)The description of the section (added with TestRail 4.0)voidsetDisplayOrder(Long displayOrder)The order in the test suitevoidsetId(Long id)The ID of the sectionvoidsetName(String name)The name of the section (required) (Required)voidsetParentId(Long parentId)The ID of the parent section (to build section hierarchies)voidsetSuiteId(Long suiteId)The ID of the test suite (ignored if the project is operating in single suite mode, required otherwise)StringtoString()TRSectionwithAdditionalProperty(String name, Object value)TRSectionwithDepth(Long depth)TRSectionwithDescription(String description)TRSectionwithDisplayOrder(Long displayOrder)TRSectionwithId(Long id)TRSectionwithName(String name)TRSectionwithParentId(Long parentId)TRSectionwithSuiteId(Long suiteId)
-
Constructor Details
-
Method Details
-
getDescription
The description of the section (added with TestRail 4.0) -
setDescription
The description of the section (added with TestRail 4.0) -
withDescription
-
getId
The ID of the section -
setId
The ID of the section -
withId
-
getSuiteId
The ID of the test suite (ignored if the project is operating in single suite mode, required otherwise) -
setSuiteId
The ID of the test suite (ignored if the project is operating in single suite mode, required otherwise) -
withSuiteId
-
getParentId
The ID of the parent section (to build section hierarchies) -
setParentId
The ID of the parent section (to build section hierarchies) -
withParentId
-
getName
The name of the section (required) (Required) -
setName
The name of the section (required) (Required) -
withName
-
getDepth
The level in the section hierarchy of the test suite -
setDepth
The level in the section hierarchy of the test suite -
withDepth
-
getDisplayOrder
The order in the test suite -
setDisplayOrder
The order in the test suite -
withDisplayOrder
-
getAdditionalProperties
-
setAdditionalProperty
-
withAdditionalProperty
-
toString
-
hashCode
public int hashCode() -
equals
-