added message as optional field

This commit is contained in:
Francesco Mangiacrapa 2024-04-15 11:26:16 +02:00
parent 78cd17117c
commit cab71df0d2
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
package org.gcube.application.geoportal.common.model.rest;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import org.bson.Document;
@ -12,9 +13,10 @@ import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StepExecutionRequest implements StepExecutionInterface {
public class StepExecutionRequest {
private String stepID;
@XmlAttribute(required = false)
private String message;
private Document options;
}