package uk.ac.ebi.spot.goci.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * Created by emma on 22/04/2016.
 *
 * @author emma
 *         <p>
 *         Model to process response from: http://rest.ensembl.org/lookup/symbol/homo_sapiens/SFRP1?content-type=application/json
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class GeneLookupJson {

    private String object_type;

    public String getObject_type() {
        return object_type;
    }

    public void setObject_type(String object_type) {
        this.object_type = object_type;
    }
}

package uk.ac.ebi.spot.goci.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * Created by emma on 22/04/2016.
 *
 * @author emma
 *         <p>
 *         Model to process response from: http://rest.ensembl.org/lookup/symbol/homo_sapiens/SFRP1?content-type=application/json
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class GeneLookupJson {

    private String object_type;

    private String seq_region_name;

    public String getObject_type() {
        return object_type;
    }

    public void setObject_type(String object_type) {
        this.object_type = object_type;
    }

    public String getSeq_region_name() {
        return seq_region_name;
    }

    public void setSeq_region_name(String seq_region_name) {
        this.seq_region_name = seq_region_name;
    }
}

Add attribute to capture seq region name