AddSectionRequest
This commit is contained in:
parent
22ea7a9b23
commit
671b589376
|
@ -0,0 +1,21 @@
|
||||||
|
package org.gcube.application.geoportal.common.model.legacy;
|
||||||
|
|
||||||
|
import java.io.InputStream;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.NonNull;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public class InputStreamDescriptor{
|
||||||
|
|
||||||
|
@NonNull
|
||||||
|
private InputStream stream;
|
||||||
|
@NonNull
|
||||||
|
private String filename;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
package org.gcube.application.geoportal.common.rest;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import javax.xml.bind.annotation.XmlRootElement;
|
||||||
|
|
||||||
|
import org.gcube.application.geoportal.common.model.legacy.AssociatedContent;
|
||||||
|
import org.gcube.application.geoportal.common.model.legacy.InputStreamDescriptor;
|
||||||
|
|
||||||
|
@XmlRootElement
|
||||||
|
public class AddSectionToConcessioneRequest {
|
||||||
|
|
||||||
|
public String concessioneID;
|
||||||
|
public AssociatedContent toRegister;
|
||||||
|
public List<InputStreamDescriptor> streams;
|
||||||
|
|
||||||
|
}
|
Reference in New Issue