Skip to content

Instantly share code, notes, and snippets.

@finniv
Created July 30, 2017 18:10
Show Gist options
  • Select an option

  • Save finniv/86e413f9653189cbbb5ca86d8831574b to your computer and use it in GitHub Desktop.

Select an option

Save finniv/86e413f9653189cbbb5ca86d8831574b to your computer and use it in GitHub Desktop.
{
public class Item
{
[JsonProperty("id")]
public int id { get; set; }
[JsonProperty("owner_id")]
public int owner_id { get; set; }
[JsonProperty("artist")]
public string artist { get; set; }
[JsonProperty("title")]
public string title { get; set; }
[JsonProperty("duration")]
public int duration { get; set; }
[JsonProperty("date")]
public int date { get; set; }
[JsonProperty("content_restricted")]
public int content_restricted { get; set; }
[JsonProperty("url")]
public string url { get; set; }
[JsonProperty("lyrics_id")]
public int lyrics_id { get; set; }
[JsonProperty("genre_id")]
public int genre_id { get; set; }
[JsonProperty("is_licensed")]
public bool? is_licensed { get; set; }
[JsonProperty("no_search")]
public int? no_search { get; set; }
}
public class Response
{
[JsonProperty("count")]
public int count { get; set; }
[JsonProperty("items")]
public IList<Item> items { get; set; }
}
public class ResponseShelter
{
[JsonProperty("response")]
public Response response { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment