/**
  * List all distribution providers
  * 
  * @param KalturaGenericDistributionProviderActionFilter $filter 
  * @param KalturaFilterPager $pager 
  * @return KalturaGenericDistributionProviderActionListResponse
  */
 function listAction(KalturaGenericDistributionProviderActionFilter $filter = null, KalturaFilterPager $pager = null)
 {
     $kparams = array();
     if ($filter !== null) {
         $this->client->addParam($kparams, "filter", $filter->toParams());
     }
     if ($pager !== null) {
         $this->client->addParam($kparams, "pager", $pager->toParams());
     }
     $this->client->queueServiceActionCall("contentdistribution_genericdistributionprovideraction", "list", $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "KalturaGenericDistributionProviderActionListResponse");
     return $resultObject;
 }
 /**
  * List all distribution providers
  * 
  * @action list
  * @param KalturaGenericDistributionProviderActionFilter $filter
  * @param KalturaFilterPager $pager
  * @return KalturaGenericDistributionProviderActionListResponse
  */
 function listAction(KalturaGenericDistributionProviderActionFilter $filter = null, KalturaFilterPager $pager = null)
 {
     if (!$filter) {
         $filter = new KalturaGenericDistributionProviderActionFilter();
     }
     $c = new Criteria();
     $genericDistributionProviderActionFilter = new GenericDistributionProviderActionFilter();
     $filter->toObject($genericDistributionProviderActionFilter);
     $genericDistributionProviderActionFilter->attachToCriteria($c);
     $count = GenericDistributionProviderActionPeer::doCount($c);
     if ($pager) {
         $pager->attachToCriteria($c);
     }
     $list = GenericDistributionProviderActionPeer::doSelect($c);
     $response = new KalturaGenericDistributionProviderActionListResponse();
     $response->objects = KalturaGenericDistributionProviderActionArray::fromDbArray($list);
     $response->totalCount = $count;
     return $response;
 }