package com.vk.api.sdk.objects;


import com.google.gson.annotations.SerializedName;

import java.util.Objects;

public class UserAuthResponse {

    @SerializedName("access_token")
    private String accessToken;

    @SerializedName("user_id")
    private Integer userId;

    @SerializedName("expires_in")
    private Integer expiresIn;

    @SerializedName("error")
    private String error;

    public String getAccessToken() {
        return accessToken;
    }

    public Integer getUserId() {
        return userId;
    }

    public Integer getExpiresIn() {
        return expiresIn;
    }

    public String getError() {
        return error;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        UserAuthResponse that = (UserAuthResponse) o;
        return Objects.equals(accessToken, that.accessToken) &&
                Objects.equals(userId, that.userId) &&
                Objects.equals(expiresIn, that.expiresIn) &&
                Objects.equals(error, that.error);
    }

    @Override
    public int hashCode() {
        return Objects.hash(accessToken, userId, expiresIn, error);
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("UserAuthResponse{");
        sb.append("accessToken='").append(accessToken).append('\'');
        sb.append(", userId=").append(userId);
        sb.append(", expiresIn=").append(expiresIn);
        sb.append(", error='").append(error).append('\'');
        sb.append('}');
        return sb.toString();
    }
}

@@ -332,16 +332,76 @@
 piresIn;
+%0A    %0A    @SerializedName(%22email%22)%0A    private String email;
 %0A%0A    @S
@@ -644,32 +644,96 @@
 expiresIn;%0A    %7D
+%0A    %0A    public String getEmail() %7B%0A        return email;%0A    %7D
 %0A%0A    public Str
@@ -1163,24 +1163,77 @@
 piresIn) &&%0A
+                Objects.equals(email, that.email) &&%0A
             
@@ -1379,16 +1379,23 @@
 piresIn,
+ email,
  error);
@@ -1636,16 +1636,16 @@
 serId);%0A
-
         
@@ -1689,16 +1689,61 @@
 resIn);%0A
+        sb.append(%22, email=%22).append(email);%0A
         

Update UserAuthResponse.java POJO class