export_to_pdf #8
|
@ -1,5 +1,6 @@
|
||||||
package org.gcube.datatransfer.resolver.geoportal;
|
package org.gcube.datatransfer.resolver.geoportal;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
@ -15,11 +16,13 @@ import lombok.extern.slf4j.Slf4j;
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Data
|
@Data
|
||||||
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
public class GeoportalRequest {
|
public class GeoportalRequest {
|
||||||
|
|
||||||
public static final String P_GCUBE_SCOPE = "gcube_scope";
|
public static final String P_GCUBE_SCOPE = "gcube_scope";
|
||||||
public static final String P_ITEM_TYPE = "item_type";
|
public static final String P_ITEM_TYPE = "item_type";
|
||||||
public static final String P_ITEM_ID = "item_id";
|
public static final String P_ITEM_ID = "item_id";
|
||||||
|
public static final String P_RESOLVES_AS = "res";
|
||||||
public static final String P_QUERY_STRING = "query_string";
|
public static final String P_QUERY_STRING = "query_string";
|
||||||
|
|
||||||
@JsonProperty(P_GCUBE_SCOPE)
|
@JsonProperty(P_GCUBE_SCOPE)
|
||||||
|
@ -34,7 +37,11 @@ public class GeoportalRequest {
|
||||||
*/
|
*/
|
||||||
@JsonProperty(P_ITEM_ID)
|
@JsonProperty(P_ITEM_ID)
|
||||||
private String itemID;
|
private String itemID;
|
||||||
|
|
||||||
@JsonProperty(P_QUERY_STRING)
|
@JsonProperty(P_QUERY_STRING)
|
||||||
private String queryString;
|
private String queryString;
|
||||||
|
|
||||||
|
@JsonProperty(P_RESOLVES_AS)
|
||||||
|
private String res;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue