Skip to content

Instantly share code, notes, and snippets.

@DevJohnC
Created September 7, 2012 18:43
Show Gist options
  • Save DevJohnC/3668496 to your computer and use it in GitHub Desktop.
Save DevJohnC/3668496 to your computer and use it in GitHub Desktop.
public class Artist : BaseRequestDTO
{
/// <summary>
/// Limit results to the specified region.
/// </summary>
public int RegionId { get; set; }
/// <summary>
/// Only fetch featured artists.
/// </summary>
public bool Featured { get; set; }
/// <summary>
/// Only fetch popular artists.
/// </summary>
public bool Popular { get; set; }
/// <summary>
/// Only fetch splash artists.
/// </summary>
public bool Splash { get; set; }
/// <summary>
/// Only fetch artists with upcoming events.
/// </summary>
public bool HasUpcomingEvents { get; set; }
/// <summary>
/// Only gets artists followed by the specified user id.
/// </summary>
public int UserId { get; set; }
/// <summary>
/// Only get artists with the given ID.
/// </summary>
public int ArtistId { get; set; }
/// <summary>
/// Pagination: page parameter.
/// </summary>
public int Page { get; set; }
/// <summary>
/// Pagination: results per page parameter.
/// </summary>
public int ResultsPerPage { get; set; }
/// <summary>
/// Search query.
/// </summary>
public string Search { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment