Package com.veeroute.lss.monitor.model
Class SchemaError
java.lang.Object
com.veeroute.lss.monitor.model.SchemaError
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:38.388455705+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class SchemaError
extends Object
Data error by schema.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SchemaErrorCreate an instance of SchemaError given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Target entity identifier.Error message.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetMessage(String message) toJson()Convert an instance of SchemaError 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_ENTITY
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SchemaError
public SchemaError()
-
-
Method Details
-
entity
-
getEntity
Target entity identifier.- Returns:
- entity
-
setEntity
-
message
-
getMessage
Error message.- Returns:
- message
-
setMessage
-
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 SchemaError 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 SchemaError
-
fromJson
Create an instance of SchemaError given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SchemaError
- Throws:
IOException- if the JSON string is invalid with respect to SchemaError
-
toJson
Convert an instance of SchemaError to an JSON string- Returns:
- JSON string
-