Exemplo n.º 1
0
        public KalturaWidget Clone(KalturaWidget widget)
        {
            KalturaParams kparams = new KalturaParams();

            if (widget != null)
            {
                kparams.Add("widget", widget.ToParams());
            }
            _Client.QueueServiceCall("widget", "clone", kparams);
            if (this._Client.IsMultiRequest)
            {
                return(null);
            }
            XmlElement result = _Client.DoQueue();

            return((KalturaWidget)KalturaObjectFactory.Create(result));
        }
Exemplo n.º 2
0
        public KalturaWidget Update(string id, KalturaWidget widget)
        {
            KalturaParams kparams = new KalturaParams();

            kparams.AddStringIfNotNull("id", id);
            if (widget != null)
            {
                kparams.Add("widget", widget.ToParams());
            }
            _Client.QueueServiceCall("widget", "update", kparams);
            if (this._Client.IsMultiRequest)
            {
                return(null);
            }
            XmlElement result = _Client.DoQueue();

            return((KalturaWidget)KalturaObjectFactory.Create(result));
        }