package net.inpercima.runandfun.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author Marcel Jänicke
 * @since 11.02.2015
 */
public class RunkeeperProfile {

    private String name;

    @JsonProperty(value = "athlete_type")
    private String athleteType;

    private String location;

    private Date birthday;

    private boolean elite;

    private String gender;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAthleteType() {
        return athleteType;
    }

    public void setAthleteType(String athleteType) {
        this.athleteType = athleteType;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public boolean isElite() {
        return elite;
    }

    public void setElite(boolean elite) {
        this.elite = elite;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

}

@@ -37,32 +37,8 @@
 l;%0A%0A
-import java.util.Date;%0A%0A
 impo
@@ -319,20 +319,22 @@
 private 
-Date
+String
  birthda
@@ -475,16 +475,22 @@
 setName(
+final 
 String n
@@ -632,16 +632,22 @@
 eteType(
+final 
 String a
@@ -801,16 +801,22 @@
 ocation(
+final 
 String l
@@ -878,20 +878,22 @@
  public 
-Date
+String
  getBirt
@@ -965,12 +965,20 @@
 day(
-Date
+final String
  bir
@@ -1112,16 +1112,22 @@
 etElite(
+final 
 boolean 
@@ -1258,16 +1258,22 @@
 tGender(
+final 
 String g

read birthday as string instead of java.util.Date, use final for params