Package io.qase.client.v2.models
Class ResultCreateFields
java.lang.Object
io.qase.client.v2.models.ResultCreateFields
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class ResultCreateFields
extends Object
ResultCreateFields
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanexecutedBy(String executedBy) static ResultCreateFieldsCreate an instance of ResultCreateFields given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Author of the related test case (member id, name or email).Get behaviorGet descriptionUser who executed the test (member id, name or email)Get isFlakygetLayer()Get layergetMuted()Get mutedGet postconditionsGet preconditionsGet priorityGet severitygetType()Get typeinthashCode()postconditions(String postconditions) preconditions(String preconditions) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetBehavior(String behavior) voidsetDescription(String description) voidsetExecutedBy(String executedBy) voidsetIsFlaky(String isFlaky) voidvoidvoidsetPostconditions(String postconditions) voidsetPreconditions(String preconditions) voidsetPriority(String priority) voidsetSeverity(String severity) voidtoJson()Convert an instance of ResultCreateFields 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_AUTHOR
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_PRECONDITIONS
- See Also:
-
SERIALIZED_NAME_POSTCONDITIONS
- See Also:
-
SERIALIZED_NAME_LAYER
- See Also:
-
SERIALIZED_NAME_SEVERITY
- See Also:
-
SERIALIZED_NAME_PRIORITY
- See Also:
-
SERIALIZED_NAME_BEHAVIOR
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_MUTED
- See Also:
-
SERIALIZED_NAME_IS_FLAKY
- See Also:
-
SERIALIZED_NAME_EXECUTED_BY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ResultCreateFields
public ResultCreateFields()
-
-
Method Details
-
author
-
getAuthor
Author of the related test case (member id, name or email). If set and test case auto-creation is enabled, the author will be used to create the test case- Returns:
- author
-
setAuthor
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
preconditions
-
getPreconditions
Get preconditions- Returns:
- preconditions
-
setPreconditions
-
postconditions
-
getPostconditions
Get postconditions- Returns:
- postconditions
-
setPostconditions
-
layer
-
getLayer
Get layer- Returns:
- layer
-
setLayer
-
severity
-
getSeverity
Get severity- Returns:
- severity
-
setSeverity
-
priority
-
getPriority
Get priority- Returns:
- priority
-
setPriority
-
behavior
-
getBehavior
Get behavior- Returns:
- behavior
-
setBehavior
-
type
-
getType
Get type- Returns:
- type
-
setType
-
muted
-
getMuted
Get muted- Returns:
- muted
-
setMuted
-
isFlaky
-
getIsFlaky
Get isFlaky- Returns:
- isFlaky
-
setIsFlaky
-
executedBy
-
getExecutedBy
User who executed the test (member id, name or email)- Returns:
- executedBy
-
setExecutedBy
-
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 ResultCreateFields 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 ResultCreateFields
-
fromJson
Create an instance of ResultCreateFields given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ResultCreateFields
- Throws:
IOException- if the JSON string is invalid with respect to ResultCreateFields
-
toJson
Convert an instance of ResultCreateFields to an JSON string- Returns:
- JSON string
-