package com.stormpath.sdk.models;

import com.squareup.moshi.Json;

import java.io.Serializable;
import java.util.Map;

public class UserProfile implements Serializable {

    @Json(name = "email")
    private String email;

    @Json(name = "givenName")
    private String givenName;

    @Json(name = "middleName")
    private String middleName;

    @Json(name = "surname")
    private String surname;

    @Json(name = "fullName")
    private String fullName;

    @Json(name = "status")
    private String status;

    @Json(name = "username")
    private String username;

    @Json(name = "customData")
    private Map<String, String> customData;

    public String getEmail() {
        return email;
    }

    public String getGivenName() {
        return givenName;
    }

    public String getMiddleName() {
        return middleName;
    }

    public String getSurname() {
        return surname;
    }

    public String getFullName() {
        return fullName;
    }

    public String getStatus() {
        return status;
    }

    public String getUsername() {
        return username;
    }

    public Map<String, String> getCustomData() {
        return customData;
    }
}

@@ -627,22 +627,22 @@
 String, 
-String
+Object
 %3E custom
@@ -1127,22 +1127,22 @@
 String, 
-String
+Object
 %3E getCus

Change custom data type to Map<String, Object>