public void SetEggGroupDataContract(EggGroupDataContract eggGroupData)
 {
     this.Created  = eggGroupData.Created;
     this.Id       = eggGroupData.Id;
     this.Modified = eggGroupData.Modified;
     this.Name     = eggGroupData.Name;
     this.PokemonResourceUriList = eggGroupData.PokemonResourceUriList;
     this.EggGroupResourceUri    = eggGroupData.EggGroupResourceUri;
 }
        public EggGroupDataContract httpGetEggGroup()
        {
            EggGroupDataContract eggGroup = new EggGroupDataContract();
            string jsonStr = base.HttpGet(EggGroupResourceUri);

            eggGroup = JsonConvert.DeserializeObject <EggGroupDataContract>(jsonStr);

            Debug.WriteLine("Egg Group Id: " + eggGroup.Id + ", Egg Group Name: " + eggGroup.Name);

            return(eggGroup);
        }