@classmethod
def delete(cls, client, resource):
    try:
        if (resource and (type(resource) is not list)):
            deleteresource = cls.filter_delete_parameters(resource)
            return deleteresource.delete_resource(client)
        else:
            if (resource and (len(resource) > 0)):
                deleteresources = [vpnvserver_vpnnexthopserver_binding() for _ in range(len(resource))]
                for i in range(len(resource)):
                    deleteresources[i] = cls.filter_delete_parameters(resource[i])
            return cls.delete_bulk_request(client, deleteresources)
    except Exception as e:
        raise e
@classmethod
def delete(cls, client, resource):
    try:
        if (resource and (type(resource) is not list)):
            deleteresource = cls.filter_delete_parameters(resource)
            return deleteresource.delete_resource(client)
        else:
            if (resource and (len(resource) > 0)):
                deleteresources = [vpnvserver_vpnnexthopserver_binding() for _ in range(len(resource))]
                for i in range(len(resource)):
                    deleteresources[i] = cls.filter_delete_parameters(resource[i])
            return cls.delete_bulk_request(client, deleteresources)
    except Exception as e:
        raise e