Skip to content

Commit

Permalink
Merge pull request #2 from konifar/fix_gson_name
Browse files Browse the repository at this point in the history
Fixed gson field name
  • Loading branch information
hitherejoe committed May 13, 2016
2 parents 0bef866 + d672a18 commit 27c04db
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

public class User implements Parcelable {

public int id;
public String name;
public String username;
@SerializedName("html_url")
public String htmlUrl;
@SerializedName("avatar_url")
public String avatarUrl;

@Override
Expand Down

0 comments on commit 27c04db

Please sign in to comment.