New EI Consumer API, aligned to ORAN WG2
[nonrtric.git] / enrichment-coordinator-service / src / main / java / org / oransc / enrichment / controllers / consumer / ConsumerEiTypeInfo.java
index 05d2326..b5d664b 100644 (file)
@@ -1,9 +1,9 @@
 /*-
  * ========================LICENSE_START=================================
- * ONAP : ccsdk oran
- * ======================================================================
- * Copyright (C) 2020 Nordix Foundation. All rights reserved.
- * ======================================================================
+ * O-RAN-SC
+ * %%
+ * Copyright (C) 2020 Nordix Foundation
+ * %%
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
 
 package org.oransc.enrichment.controllers.consumer;
 
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.google.gson.annotations.SerializedName;
-
 import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
 
 import org.immutables.gson.Gson;
 
 @Gson.TypeAdapters
-@ApiModel(value = "ei_type_info", description = "Information for an EI type")
+@ApiModel(value = "EiTypeObject", description = "Information for an EI type")
 public class ConsumerEiTypeInfo {
 
-    @ApiModelProperty(value = "Json schema for the job data")
-    @SerializedName("job_data_schema")
-    @JsonProperty("job_data_schema")
-    public final Object jobDataSchema;
-
-    ConsumerEiTypeInfo(Object jobDataSchema) {
-        this.jobDataSchema = jobDataSchema;
-    }
 }