示例#1
0
        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));
        }
示例#2
0
        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));
        }
示例#3
0
 public KalturaPartner Update(KalturaPartner partner)
 {
     return(this.Update(partner, false));
 }
示例#4
0
 public KalturaPartner Register(KalturaPartner partner)
 {
     return(this.Register(partner, ""));
 }