public interface SubscriptionUpdateCommand extends UpdateCommandDsl<Subscription,SubscriptionUpdateCommand>, MetaModelReferenceExpansionDsl<Subscription,SubscriptionUpdateCommand,SubscriptionExpansionModel<Subscription>>
Known UpdateActions
Subscription
Modifier and Type | Method and Description |
---|---|
static SubscriptionUpdateCommand |
of(Versioned<Subscription> versioned,
List<? extends UpdateAction<Subscription>> updateActions)
Creates a command to update a Subscription selected by its ID using several update actions.
|
static SubscriptionUpdateCommand |
of(Versioned<Subscription> versioned,
UpdateAction<Subscription> updateAction,
UpdateAction<Subscription>... updateActions)
Creates a command to update a Subscription selected by its ID using one update action.
|
static SubscriptionUpdateCommand |
ofKey(String key,
Long version,
List<? extends UpdateAction<Subscription>> updateActions)
Creates a command to update a Subscription selected by its key using several update actions.
|
static SubscriptionUpdateCommand |
ofKey(String key,
Long version,
UpdateAction<Subscription> updateAction)
Creates a command to update a Subscription 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 SubscriptionUpdateCommand of(Versioned<Subscription> versioned, List<? extends UpdateAction<Subscription>> updateActions)
versioned
- the object to update (so directly a Subscription
) or just the version/ID information of itupdateActions
- the updates@SafeVarargs static SubscriptionUpdateCommand of(Versioned<Subscription> versioned, UpdateAction<Subscription> updateAction, UpdateAction<Subscription>... updateActions)
versioned
- the object to update (so directly a Subscription
) or just the version/ID information of itupdateAction
- the update to performupdateActions
- additional updates to performstatic SubscriptionUpdateCommand ofKey(String key, Long version, List<? extends UpdateAction<Subscription>> updateActions)
key
- the key of the Subscription to update, see Subscription.getKey()
version
- the current version of the Subscription, see Resource.getVersion()
updateActions
- the updatesstatic SubscriptionUpdateCommand ofKey(String key, Long version, UpdateAction<Subscription> updateAction)
key
- the key of the Subscription to update, see Subscription.getKey()
version
- the current version of the Subscription, see Resource.getVersion()
updateAction
- the update to perform