public class TRCaseField extends Object
| Constructor and Description |
|---|
TRCaseField()
No args constructor for use in serialization
|
TRCaseField(Object configs,
String description,
Long displayOrder,
Long id,
Long isMulti,
Boolean isActive,
Long statusId,
Long isSystem,
Long entityId,
String label,
String name,
String systemName,
String type,
Long typeId,
Long locationId,
Boolean includeAll,
List<Long> templateIds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Object |
getConfigs()
Remove this piece of shit with 'anyOf' after solving https://discuss.gurock.com/t/bug-api-different-types-of-returned-data-for-case-fields-configs/10598
|
String |
getDescription()
The description for the new custom field
|
Long |
getDisplayOrder() |
Long |
getEntityId() |
Long |
getId() |
Boolean |
getIncludeAll()
Set flag to true if you want the new custom field included for all templates.
|
Boolean |
getIsActive() |
Long |
getIsMulti() |
Long |
getIsSystem() |
String |
getLabel()
The label for custom field
(Required)
|
Long |
getLocationId()
See
org.touchbit.testrail4j.core.type.FieldTypes |
String |
getName()
The name for custom field
(Required)
|
Long |
getStatusId() |
String |
getSystemName()
The system name for custom field
|
List<Long> |
getTemplateIds()
ID's of templates new custom field will apply to if include_all is set to false
|
String |
getType()
See
org.touchbit.testrail4j.core.type.FieldTypes You can pass the number of the type as well as the word, e.g. |
Long |
getTypeId()
See
org.touchbit.testrail4j.core.type.FieldTypes
(Required) |
int |
hashCode() |
void |
setConfigs(Object configs)
Remove this piece of shit with 'anyOf' after solving https://discuss.gurock.com/t/bug-api-different-types-of-returned-data-for-case-fields-configs/10598
|
void |
setDescription(String description)
The description for the new custom field
|
void |
setDisplayOrder(Long displayOrder) |
void |
setEntityId(Long entityId) |
void |
setId(Long id) |
void |
setIncludeAll(Boolean includeAll)
Set flag to true if you want the new custom field included for all templates.
|
void |
setIsActive(Boolean isActive) |
void |
setIsMulti(Long isMulti) |
void |
setIsSystem(Long isSystem) |
void |
setLabel(String label)
The label for custom field
(Required)
|
void |
setLocationId(Long locationId)
See
org.touchbit.testrail4j.core.type.FieldTypes |
void |
setName(String name)
The name for custom field
(Required)
|
void |
setStatusId(Long statusId) |
void |
setSystemName(String systemName)
The system name for custom field
|
void |
setTemplateIds(List<Long> templateIds)
ID's of templates new custom field will apply to if include_all is set to false
|
void |
setType(String type)
See
org.touchbit.testrail4j.core.type.FieldTypes You can pass the number of the type as well as the word, e.g. |
void |
setTypeId(Long typeId)
See
org.touchbit.testrail4j.core.type.FieldTypes
(Required) |
String |
toString() |
TRCaseField |
withConfigs(Object configs) |
TRCaseField |
withDescription(String description) |
TRCaseField |
withDisplayOrder(Long displayOrder) |
TRCaseField |
withEntityId(Long entityId) |
TRCaseField |
withId(Long id) |
TRCaseField |
withIncludeAll(Boolean includeAll) |
TRCaseField |
withIsActive(Boolean isActive) |
TRCaseField |
withIsMulti(Long isMulti) |
TRCaseField |
withIsSystem(Long isSystem) |
TRCaseField |
withLabel(String label) |
TRCaseField |
withLocationId(Long locationId) |
TRCaseField |
withName(String name) |
TRCaseField |
withStatusId(Long statusId) |
TRCaseField |
withSystemName(String systemName) |
TRCaseField |
withTemplateIds(List<Long> templateIds) |
TRCaseField |
withType(String type) |
TRCaseField |
withTypeId(Long typeId) |
public TRCaseField()
public TRCaseField(Object configs, String description, Long displayOrder, Long id, Long isMulti, Boolean isActive, Long statusId, Long isSystem, Long entityId, String label, String name, String systemName, String type, Long typeId, Long locationId, Boolean includeAll, List<Long> templateIds)
configs - templateIds - displayOrder - description - entityId - includeAll - label - isActive - type - isMulti - isSystem - statusId - systemName - locationId - name - typeId - id - public Object getConfigs()
public void setConfigs(Object configs)
public TRCaseField withConfigs(Object configs)
public String getDescription()
public void setDescription(String description)
public TRCaseField withDescription(String description)
public Long getDisplayOrder()
public void setDisplayOrder(Long displayOrder)
public TRCaseField withDisplayOrder(Long displayOrder)
public Long getId()
public void setId(Long id)
public TRCaseField withId(Long id)
public Long getIsMulti()
public void setIsMulti(Long isMulti)
public TRCaseField withIsMulti(Long isMulti)
public Boolean getIsActive()
public void setIsActive(Boolean isActive)
public TRCaseField withIsActive(Boolean isActive)
public Long getStatusId()
public void setStatusId(Long statusId)
public TRCaseField withStatusId(Long statusId)
public Long getIsSystem()
public void setIsSystem(Long isSystem)
public TRCaseField withIsSystem(Long isSystem)
public Long getEntityId()
public void setEntityId(Long entityId)
public TRCaseField withEntityId(Long entityId)
public String getLabel()
public void setLabel(String label)
public TRCaseField withLabel(String label)
public String getName()
public void setName(String name)
public TRCaseField withName(String name)
public String getSystemName()
public void setSystemName(String systemName)
public TRCaseField withSystemName(String systemName)
public String getType()
org.touchbit.testrail4j.core.type.FieldTypes You can pass the number of the type as well as the word, e.g. 5, string, String, Dropdown, 12. The numbers must be sent as a string e.g {type: "5"} not {type: 5}, otherwise you will get a 400 (Bad Request) response.public void setType(String type)
org.touchbit.testrail4j.core.type.FieldTypes You can pass the number of the type as well as the word, e.g. 5, string, String, Dropdown, 12. The numbers must be sent as a string e.g {type: "5"} not {type: 5}, otherwise you will get a 400 (Bad Request) response.public TRCaseField withType(String type)
public Long getTypeId()
org.touchbit.testrail4j.core.type.FieldTypes
(Required)public void setTypeId(Long typeId)
org.touchbit.testrail4j.core.type.FieldTypes
(Required)public TRCaseField withTypeId(Long typeId)
public Long getLocationId()
org.touchbit.testrail4j.core.type.FieldTypespublic void setLocationId(Long locationId)
org.touchbit.testrail4j.core.type.FieldTypespublic TRCaseField withLocationId(Long locationId)
public Boolean getIncludeAll()
public void setIncludeAll(Boolean includeAll)
public TRCaseField withIncludeAll(Boolean includeAll)
public List<Long> getTemplateIds()
public void setTemplateIds(List<Long> templateIds)
public TRCaseField withTemplateIds(List<Long> templateIds)
Copyright © 2019. All rights reserved.