Package io.qase.client.v2.models
Class ResultCreate
java.lang.Object
io.qase.client.v2.models.ResultCreate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class ResultCreate
extends Object
ResultCreate
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttachmentsItem(String attachmentsItem) addParamGroupsItem(List<String> paramGroupsItem) addStepsItem(ResultStep stepsItem) addTestopsIdsItem(Long testopsIdsItem) attachments(List<String> attachments) booleanexecution(ResultExecution execution) fields(ResultCreateFields fields) static ResultCreateCreate an instance of ResultCreate given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get attachmentsIf true and the result is failed, the defect associated with the result will be createdGet executionGet fieldsgetId()If passed, used as an idempotency keyGet messageList parameter groups by name only.Get paramsGet relationsGet signaturegetSteps()Get stepsGet stepsTypeID of the test case.IDs of the test cases.getTitle()Get titleinthashCode()paramGroups(List<List<String>> paramGroups) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putParamsItem(String key, String paramsItem) relations(ResultRelations relations) voidsetAttachments(List<String> attachments) voidvoidsetExecution(ResultExecution execution) voidsetFields(ResultCreateFields fields) voidvoidsetMessage(String message) voidsetParamGroups(List<List<String>> paramGroups) voidvoidsetRelations(ResultRelations relations) voidsetSignature(String signature) voidsetSteps(List<ResultStep> steps) voidsetStepsType(ResultStepsType stepsType) voidsetTestopsId(Long testopsId) voidsetTestopsIds(List<Long> testopsIds) voidsteps(List<ResultStep> steps) stepsType(ResultStepsType stepsType) testopsIds(List<Long> testopsIds) toJson()Convert an instance of ResultCreate to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_TITLE
- See Also:
-
SERIALIZED_NAME_SIGNATURE
- See Also:
-
SERIALIZED_NAME_TESTOPS_ID
- See Also:
-
SERIALIZED_NAME_TESTOPS_IDS
- See Also:
-
SERIALIZED_NAME_EXECUTION
- See Also:
-
SERIALIZED_NAME_FIELDS
- See Also:
-
SERIALIZED_NAME_ATTACHMENTS
- See Also:
-
SERIALIZED_NAME_STEPS
- See Also:
-
SERIALIZED_NAME_STEPS_TYPE
- See Also:
-
SERIALIZED_NAME_PARAMS
- See Also:
-
SERIALIZED_NAME_PARAM_GROUPS
- See Also:
-
SERIALIZED_NAME_RELATIONS
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_DEFECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ResultCreate
public ResultCreate()
-
-
Method Details
-
id
-
getId
If passed, used as an idempotency key- Returns:
- id
-
setId
-
title
-
getTitle
Get title- Returns:
- title
-
setTitle
-
signature
-
getSignature
Get signature- Returns:
- signature
-
setSignature
-
testopsId
-
getTestopsId
ID of the test case. Cannot be specified together with testopd_ids.- Returns:
- testopsId
-
setTestopsId
-
testopsIds
-
addTestopsIdsItem
-
getTestopsIds
IDs of the test cases. Cannot be specified together with testopd_id.- Returns:
- testopsIds
-
setTestopsIds
-
execution
-
getExecution
Get execution- Returns:
- execution
-
setExecution
-
fields
-
getFields
Get fields- Returns:
- fields
-
setFields
-
attachments
-
addAttachmentsItem
-
getAttachments
Get attachments- Returns:
- attachments
-
setAttachments
-
steps
-
addStepsItem
-
getSteps
Get steps- Returns:
- steps
-
setSteps
-
stepsType
-
getStepsType
Get stepsType- Returns:
- stepsType
-
setStepsType
-
params
-
putParamsItem
-
getParams
Get params- Returns:
- params
-
setParams
-
paramGroups
-
addParamGroupsItem
-
getParamGroups
List parameter groups by name only. Add their values in the 'params' field- Returns:
- paramGroups
-
setParamGroups
-
relations
-
getRelations
Get relations- Returns:
- relations
-
setRelations
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
defect
-
getDefect
If true and the result is failed, the defect associated with the result will be created- Returns:
- defect
-
setDefect
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the ResultCreate instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ResultCreate
-
fromJson
Create an instance of ResultCreate given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ResultCreate
- Throws:
IOException- if the JSON string is invalid with respect to ResultCreate
-
toJson
Convert an instance of ResultCreate to an JSON string- Returns:
- JSON string
-