context: // ===================================================================================================
  //                           _  __     _ _
  //                          | |/ /__ _| | |_ _  _ _ _ __ _
  //                          | ' </ _` | |  _| || | '_/ _` |
  //                          |_|\_\__,_|_|\__|\_,_|_| \__,_|
  //
  // This file is part of the Kaltura Collaborative Media Suite which allows users
  // to do with audio, video, and animation what Wiki platfroms allow them to do with
  // text.
  //
  // Copyright (C) 2006-2011  Kaltura Inc.
  //
  // This program is free software: you can redistribute it and/or modify
  // it under the terms of the GNU Affero General Public License as
  // published by the Free Software Foundation, either version 3 of the
  // License, or (at your option) any later version.
  //
  // This program is distributed in the hope that it will be useful,
  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  // GNU Affero General Public License for more details.
  //
  // You should have received a copy of the GNU Affero General Public License
  // along with this program.  If not, see <http://www.gnu.org/licenses/>.
  //
  // @ignore
  // ===================================================================================================
  using System;
  using System.Xml;
  using System.Collections.Generic;
  
  namespace Kaltura
  {
  	public class KalturaAssetBaseFilter : KalturaFilter
  	{
  		#region Private Fields
  		private string _IdEqual = null;
  		private string _IdIn = null;
  		private string _EntryIdEqual = null;
  		private string _EntryIdIn = null;
  		private int _PartnerIdEqual = Int32.MinValue;
  		private string _PartnerIdIn = null;
  		private int _SizeGreaterThanOrEqual = Int32.MinValue;
  		private int _SizeLessThanOrEqual = Int32.MinValue;
  		private string _TagsLike = null;
  		private string _TagsMultiLikeOr = null;
  		private string _TagsMultiLikeAnd = null;
  		private int _CreatedAtGreaterThanOrEqual = Int32.MinValue;
  		private int _CreatedAtLessThanOrEqual = Int32.MinValue;
  		private int _UpdatedAtGreaterThanOrEqual = Int32.MinValue;
  		private int _UpdatedAtLessThanOrEqual = Int32.MinValue;
  		private int _DeletedAtGreaterThanOrEqual = Int32.MinValue;
  		private int _DeletedAtLessThanOrEqual = Int32.MinValue;
  		#endregion
  
  		#region Properties
  		public string IdEqual
  		{
  			get { return _IdEqual; }
  			set 
  			{ 
  				_IdEqual = value;
  				OnPropertyChanged("IdEqual");
  			}
  		}
  		public string IdIn
  		{
  			get { return _IdIn; }
  			set 
  			{ 
  				_IdIn = value;
  				OnPropertyChanged("IdIn");
  			}
  		}
  		public string EntryIdEqual
  		{
  			get { return _EntryIdEqual; }
  			set 
  			{ 
  				_EntryIdEqual = value;
  				OnPropertyChanged("EntryIdEqual");
  			}
  		}
  		public string EntryIdIn
  		{
  			get { return _EntryIdIn; }
  			set 
  			{ 
  				_EntryIdIn = value;
  				OnPropertyChanged("EntryIdIn");
  			}
  		}
  		public int PartnerIdEqual
  		{
  			get { return _PartnerIdEqual; }
  			set 
  			{ 
  				_PartnerIdEqual = value;
  				OnPropertyChanged("PartnerIdEqual");
  			}
  		}
  		public string PartnerIdIn
  		{
  			get { return _PartnerIdIn; }
  			set 
  			{ 
  				_PartnerIdIn = value;
  				OnPropertyChanged("PartnerIdIn");
  			}
  		}
  		public int SizeGreaterThanOrEqual
  		{
  			get { return _SizeGreaterThanOrEqual; }
  			set 
  			{ 
  				_SizeGreaterThanOrEqual = value;
  				OnPropertyChanged("SizeGreaterThanOrEqual");
  			}
  		}
  		public int SizeLessThanOrEqual
  		{
  			get { return _SizeLessThanOrEqual; }
  			set 
  			{ 
  				_SizeLessThanOrEqual = value;
  				OnPropertyChanged("SizeLessThanOrEqual");
  			}
  		}
  		public string TagsLike
  		{
  			get { return _TagsLike; }
  			set 
  			{ 
  				_TagsLike = value;
  				OnPropertyChanged("TagsLike");
  			}
  		}
  		public string TagsMultiLikeOr
  		{
  			get { return _TagsMultiLikeOr; }
  			set 
  			{ 
  				_TagsMultiLikeOr = value;
  				OnPropertyChanged("TagsMultiLikeOr");
  			}
  		}
  		public string TagsMultiLikeAnd
  		{
  			get { return _TagsMultiLikeAnd; }
  			set 
  			{ 
  				_TagsMultiLikeAnd = value;
  				OnPropertyChanged("TagsMultiLikeAnd");
  			}
  		}
  		public int CreatedAtGreaterThanOrEqual
  		{
  			get { return _CreatedAtGreaterThanOrEqual; }
  			set 
  			{ 
  				_CreatedAtGreaterThanOrEqual = value;
  				OnPropertyChanged("CreatedAtGreaterThanOrEqual");
  			}
  		}
  		public int CreatedAtLessThanOrEqual
  		{
  			get { return _CreatedAtLessThanOrEqual; }
  			set 
  			{ 
  				_CreatedAtLessThanOrEqual = value;
  				OnPropertyChanged("CreatedAtLessThanOrEqual");
  			}
  		}
  		public int UpdatedAtGreaterThanOrEqual
  		{
  			get { return _UpdatedAtGreaterThanOrEqual; }
  			set 
  			{ 
  				_UpdatedAtGreaterThanOrEqual = value;
  				OnPropertyChanged("UpdatedAtGreaterThanOrEqual");
  			}
  		}
  		public int UpdatedAtLessThanOrEqual
  		{
  			get { return _UpdatedAtLessThanOrEqual; }
  			set 
  			{ 
  				_UpdatedAtLessThanOrEqual = value;
  				OnPropertyChanged("UpdatedAtLessThanOrEqual");
  			}
  		}
  		public int DeletedAtGreaterThanOrEqual
  		{
  			get { return _DeletedAtGreaterThanOrEqual; }
  			set 
  			{ 
  				_DeletedAtGreaterThanOrEqual = value;
  				OnPropertyChanged("DeletedAtGreaterThanOrEqual");
  			}
  		}
  		public int DeletedAtLessThanOrEqual
  		{
  			get { return _DeletedAtLessThanOrEqual; }
  			set 
  			{ 
  				_DeletedAtLessThanOrEqual = value;
  				OnPropertyChanged("DeletedAtLessThanOrEqual");
  			}
  		}
  		#endregion
  
  		#region CTor
  		public KalturaAssetBaseFilter()
  		{
  		}
  
  		public KalturaAssetBaseFilter(XmlElement node) : base(node)
  		{
  			foreach (XmlElement propertyNode in node.ChildNodes)
  			{
  				string txt = propertyNode.InnerText;
  				switch (propertyNode.Name)
  				{
  					case "idEqual":
  						this.IdEqual = txt;
  						continue;
  					case "idIn":
  						this.IdIn = txt;
  						continue;
  					case "entryIdEqual":
  						this.EntryIdEqual = txt;
  						continue;
  					case "entryIdIn":
  						this.EntryIdIn = txt;
  						continue;
  					case "partnerIdEqual":
  						this.PartnerIdEqual = ParseInt(txt);
  						continue;
  					case "partnerIdIn":
  						this.PartnerIdIn = txt;
  						continue;
  					case "sizeGreaterThanOrEqual":
  						this.SizeGreaterThanOrEqual = ParseInt(txt);
  						continue;
  					case "sizeLessThanOrEqual":
  						this.SizeLessThanOrEqual = ParseInt(txt);
  						continue;
  					case "tagsLike":
  						this.TagsLike = txt;
  						continue;
  					case "tagsMultiLikeOr":
  						this.TagsMultiLikeOr = txt;
  						continue;
  					case "tagsMultiLikeAnd":
  						this.TagsMultiLikeAnd = txt;
  						continue;
  					case "createdAtGreaterThanOrEqual":
  						this.CreatedAtGreaterThanOrEqual = ParseInt(txt);
  						continue;
  					case "createdAtLessThanOrEqual":
  						this.CreatedAtLessThanOrEqual = ParseInt(txt);
  						continue;
  					case "updatedAtGreaterThanOrEqual":
  						this.UpdatedAtGreaterThanOrEqual = ParseInt(txt);
  						continue;
  					case "updatedAtLessThanOrEqual":
  						this.UpdatedAtLessThanOrEqual = ParseInt(txt);
  						continue;
  					case "deletedAtGreaterThanOrEqual":
  						this.DeletedAtGreaterThanOrEqual = ParseInt(txt);
  						continue;
  					case "deletedAtLessThanOrEqual":
  						this.DeletedAtLessThanOrEqual = ParseInt(txt);
  						continue;
  				}
  			}
  		}
  		#endregion
  
  		#region Methods
  		public override KalturaParams ToParams()
  		{
  
gt: 			KalturaParams kparams = base.ToParams();