public DescriptionDataContract httpGetDescription() { DescriptionDataContract description = new DescriptionDataContract(); string jsonStr = base.HttpGet(DescriptionResourceUri); description = JsonConvert.DeserializeObject <DescriptionDataContract>(jsonStr); Debug.WriteLine("Description Id: " + description.Id + ", Description Name: " + description.Name); return(description); }
public void SetDescriptionDataContract(DescriptionDataContract descriptionData) { this.Created = descriptionData.Created; this.Description = descriptionData.Description; this.GameResourceUriList = descriptionData.GameResourceUriList; this.Id = descriptionData.Id; this.Modified = descriptionData.Modified; this.Name = descriptionData.Name; this.PokemonResourceUri = descriptionData.PokemonResourceUri; this.DescriptionResourceUri = descriptionData.DescriptionResourceUri; }