public class Model extends Object implements Jsonifiable
Modifier and Type | Class and Description |
---|---|
static class |
Model.Builder<T extends Model.Builder<T>> |
Jsonifiable.JsonMapper
Modifier | Constructor and Description |
---|---|
protected |
Model(Model.Builder<?> builder) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Content> |
content()
Retrieves the content of the model
|
boolean |
equals(Object obj) |
int |
hashCode() |
ModelId |
id()
Returns the model identifier
|
static Model.Builder<?> |
newBuilder(VortoInventoryRemote vortoInventoryRemote) |
CompletionStage<Preview> |
preview()
Retrieves the human readable information about this model
|
String |
toString() |
Type |
type()
Returns the model type
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toJsonString
protected Model(Model.Builder<?> builder)
public ModelId id()
public CompletionStage<Content> content()
public CompletionStage<Preview> preview()
public static Model.Builder<?> newBuilder(VortoInventoryRemote vortoInventoryRemote)
Copyright © 2022 Bosch.IO GmbH. All rights reserved.