Skip to content

Instantly share code, notes, and snippets.

@EduardoReisDev
Last active November 18, 2020 23:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EduardoReisDev/d7441f127dc030694d0438b11ee71a07 to your computer and use it in GitHub Desktop.
Save EduardoReisDev/d7441f127dc030694d0438b11ee71a07 to your computer and use it in GitHub Desktop.
using System;
using Newtonsoft.Json;
namespace Pokedex.Model
{
//model BuscaPokemon
public class Pokemon
{
[JsonProperty("id")]
public long Id { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("height")]
public long Height { get; set; }
[JsonProperty("base_experience")]
public long Base_experience { get; set; }
[JsonProperty("weight")]
public long Weight { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment