public function getAllCampaigns(array $filters = null) {
        $response = $this->mailjet->get(Resources::$Campaign, ['filters' => $filters]);
        if (!$response->success()) {
            $this->throwError("CampaignDraftManager:getAllCampaigns() failed", $response);
        }

        return $response->getData();
    }
public function getAllCampaigns(array $filters = null) {
        $response = $this->mailjet->get(Resources::$Campaign, ['filters' => $filters]);
        if (!$response->success()) {
            $this->throwError("CampaignDraftManager:getAllCampaigns() failed", $response);
        }

        return $response->getData();
    }
public function getAllCampaigns ( array $ filters = null ) { $ response = $ this -> mailjet -> get ( Resources :: $ Campaign , [ 'filters' => $ filters ] ) ; if ( ! $ response -> success ( ) ) { $ this -> throwError ( "CampaignDraftManager:getAllCampaigns() failed" , $ response ) ; } return $ response -> getData ( ) ; }
List campaigns resources available for this apikey
@return array
List campaigns resources available for this apikey