public interface SubscriptionDeleteCommand extends MetaModelReferenceExpansionDsl<Subscription,SubscriptionDeleteCommand,SubscriptionExpansionModel<Subscription>>, DeleteCommand<Subscription>
Subscription| Modifier and Type | Method and Description |
|---|---|
static SubscriptionDeleteCommand |
of(Versioned<Subscription> versioned)
Creates a command object to delete a
Subscription by ID. |
static SubscriptionDeleteCommand |
ofKey(String key,
Long version)
Creates a command object to delete a
Subscription by its key. |
plusExpansionPaths, withExpansionPathsplusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPathsexpansionPathscanDeserialize, deserialize, httpRequestIntentstatic SubscriptionDeleteCommand of(Versioned<Subscription> versioned)
Subscription by ID.versioned - the object to delete (so directly a Subscription) or just the version/ID information of itstatic SubscriptionDeleteCommand ofKey(String key, Long version)
Subscription by its key.key - the key of the Subscription to delete, see Subscription.getKey()version - `the current version of the Subscription, see Resource.getVersion()