using System.Collections.Generic; using System.Collections.ObjectModel; using System.Net.Http.Headers; using System.Web.Http.Description; namespace WebAPiUtils_test.Areas.HelpPage.Models { /// /// The model that represents an API displayed on the help page. /// public class HelpPageApiModel { /// /// Initializes a new instance of the class. /// public HelpPageApiModel() { SampleRequests = new Dictionary(); SampleResponses = new Dictionary(); ErrorMessages = new Collection(); } /// /// Gets or sets the that describes the API. /// public ApiDescription ApiDescription { get; set; } /// /// Gets the sample requests associated with the API. /// public IDictionary SampleRequests { get; private set; } /// /// Gets the sample responses associated with the API. /// public IDictionary SampleResponses { get; private set; } /// /// Gets the error messages associated with this model. /// public Collection ErrorMessages { get; private set; } } }