class BlockNamespace extends AbstractNamespaceCommand<BlockNamespace> {

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

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

}