using System.Collections.Generic; using System.Collections.ObjectModel; namespace Salesforce.NET { public class ErrorCollectionResponse : Collection, IApiResponse { public bool Success => false; } public class ErrorResponse { public string Message { get; set; } public string ErrorCode { get; set; } public ICollection Fields { get; set; } } }