public KalturaMediaInfoListResponse list(KalturaMediaInfoFilter filter, KalturaFilterPager pager) throws KalturaApiException { KalturaParams kparams = new KalturaParams(); if (filter != null) kparams.add("filter", filter.toParams()); if (pager != null) kparams.add("pager", pager.toParams()); this.kalturaClient.queueServiceCall("adminconsole_mediainfo", "list", kparams); if (this.kalturaClient.isMultiRequest()) return null; Element resultXmlElement = this.kalturaClient.doQueue(); return (KalturaMediaInfoListResponse) KalturaObjectFactory.create(resultXmlElement); }
public KalturaDistributionProfileListResponse list( KalturaDistributionProfileFilter filter, KalturaFilterPager pager) throws KalturaApiException { KalturaParams kparams = new KalturaParams(); if (filter != null) kparams.add("filter", filter.toParams()); if (pager != null) kparams.add("pager", pager.toParams()); this.kalturaClient.queueServiceCall("contentdistribution_distributionprofile", "list", kparams); if (this.kalturaClient.isMultiRequest()) return null; Element resultXmlElement = this.kalturaClient.doQueue(); return (KalturaDistributionProfileListResponse) KalturaObjectFactory.create(resultXmlElement); }