Package de.starwit.aic.model
Class Model
java.lang.Object
de.starwit.aic.model.Model
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-01-31T09:16:27.200190972Z[Etc/UTC]")
public class Model
extends Object
Model
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ModelCreate an instance of Model 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) publicTrainingData(Boolean publicTrainingData) voidsetLastDeployment(OffsetDateTime lastDeployment) voidsetLinkToPublicTrainingData(URI linkToPublicTrainingData) voidsetModelLink(URI modelLink) voidsetModelType(ModelType modelType) voidvoidsetPublicTrainingData(Boolean publicTrainingData) voidsetVersion(String version) toJson()Convert an instance of Model 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
-
Model
public Model()
-
-
Method Details
-
name
-
getName
-
setName
-
version
-
getVersion
-
setVersion
-
lastDeployment
-
getLastDeployment
-
setLastDeployment
-
modelType
-
getModelType
-
setModelType
-
modelLink
-
getModelLink
-
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
-
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 Model
-
fromJson
Create an instance of Model given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Model
- Throws:
IOException- if the JSON string is invalid with respect to Model
-
toJson
-