package me.pagar.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

public class CardHashKey extends PagarMeModel<Integer>{

    @Expose(serialize = false)
    private String ip;

    @Expose(serialize = false)
    @SerializedName("public_key")
    private String publicKey;

    public void setIp(String ip) {
        this.ip = ip;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    @Override
    public void setId(Integer id) {
        throw new UnsupportedOperationException("Not allowed.");
    }

    @Override
    public void setClassName(String className) {
        throw new UnsupportedOperationException("Not allowed.");
    }
}

@@ -336,144 +336,110 @@
 lic 
-void setIp(String ip) %7B%0A        this.ip = ip;%0A    %7D%0A%0A    public void setPublicKey(String publicKey) %7B%0A        this.publicKey = publicKey
+String getPublicKey() %7B%0A        return publicKey;%0A    %7D%0A%0A    public String getIp() %7B%0A        return ip
 ;%0A  

add getPublicKey and getIp methods