public void DeleteByProviderId(int genericDistributionProviderId, KalturaDistributionAction actionType) { KalturaParams kparams = new KalturaParams(); kparams.AddIntIfNotNull("genericDistributionProviderId", genericDistributionProviderId); kparams.AddEnumIfNotNull("actionType", actionType); _Client.QueueServiceCall("contentdistribution_genericdistributionprovideraction", "deleteByProviderId", kparams); if (this._Client.IsMultiRequest) { return; } XmlElement result = _Client.DoQueue(); }
public KalturaGenericDistributionProviderAction UpdateByProviderId(int genericDistributionProviderId, KalturaDistributionAction actionType, KalturaGenericDistributionProviderAction genericDistributionProviderAction) { KalturaParams kparams = new KalturaParams(); kparams.AddIntIfNotNull("genericDistributionProviderId", genericDistributionProviderId); kparams.AddEnumIfNotNull("actionType", actionType); if (genericDistributionProviderAction != null) { kparams.Add("genericDistributionProviderAction", genericDistributionProviderAction.ToParams()); } _Client.QueueServiceCall("contentdistribution_genericdistributionprovideraction", "updateByProviderId", kparams); if (this._Client.IsMultiRequest) { return(null); } XmlElement result = _Client.DoQueue(); return((KalturaGenericDistributionProviderAction)KalturaObjectFactory.Create(result)); }