Package com.datadog.api.client.v2.model
Class ValidationError
java.lang.Object
com.datadog.api.client.v2.model.ValidationError
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ValidationError
extends Object
Represents a single validation error, including a human-readable title and metadata.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ValidationError object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getMeta()Describes additional metadata for validation errors, including field names and error messages.getTitle()A short, human-readable summary of the error.inthashCode()meta(ValidationErrorMeta meta) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMeta(ValidationErrorMeta meta) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_META
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
ValidationError
public ValidationError() -
ValidationError
-
-
Method Details
-
meta
-
getMeta
Describes additional metadata for validation errors, including field names and error messages.- Returns:
- meta
-
setMeta
-
title
-
getTitle
A short, human-readable summary of the error.- Returns:
- title
-
setTitle
-
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:
- ValidationError
-
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 ValidationError object is equal to o. -
hashCode
public int hashCode() -
toString
-