package com.visenze.visearch;

import java.util.List;
import java.util.Map;

/**
 * Created by dejun on 5/6/17.
 */
public class ObjectSearchResult {
    private String type;
    private Float score;
    private List<Integer> box;
    private Map<String, List<String>> attributes;
    private Map<String, List<String>> attributesList;
    private int total;
    private List<ImageResult> result;


    public ObjectSearchResult() {

    }

    public String getType() {
        return type;
    }

    public Float getScore() {
        return score;
    }

    public List<Integer> getBox() {
        return box;
    }

    public Map<String, List<String>> getAttributes() {
        return attributes;
    }

    public Map<String, List<String>> getAttributesList() {
        return attributesList;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ImageResult> getResult() {
        return result;
    }

    public void setResult(List<ImageResult> result) {
        this.result = result;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    public void setBox(List<Integer> box) {
        this.box = box;
    }

    public void setAttributes(Map<String, List<String>> attributes) {
        this.attributes = attributes;
    }

    public void setAttributesList(Map<String, List<String>> attributesList) {
        this.attributesList = attributesList;
    }
}

@@ -389,16 +389,47 @@
 result;%0A
+    private List%3CFacet%3E facets;
 %0A%0A    pu
@@ -1590,11 +1590,163 @@
 t;%0A    %7D
+%0A%0A    public List%3CFacet%3E getFacets() %7B%0A        return facets;%0A    %7D%0A%0A    public void setFacets(List%3CFacet%3E facets) %7B%0A        this.facets = facets;%0A    %7D
 %0A%7D%0A

Add facet result in object result.