public interface ZoneDeleteCommand extends MetaModelReferenceExpansionDsl<Zone,ZoneDeleteCommand,ZoneExpansionModel<Zone>>, DeleteCommand<Zone>
Zone
.Zone
Modifier and Type | Method and Description |
---|---|
static ZoneDeleteCommand |
of(Versioned<Zone> versioned)
Creates a command object to delete a
Zone by ID. |
static ZoneDeleteCommand |
ofId(String id,
Long version)
Creates a command object to delete a
Zone by its id. |
static ZoneDeleteCommand |
ofKey(String key,
Long version)
Creates a command object to delete a
Zone by its key. |
plusExpansionPaths, withExpansionPaths
plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths
expansionPaths
canDeserialize, deserialize, httpRequestIntent
static ZoneDeleteCommand of(Versioned<Zone> versioned)
Zone
by ID.versioned
- the object to delete (so directly a Zone
) or just the version/ID information of itstatic ZoneDeleteCommand ofKey(String key, Long version)
Zone
by its key.key
- the key of the Zone to delete, see Zone.getKey()
version
- `the current version of the Zone, see Resource.getVersion()
static ZoneDeleteCommand ofId(String id, Long version)
Zone
by its id.id
- the id of the Zone to delete, see Resource.getId()
version
- `the current version of the Zone, see Resource.getVersion()