package cn.jmessage.api.user;

import com.google.gson.annotations.Expose;

import cn.jiguang.common.resp.BaseResult;

public class UserInfoResult extends BaseResult {

    @Expose String username;
    @Expose String nickname;
    @Expose String avatar;
    @Expose String birthday;
    @Expose Integer gender;
    @Expose String signature;
    @Expose String region;
    @Expose String address;
    @Expose String ctime;
    @Expose String mtime;
    @Expose String appkey;

    public String getUsername() {
        return username;
    }

    public String getNickname() {
        return nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public String getBirthday() {
        return birthday;
    }

    public Integer getGender() {
        return gender;
    }

    public String getSignature() {
        return signature;
    }

    public String getRegion() {
        return region;
    }

    public String getAddress() {
        return address;
    }

    public String getCtime() {
        return ctime;
    }

    public String getMtime() {
        return mtime;
    }

    public String getAppkey() {
        return appkey;
    }
}

@@ -24,16 +24,51 @@
 .user;%0A%0A
+import com.google.gson.JsonObject;%0A
 import c
@@ -146,16 +146,39 @@
 esult;%0A%0A
+import java.util.Map;%0A%0A
 public c
@@ -524,16 +524,60 @@
  appkey;
+%0A    @Expose Map%3CString, JsonObject%3E extras;
 %0A%0A    pu
@@ -1267,11 +1267,78 @@
 y;%0A    %7D
+%0A%0A    public Map%3CString, JsonObject%3E getExtras() %7B return extras; %7D
 %0A%7D%0A

add get extra method