class PurgeNamespace extends AbstractNamespaceCommand<PurgeNamespace> {

    public static PurgeNamespace fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders) {
        return new CommandJsonDeserializer<PurgeNamespace>(TYPE, jsonObject).deserialize(() -> {
            final String namespace = jsonObject.getValueOrThrow(NamespaceCommand.JsonFields.NAMESPACE);
            return new PurgeNamespace(namespace, dittoHeaders);
        });
    }

    private  PurgeNamespace(final CharSequence namespace, final DittoHeaders dittoHeaders);

}