com.visenze.visearch.Image Maven / Gradle / Ivy
package com.visenze.visearch;
import java.util.HashMap;
import java.util.Map;
public class Image {
private final String imName;
private final String imUrl;
private final Map metadata;
public Image(String imName, String imUrl) {
this.imName = imName;
this.imUrl = imUrl;
this.metadata = new HashMap();
}
public Image(String imName, String imUrl, Map metadata) {
this.imName = imName;
this.imUrl = imUrl;
this.metadata = metadata;
}
public String getImName() {
return imName;
}
public String getImUrl() {
return imUrl;
}
public Map getMetadata() {
return metadata;
}
}