public KalturaPartner Update(KalturaPartner partner, bool allowEmpty) { KalturaParams kparams = new KalturaParams(); if (partner != null) { kparams.Add("partner", partner.ToParams()); } kparams.AddBoolIfNotNull("allowEmpty", allowEmpty); _Client.QueueServiceCall("partner", "update", kparams); if (this._Client.IsMultiRequest) { return(null); } XmlElement result = _Client.DoQueue(); return((KalturaPartner)KalturaObjectFactory.Create(result)); }
public KalturaPartner Register(KalturaPartner partner, string cmsPassword) { KalturaParams kparams = new KalturaParams(); if (partner != null) { kparams.Add("partner", partner.ToParams()); } kparams.AddStringIfNotNull("cmsPassword", cmsPassword); _Client.QueueServiceCall("partner", "register", kparams); if (this._Client.IsMultiRequest) { return(null); } XmlElement result = _Client.DoQueue(); return((KalturaPartner)KalturaObjectFactory.Create(result)); }