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, withExpansionPaths
plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths
expansionPaths
canDeserialize, deserialize, httpRequestIntent
static 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()