Merge "Added enrichment-coordinator-service module in nonrtric"
[nonrtric.git] / enrichment-coordinator-service / src / main / java / org / oransc / enrichment / controllers / consumer / ConsumerEiJobInfo.java
index 08d3cae..8255c43 100644 (file)
@@ -32,14 +32,14 @@ import org.immutables.gson.Gson;
 @ApiModel(value = "ei_job_info", description = "Information for a Enrichment Information Job")
 public class ConsumerEiJobInfo {
 
-    @ApiModelProperty(value = "Identity of the owner of the job")
-    @SerializedName("owner")
-    @JsonProperty("owner")
+    @ApiModelProperty(value = "Identity of the owner of the job", required = true)
+    @SerializedName("job_owner")
+    @JsonProperty(value = "job_owner", required = true)
     public String owner;
 
-    @ApiModelProperty(value = "EI Type specific job data")
+    @ApiModelProperty(value = "EI Type specific job data", required = true)
     @SerializedName("job_data")
-    @JsonProperty("job_data")
+    @JsonProperty(value = "job_data", required = true)
     public Object jobData;
 
     public ConsumerEiJobInfo() {