Package io.qase.client.v2.models
Class CreateResultsRequestV2
java.lang.Object
io.qase.client.v2.models.CreateResultsRequestV2
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class CreateResultsRequestV2
extends Object
CreateResultsRequestV2
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResultsItem(ResultCreate resultsItem) booleanstatic CreateResultsRequestV2Create an instance of CreateResultsRequestV2 given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get resultsinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.results(List<ResultCreate> results) voidsetResults(List<ResultCreate> results) toJson()Convert an instance of CreateResultsRequestV2 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_RESULTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateResultsRequestV2
public CreateResultsRequestV2()
-
-
Method Details
-
results
-
addResultsItem
-
getResults
Get results- Returns:
- results
-
setResults
-
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 CreateResultsRequestV2 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 CreateResultsRequestV2
-
fromJson
Create an instance of CreateResultsRequestV2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateResultsRequestV2
- Throws:
IOException- if the JSON string is invalid with respect to CreateResultsRequestV2
-
toJson
Convert an instance of CreateResultsRequestV2 to an JSON string- Returns:
- JSON string
-