def list_by_manager(resource_group_name, manager_name, filter:nil, custom_headers:nil)
      first_page = list_by_manager_as_lazy(resource_group_name, manager_name, filter:filter, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_manager(resource_group_name, manager_name, filter:nil, custom_headers:nil)
      first_page = list_by_manager_as_lazy(resource_group_name, manager_name, filter:filter, custom_headers:custom_headers)
      first_page.get_all_items
    end
Gets all the jobs for the specified manager. With optional OData query
 parameters, a filtered set of jobs is returned.

 @param resource_group_name [String] The resource group name
 @param manager_name [String] The manager name
 @param filter [String] OData Filter options
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<Job>] operation results.