![JAR search and dependency download from the Maven repository](/logo.png)
com.evrythng.thng.resource.model.store.FileBasedAdiInputParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of thng-resource-model Show documentation
Show all versions of thng-resource-model Show documentation
Models for REST resources representations.
/*
* (c) Copyright 2015 EVRYTHNG Ltd London / Zurich
* www.evrythng.com
*/
package com.evrythng.thng.resource.model.store;
import java.util.Map;
/**
* Input for ADI BatchPopulating task. Use a file to provide the shortIds to be generated.
*/
public class FileBasedAdiInputParameters extends BaseAdiInputParameters {
public static final String FIELD_HEADERS = "headers";
private String location;
public static final String FIELD_LOCATION = "location";
private Format format;
public static final String FIELD_FORMAT = "format";
// Authorization
private Map headers;
public Format getFormat() {
return format;
}
public void setFormat(final Format format) {
this.format = format;
}
public String getLocation() {
return location;
}
public void setLocation(final String location) {
this.location = location;
}
public Map getHeaders() {
return headers;
}
public void setHeaders(final Map headers) {
this.headers = headers;
}
public static enum Format {
CSV, ZIP
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy