Package com.datadog.api.client.v2.model
Class OwnershipFeedbackRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.OwnershipFeedbackRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OwnershipFeedbackRequestAttributes
extends Object
The attributes of an ownership feedback request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOwnershipFeedbackRequestAttributes(OwnershipFeedbackAction action, String inferenceChecksum) -
Method Summary
Modifier and TypeMethodDescriptionaction(OwnershipFeedbackAction action) correctedOwnerHandle(String correctedOwnerHandle) correctedOwnerType(String correctedOwnerType) booleanReturn true if this OwnershipFeedbackRequestAttributes object is equal to o.The feedback action to apply to an inference.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The corrected owner handle.org.openapitools.jackson.nullable.JsonNullable<String>The corrected owner type.org.openapitools.jackson.nullable.JsonNullable<String>The checksum of the inference being acted upon.An optional free-form reason explaining the feedback.org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()inferenceChecksum(String inferenceChecksum) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAction(OwnershipFeedbackAction action) voidsetCorrectedOwnerHandle(String correctedOwnerHandle) voidsetCorrectedOwnerHandle_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> correctedOwnerHandle) voidsetCorrectedOwnerType(String correctedOwnerType) voidsetCorrectedOwnerType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> correctedOwnerType) voidsetInferenceChecksum(String inferenceChecksum) voidvoidsetReason_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> reason) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTION
- See Also:
-
JSON_PROPERTY_CORRECTED_OWNER_HANDLE
- See Also:
-
JSON_PROPERTY_CORRECTED_OWNER_TYPE
- See Also:
-
JSON_PROPERTY_INFERENCE_CHECKSUM
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
-
Constructor Details
-
OwnershipFeedbackRequestAttributes
public OwnershipFeedbackRequestAttributes() -
OwnershipFeedbackRequestAttributes
-
-
Method Details
-
action
-
getAction
The feedback action to apply to an inference.- Returns:
- action
-
setAction
-
correctedOwnerHandle
-
getCorrectedOwnerHandle
The corrected owner handle. Required whenactioniscorrect.- Returns:
- correctedOwnerHandle
-
getCorrectedOwnerHandle_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getCorrectedOwnerHandle_JsonNullable() -
setCorrectedOwnerHandle_JsonNullable
public void setCorrectedOwnerHandle_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> correctedOwnerHandle) -
setCorrectedOwnerHandle
-
correctedOwnerType
-
getCorrectedOwnerType
The corrected owner type. Required whenactioniscorrect.- Returns:
- correctedOwnerType
-
getCorrectedOwnerType_JsonNullable
-
setCorrectedOwnerType_JsonNullable
public void setCorrectedOwnerType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> correctedOwnerType) -
setCorrectedOwnerType
-
inferenceChecksum
-
getInferenceChecksum
The checksum of the inference being acted upon. Must match the current inference checksum or the request returns a conflict.- Returns:
- inferenceChecksum
-
setInferenceChecksum
-
reason
-
getReason
An optional free-form reason explaining the feedback.- Returns:
- reason
-
getReason_JsonNullable
-
setReason_JsonNullable
-
setReason
-
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:
- OwnershipFeedbackRequestAttributes
-
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 OwnershipFeedbackRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-