diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/ManagementJobMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/ManagementJobMVO.java index 7a62bc1788dfcd9a17ffc8893e1bcf9ff4e922b5..68ff0fa3386e44c2a7ac8c94218ff1d18a4d6da5 100644 --- a/src/main/java/org/etsi/osl/tmf/pm628/model/ManagementJobMVO.java +++ b/src/main/java/org/etsi/osl/tmf/pm628/model/ManagementJobMVO.java @@ -1,13 +1,12 @@ package org.etsi.osl.tmf.pm628.model; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.*; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.Valid; import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.Size; +import lombok.Getter; +import lombok.Setter; import javax.annotation.Generated; import java.util.ArrayList; @@ -59,6 +58,13 @@ public class ManagementJobMVO { @Valid private List scheduleDefinition = new ArrayList<>(); + // Property bellow was added by UoP and is not officialy part of TMF628 Model + // @JsonProperty("executionState") + @Setter + @Getter + @JsonIgnore + private ExecutionStateType executionState; + public ManagementJobMVO() { super(); } diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/ResourceRefOrValue.java b/src/main/java/org/etsi/osl/tmf/pm628/model/ResourceRefOrValue.java index 0b4a31ef8efc7b98d8811266207579d22fcfaffd..20a1c9cbfa30818c879617427139e942160e11fc 100644 --- a/src/main/java/org/etsi/osl/tmf/pm628/model/ResourceRefOrValue.java +++ b/src/main/java/org/etsi/osl/tmf/pm628/model/ResourceRefOrValue.java @@ -22,4 +22,5 @@ import javax.annotation.Generated; @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT") public interface ResourceRefOrValue { public String getType(); + public void setType(String type); } diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/ResourceRefOrValueMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/ResourceRefOrValueMVO.java index faa8be676dcd2e9e63663e94de0ab1d62d2a5b0c..2eeee00af27e7d0a6e0f5e4fde030482c4120a41 100644 --- a/src/main/java/org/etsi/osl/tmf/pm628/model/ResourceRefOrValueMVO.java +++ b/src/main/java/org/etsi/osl/tmf/pm628/model/ResourceRefOrValueMVO.java @@ -24,4 +24,5 @@ import javax.annotation.Generated; @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT") public interface ResourceRefOrValueMVO { public String getType(); + public void setType(String type); }