Package com.datadog.api.client.v2.model
Class UpdateFlakyTestsResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.UpdateFlakyTestsResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UpdateFlakyTestsResponseAttributes
extends Object
Attributes for the update flaky test state response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUpdateFlakyTestsResponseAttributes(Boolean hasErrors, List<UpdateFlakyTestsResponseResult> results) -
Method Summary
Modifier and TypeMethodDescriptionaddResultsItem(UpdateFlakyTestsResponseResult resultsItem) booleanReturn true if this UpdateFlakyTestsResponseAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Trueif any errors occurred during the update operations.Results of the update operation for each test.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.results(List<UpdateFlakyTestsResponseResult> results) voidsetHasErrors(Boolean hasErrors) voidsetResults(List<UpdateFlakyTestsResponseResult> results) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HAS_ERRORS
- See Also:
-
JSON_PROPERTY_RESULTS
- See Also:
-
-
Constructor Details
-
UpdateFlakyTestsResponseAttributes
public UpdateFlakyTestsResponseAttributes() -
UpdateFlakyTestsResponseAttributes
public UpdateFlakyTestsResponseAttributes(Boolean hasErrors, List<UpdateFlakyTestsResponseResult> results)
-
-
Method Details
-
hasErrors
-
getHasErrors
Trueif any errors occurred during the update operations.Falseif all tests succeeded to be updated.- Returns:
- hasErrors
-
setHasErrors
-
results
-
addResultsItem
public UpdateFlakyTestsResponseAttributes addResultsItem(UpdateFlakyTestsResponseResult resultsItem) -
getResults
Results of the update operation for each test.- 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- The arbitrary key to setvalue- The associated value- Returns:
- UpdateFlakyTestsResponseAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this UpdateFlakyTestsResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-