Package de.starwit.aic.model
Class AIModel
java.lang.Object
de.starwit.aic.model.AIModel
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-08-21T09:43:09.059871871Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class AIModel
extends Object
AIModel
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AIModelCreate an instance of AIModel given an JSON stringGet lastDeploymentLink to public training data / documentation.Link to model documentationGet modelTypegetName()Get nameIs model based on public training data?Get versioninthashCode()lastDeployment(OffsetDateTime lastDeployment) linkToPublicTrainingData(URI linkToPublicTrainingData) modelType(AIModelType modelType) publicTrainingData(Boolean publicTrainingData) voidsetLastDeployment(OffsetDateTime lastDeployment) voidsetLinkToPublicTrainingData(URI linkToPublicTrainingData) voidsetModelLink(URI modelLink) voidsetModelType(AIModelType modelType) voidvoidsetPublicTrainingData(Boolean publicTrainingData) voidsetVersion(String version) toJson()Convert an instance of AIModel 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_NAME
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
SERIALIZED_NAME_LAST_DEPLOYMENT
- See Also:
-
SERIALIZED_NAME_MODEL_TYPE
- See Also:
-
SERIALIZED_NAME_MODEL_LINK
- See Also:
-
SERIALIZED_NAME_PUBLIC_TRAINING_DATA
- See Also:
-
SERIALIZED_NAME_LINK_TO_PUBLIC_TRAINING_DATA
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AIModel
public AIModel()
-
-
Method Details
-
name
-
getName
Get name- Returns:
- name
-
setName
-
version
-
getVersion
Get version- Returns:
- version
-
setVersion
-
lastDeployment
-
getLastDeployment
Get lastDeployment- Returns:
- lastDeployment
-
setLastDeployment
-
modelType
-
getModelType
Get modelType- Returns:
- modelType
-
setModelType
-
modelLink
-
getModelLink
Link to model documentation- Returns:
- modelLink
-
setModelLink
-
publicTrainingData
-
getPublicTrainingData
Is model based on public training data?- Returns:
- publicTrainingData
-
setPublicTrainingData
-
linkToPublicTrainingData
-
getLinkToPublicTrainingData
Link to public training data / documentation.- Returns:
- linkToPublicTrainingData
-
setLinkToPublicTrainingData
-
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 AIModel
-
fromJson
Create an instance of AIModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AIModel
- Throws:
IOException- if the JSON string is invalid with respect to AIModel
-
toJson
Convert an instance of AIModel to an JSON string- Returns:
- JSON string
-