@classmethod
def delete(cls, client, resource):
    '\n\n        :param client: \n        :param resource: \n\n        '
    try:
        if (resource and (type(resource) is not list)):
            deleteresource = lbvserver_appfwpolicy_binding()
            deleteresource.name = resource.name
            deleteresource.policyname = resource.policyname
            deleteresource.bindpoint = resource.bindpoint
            deleteresource.priority = resource.priority
            return deleteresource.delete_resource(client)
        else:
            if (resource and (len(resource) > 0)):
                deleteresources = [lbvserver_appfwpolicy_binding() for _ in range(len(resource))]
                for i in range(len(resource)):
                    deleteresources[i].name = resource[i].name
                    deleteresources[i].policyname = resource[i].policyname
                    deleteresources[i].bindpoint = resource[i].bindpoint
                    deleteresources[i].priority = resource[i].priority
            return cls.delete_bulk_request(client, deleteresources)
    except Exception as e:
        raise e
:param client: 
:param resource:
@classmethod
def delete(cls, client, resource):
    '\n\n        :param client: \n        :param resource: \n\n        '
    try:
        if (resource and (type(resource) is not list)):
            deleteresource = lbvserver_appfwpolicy_binding()
            deleteresource.name = resource.name
            deleteresource.policyname = resource.policyname
            deleteresource.bindpoint = resource.bindpoint
            deleteresource.priority = resource.priority
            return deleteresource.delete_resource(client)
        else:
            if (resource and (len(resource) > 0)):
                deleteresources = [lbvserver_appfwpolicy_binding() for _ in range(len(resource))]
                for i in range(len(resource)):
                    deleteresources[i].name = resource[i].name
                    deleteresources[i].policyname = resource[i].policyname
                    deleteresources[i].bindpoint = resource[i].bindpoint
                    deleteresources[i].priority = resource[i].priority
            return cls.delete_bulk_request(client, deleteresources)
    except Exception as e:
        raise e