Package com.veeroute.lss.registry.model
Class ModelConfiguration
java.lang.Object
com.veeroute.lss.registry.model.ModelConfiguration
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:50.097229187+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class ModelConfiguration
extends Object
Configuration file.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ModelConfigurationCreate an instance of ModelConfiguration given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Settings in [JSON](https://www.json.org/) format.File creation date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.Last file edit date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.Schema for validating content (settings) in [JSON Schema](https://json-schema.org/) format.getKey()Key, unique identifier.Get specificationinthashCode()jsonSchema(String jsonSchema) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetContent(String content) voidsetJsonSchema(String jsonSchema) voidvoidsetSpecification(FileSpecification specification) specification(FileSpecification specification) toJson()Convert an instance of ModelConfiguration 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_KEY
- See Also:
-
SERIALIZED_NAME_SPECIFICATION
- See Also:
-
SERIALIZED_NAME_CONTENT
- See Also:
-
SERIALIZED_NAME_JSON_SCHEMA
- See Also:
-
SERIALIZED_NAME_EDIT_DATE
- See Also:
-
SERIALIZED_NAME_CREATION_DATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ModelConfiguration
public ModelConfiguration() -
ModelConfiguration
-
-
Method Details
-
key
-
getKey
Key, unique identifier.- Returns:
- key
-
setKey
-
specification
-
getSpecification
Get specification- Returns:
- specification
-
setSpecification
-
content
-
getContent
Settings in [JSON](https://www.json.org/) format.- Returns:
- content
-
setContent
-
jsonSchema
-
getJsonSchema
Schema for validating content (settings) in [JSON Schema](https://json-schema.org/) format.- Returns:
- jsonSchema
-
setJsonSchema
-
getEditDate
Last file edit date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.- Returns:
- editDate
-
getCreationDate
File creation date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.- Returns:
- creationDate
-
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 ModelConfiguration 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 ModelConfiguration
-
fromJson
Create an instance of ModelConfiguration given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ModelConfiguration
- Throws:
IOException- if the JSON string is invalid with respect to ModelConfiguration
-
toJson
Convert an instance of ModelConfiguration to an JSON string- Returns:
- JSON string
-