public KalturaThumbParams Add(KalturaThumbParams thumbParams) { KalturaParams kparams = new KalturaParams(); if (thumbParams != null) { kparams.Add("thumbParams", thumbParams.ToParams()); } _Client.QueueServiceCall("thumbparams", "add", kparams); if (this._Client.IsMultiRequest) { return(null); } XmlElement result = _Client.DoQueue(); return((KalturaThumbParams)KalturaObjectFactory.Create(result)); }
public KalturaThumbAsset Generate(string entryId, KalturaThumbParams thumbParams, string sourceAssetId) { KalturaParams kparams = new KalturaParams(); kparams.AddStringIfNotNull("entryId", entryId); if (thumbParams != null) { kparams.Add("thumbParams", thumbParams.ToParams()); } kparams.AddStringIfNotNull("sourceAssetId", sourceAssetId); _Client.QueueServiceCall("thumbasset", "generate", kparams); if (this._Client.IsMultiRequest) { return(null); } XmlElement result = _Client.DoQueue(); return((KalturaThumbAsset)KalturaObjectFactory.Create(result)); }