public interface TypeUpdateCommand extends UpdateCommandDsl<Type,TypeUpdateCommand>, MetaModelReferenceExpansionDsl<Type,TypeUpdateCommand,TypeExpansionModel<Type>>
Type
.
Known UpdateActions
Type
Modifier and Type | Method and Description |
---|---|
static TypeUpdateCommand |
of(Versioned<Type> versioned,
List<? extends UpdateAction<Type>> updateActions)
Creates a command to update a Type selected by its ID using several update actions.
|
static TypeUpdateCommand |
of(Versioned<Type> versioned,
UpdateAction<Type> updateAction,
UpdateAction<Type>... updateActions)
Creates a command to update a Type selected by its ID using one update action.
|
static TypeUpdateCommand |
ofKey(String key,
Long version,
List<? extends UpdateAction<Type>> updateActions)
Creates a command to update a Type selected by its key using several update actions.
|
static TypeUpdateCommand |
ofKey(String key,
Long version,
UpdateAction<Type> updateAction)
Creates a command to update a Type selected by its key using one update action.
|
plusUpdateActions, withAdditionalHttpQueryParameters, withUpdateActions, withVersion, withVersion
getUpdateActions
canDeserialize, deserialize, httpRequestIntent
plusExpansionPaths, withExpansionPaths
plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths
expansionPaths
static TypeUpdateCommand of(Versioned<Type> versioned, List<? extends UpdateAction<Type>> updateActions)
versioned
- the object to update (so directly a Type
) or just the version/ID information of itupdateActions
- the updates@SafeVarargs static TypeUpdateCommand of(Versioned<Type> versioned, UpdateAction<Type> updateAction, UpdateAction<Type>... updateActions)
versioned
- the object to update (so directly a Type
) or just the version/ID information of itupdateAction
- the update to performupdateActions
- additional updates to performstatic TypeUpdateCommand ofKey(String key, Long version, List<? extends UpdateAction<Type>> updateActions)
key
- the key of the Type to update, see Type.getKey()
version
- the current version of the Type, see Resource.getVersion()
updateActions
- the updatesstatic TypeUpdateCommand ofKey(String key, Long version, UpdateAction<Type> updateAction)
key
- the key of the Type to update, see Type.getKey()
version
- the current version of the Type, see Resource.getVersion()
updateAction
- the update to perform