Package com.datadog.api.client.v2.model
Class TeamsOwnershipMappingBatchResponse
java.lang.Object
com.datadog.api.client.v2.model.TeamsOwnershipMappingBatchResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TeamsOwnershipMappingBatchResponse
extends Object
The response body for the bulk create and remove operation. On success,
atomic:results
contains one entry per operation. Add results appear before remove results and may not
match request order. Correlate add results by their type and id rather
than by array position. On failure, no operations were applied and errors describes
what went wrong.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAtomicResultsItem(TeamsOwnershipMappingBatchResult atomicResultsItem) addErrorsItem(TeamsOwnershipMappingBatchError errorsItem) atomicResults(List<TeamsOwnershipMappingBatchResult> atomicResults) booleanReturn true if this TeamsOwnershipMappingBatchResponse object is equal to o.errors(List<TeamsOwnershipMappingBatchError> errors) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The result of each operation.The validation or processing errors encountered.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAtomicResults(List<TeamsOwnershipMappingBatchResult> atomicResults) voidsetErrors(List<TeamsOwnershipMappingBatchError> errors) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATOMIC_RESULTS
- See Also:
-
JSON_PROPERTY_ERRORS
- See Also:
-
-
Constructor Details
-
TeamsOwnershipMappingBatchResponse
public TeamsOwnershipMappingBatchResponse()
-
-
Method Details
-
atomicResults
public TeamsOwnershipMappingBatchResponse atomicResults(List<TeamsOwnershipMappingBatchResult> atomicResults) -
addAtomicResultsItem
public TeamsOwnershipMappingBatchResponse addAtomicResultsItem(TeamsOwnershipMappingBatchResult atomicResultsItem) -
getAtomicResults
The result of each operation. Add operations are processed first, then remove operations, so results may not appear in the same order as the request. Present only on success.- Returns:
- atomicResults
-
setAtomicResults
-
errors
-
addErrorsItem
-
getErrors
The validation or processing errors encountered. Present only when the request could not be completed.- Returns:
- errors
-
setErrors
-
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:
- TeamsOwnershipMappingBatchResponse
-
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 TeamsOwnershipMappingBatchResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-