using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Assets.Sources.Core.Infrastructure { [System.Serializable] public class Response { public List Items; public T Item { get { if (Items != null && Items.Count == 1) { return Items[0]; } return default(T); } } } }