diff --git a/.gitignore b/.gitignore
index 59419d57edec3ba08708209cd4b803363221ccfd..59e9a26f24c870cfd01a53a8805bb3e0ba607bbe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/.project
/.classpath
/.settings
+*.iml
diff --git a/pom.xml b/pom.xml
index 73e772fcae8b7f2775e2550e18aef703078d16c0..0ca636c8e85b8635233762bd71f256cad3257bcd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,6 +24,10 @@
gitlab-maven
https://labs.etsi.org/rep/api/v4/groups/260/-/packages/maven
+
+ jitpack.io
+ https://jitpack.io
+
@@ -66,6 +70,11 @@
com.fasterxml.jackson.datatype
jackson-datatype-hibernate5-jakarta
+
+ org.openapitools
+ jackson-databind-nullable
+ 0.2.6
+
@@ -85,6 +94,23 @@
mapstruct-processor
${mapstruct.version}
+
+ javax.annotation
+ javax.annotation-api
+ 1.3.2
+ compile
+
+
+ jakarta.validation
+ jakarta.validation-api
+ 3.0.2
+
+
+ org.jetbrains
+ annotations
+ 13.0
+ compile
+
diff --git a/src/main/java/org/etsi/osl/tmf/common/model/Addressable.java b/src/main/java/org/etsi/osl/tmf/common/model/Addressable.java
new file mode 100644
index 0000000000000000000000000000000000000000..6b3ab2da79f20625e45a0808532ae6ddbd1bcd2f
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/common/model/Addressable.java
@@ -0,0 +1,104 @@
+package org.etsi.osl.tmf.common.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+
+import javax.annotation.Generated;
+import java.net.URI;
+import java.util.Objects;
+
+/**
+ * Base schema for adressable entities
+ */
+
+@Schema(name = "Addressable", description = "Base schema for adressable entities")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-04-25T11:17:58.147516734Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class Addressable {
+
+ private String id;
+
+ private URI href;
+
+ public Addressable id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ *
+ * @return id
+ */
+
+ @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Addressable href(URI href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ *
+ * @return href
+ */
+ @Valid
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public URI getHref() {
+ return href;
+ }
+
+ public void setHref(URI href) {
+ this.href = href;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Addressable addressable = (Addressable) o;
+ return Objects.equals(this.id, addressable.id) &&
+ Objects.equals(this.href, addressable.href);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(id, href);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Addressable {\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/common/model/Entity.java b/src/main/java/org/etsi/osl/tmf/common/model/Entity.java
new file mode 100644
index 0000000000000000000000000000000000000000..ad2a081b1427232b3d7ec8cc70affabbd63d6e4a
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/common/model/Entity.java
@@ -0,0 +1,179 @@
+package org.etsi.osl.tmf.common.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+
+import javax.annotation.Generated;
+import java.net.URI;
+import java.util.Objects;
+
+/**
+ * Base entity schema for use in TMForum Open-APIs
+ */
+
+@Schema(name = "Entity", description = "Base entity schema for use in TMForum Open-APIs")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-04-25T11:17:58.147516734Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class Entity {
+
+ private String id;
+
+ private URI href;
+
+ private String atBaseType;
+
+ private URI atSchemaLocation;
+
+ private String atType;
+
+ public Entity id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ *
+ * @return id
+ */
+
+ @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Entity href(URI href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ *
+ * @return href
+ */
+ @Valid
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public URI getHref() {
+ return href;
+ }
+
+ public void setHref(URI href) {
+ this.href = href;
+ }
+
+ public Entity atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ *
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public Entity atSchemaLocation(URI atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ *
+ * @return atSchemaLocation
+ */
+ @Valid
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public URI getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(URI atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ public Entity atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ *
+ * @return atType
+ */
+
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Entity entity = (Entity) o;
+ return Objects.equals(this.id, entity.id) &&
+ Objects.equals(this.href, entity.href) &&
+ Objects.equals(this.atBaseType, entity.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, entity.atSchemaLocation) &&
+ Objects.equals(this.atType, entity.atType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(id, href, atBaseType, atSchemaLocation, atType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Entity {\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/common/model/EntityRef.java b/src/main/java/org/etsi/osl/tmf/common/model/EntityRef.java
new file mode 100644
index 0000000000000000000000000000000000000000..b3d5ffe6a12308410d11263311bc0730e3d45ba9
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/common/model/EntityRef.java
@@ -0,0 +1,241 @@
+package org.etsi.osl.tmf.common.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.net.URI;
+import java.util.Objects;
+
+/**
+ * Entity reference schema to be use for all entityRef class.
+ */
+
+@Schema(name = "EntityRef", description = "Entity reference schema to be use for all entityRef class.")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-04-25T11:17:58.147516734Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class EntityRef {
+
+ private String id;
+
+ private URI href;
+
+ private String name;
+
+ private String atBaseType;
+
+ private URI atSchemaLocation;
+
+ private String atType;
+
+ private String atReferredType;
+
+ public EntityRef() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public EntityRef(String id) {
+ this.id = id;
+ }
+
+ public EntityRef id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ *
+ * @return id
+ */
+ @NotNull
+ @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public EntityRef href(URI href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ *
+ * @return href
+ */
+ @Valid
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public URI getHref() {
+ return href;
+ }
+
+ public void setHref(URI href) {
+ this.href = href;
+ }
+
+ public EntityRef name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name of the related entity.
+ *
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name of the related entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public EntityRef atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ *
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public EntityRef atSchemaLocation(URI atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ *
+ * @return atSchemaLocation
+ */
+ @Valid
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public URI getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(URI atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ public EntityRef atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ *
+ * @return atType
+ */
+
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ public EntityRef atReferredType(String atReferredType) {
+ this.atReferredType = atReferredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ *
+ * @return atReferredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getAtReferredType() {
+ return atReferredType;
+ }
+
+ public void setAtReferredType(String atReferredType) {
+ this.atReferredType = atReferredType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ EntityRef entityRef = (EntityRef) o;
+ return Objects.equals(this.id, entityRef.id) &&
+ Objects.equals(this.href, entityRef.href) &&
+ Objects.equals(this.name, entityRef.name) &&
+ Objects.equals(this.atBaseType, entityRef.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, entityRef.atSchemaLocation) &&
+ Objects.equals(this.atType, entityRef.atType) &&
+ Objects.equals(this.atReferredType, entityRef.atReferredType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(id, href, name, atBaseType, atSchemaLocation, atType, atReferredType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class EntityRef {\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append(" atReferredType: ").append(toIndentedString(atReferredType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/common/model/Error.java b/src/main/java/org/etsi/osl/tmf/common/model/Error.java
new file mode 100644
index 0000000000000000000000000000000000000000..7c868d35875a5a26dea8b1b594b9f85da3ceabee
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/common/model/Error.java
@@ -0,0 +1,267 @@
+package org.etsi.osl.tmf.common.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.net.URI;
+import java.util.Objects;
+
+/**
+ * Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
+ */
+
+@Schema(name = "Error", description = "Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-04-25T11:17:58.147516734Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class Error {
+
+ private String code;
+
+ private String reason;
+
+ private String message;
+
+ private String status;
+
+ private URI referenceError;
+
+ private String atBaseType;
+
+ private URI atSchemaLocation;
+
+ private String atType;
+
+ public Error() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public Error(String code, String reason) {
+ this.code = code;
+ this.reason = reason;
+ }
+
+ public Error code(String code) {
+ this.code = code;
+ return this;
+ }
+
+ /**
+ * Application relevant detail, defined in the API or a common list.
+ *
+ * @return code
+ */
+ @NotNull
+ @Schema(name = "code", description = "Application relevant detail, defined in the API or a common list.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("code")
+ public String getCode() {
+ return code;
+ }
+
+ public void setCode(String code) {
+ this.code = code;
+ }
+
+ public Error reason(String reason) {
+ this.reason = reason;
+ return this;
+ }
+
+ /**
+ * Explanation of the reason for the error which can be shown to a client user.
+ *
+ * @return reason
+ */
+ @NotNull
+ @Schema(name = "reason", description = "Explanation of the reason for the error which can be shown to a client user.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("reason")
+ public String getReason() {
+ return reason;
+ }
+
+ public void setReason(String reason) {
+ this.reason = reason;
+ }
+
+ public Error message(String message) {
+ this.message = message;
+ return this;
+ }
+
+ /**
+ * More details and corrective actions related to the error which can be shown to a client user.
+ *
+ * @return message
+ */
+
+ @Schema(name = "message", description = "More details and corrective actions related to the error which can be shown to a client user.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("message")
+ public String getMessage() {
+ return message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public Error status(String status) {
+ this.status = status;
+ return this;
+ }
+
+ /**
+ * HTTP Error code extension
+ *
+ * @return status
+ */
+
+ @Schema(name = "status", description = "HTTP Error code extension", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("status")
+ public String getStatus() {
+ return status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public Error referenceError(URI referenceError) {
+ this.referenceError = referenceError;
+ return this;
+ }
+
+ /**
+ * URI of documentation describing the error.
+ *
+ * @return referenceError
+ */
+ @Valid
+ @Schema(name = "referenceError", description = "URI of documentation describing the error.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("referenceError")
+ public URI getReferenceError() {
+ return referenceError;
+ }
+
+ public void setReferenceError(URI referenceError) {
+ this.referenceError = referenceError;
+ }
+
+ public Error atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class.
+ *
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public Error atSchemaLocation(URI atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ *
+ * @return atSchemaLocation
+ */
+ @Valid
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public URI getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(URI atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ public Error atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class entity name.
+ *
+ * @return atType
+ */
+
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class entity name.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Error error = (Error) o;
+ return Objects.equals(this.code, error.code) &&
+ Objects.equals(this.reason, error.reason) &&
+ Objects.equals(this.message, error.message) &&
+ Objects.equals(this.status, error.status) &&
+ Objects.equals(this.referenceError, error.referenceError) &&
+ Objects.equals(this.atBaseType, error.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, error.atSchemaLocation) &&
+ Objects.equals(this.atType, error.atType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(code, reason, message, status, referenceError, atBaseType, atSchemaLocation, atType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Error {\n");
+ sb.append(" code: ").append(toIndentedString(code)).append("\n");
+ sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
+ sb.append(" message: ").append(toIndentedString(message)).append("\n");
+ sb.append(" status: ").append(toIndentedString(status)).append("\n");
+ sb.append(" referenceError: ").append(toIndentedString(referenceError)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/Addressable.java b/src/main/java/org/etsi/osl/tmf/pm628/model/Addressable.java
new file mode 100644
index 0000000000000000000000000000000000000000..e598d4aaa40570fe7d81e09464bfd5394661ab97
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/Addressable.java
@@ -0,0 +1,100 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * Base schema for addressable entities
+ */
+
+@Schema(name = "Addressable", description = "Base schema for addressable entities")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class Addressable {
+
+ private String href;
+
+ private String id;
+
+ public Addressable href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public Addressable id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ * @return id
+ */
+
+ @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Addressable addressable = (Addressable) o;
+ return Objects.equals(this.href, addressable.href) &&
+ Objects.equals(this.id, addressable.id);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(href, id);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Addressable {\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/AddressableMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/AddressableMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..a4608fb12ac519993e45620e69bc7de33edd04ec
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/AddressableMVO.java
@@ -0,0 +1,78 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import io.swagger.v3.oas.annotations.media.Schema;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * Base schema for addressable entities
+ */
+
+@Schema(name = "Addressable_MVO", description = "Base schema for addressable entities")
+@JsonTypeName("Addressable_MVO")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class AddressableMVO {
+
+ private String id;
+
+ public AddressableMVO id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ * @return id
+ */
+
+ @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AddressableMVO addressableMVO = (AddressableMVO) o;
+ return Objects.equals(this.id, addressableMVO.id);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(id);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AddressableMVO {\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/AdministrativeState.java b/src/main/java/org/etsi/osl/tmf/pm628/model/AdministrativeState.java
new file mode 100644
index 0000000000000000000000000000000000000000..7881c0ca95b983a11fd104896c95fe081c0b0a6d
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/AdministrativeState.java
@@ -0,0 +1,45 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+import javax.annotation.Generated;
+
+/**
+ * This is enumeration for Administrative state
+ */
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public enum AdministrativeState {
+
+ LOCKED("locked"),
+
+ UNLOCKED("unlocked");
+
+ private String value;
+
+ AdministrativeState(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static AdministrativeState fromValue(String value) {
+ for (AdministrativeState b : AdministrativeState.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/AttachmentRef.java b/src/main/java/org/etsi/osl/tmf/pm628/model/AttachmentRef.java
new file mode 100644
index 0000000000000000000000000000000000000000..086eb1c92e06bdef16dbe9a1444a0a2fa64164ce
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/AttachmentRef.java
@@ -0,0 +1,301 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Column;
+import jakarta.persistence.Embeddable;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * AttachmentRef
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Embeddable
+public class AttachmentRef {
+
+ @JsonProperty("@type")
+ @Column(name = "ar_type")
+ protected String type;
+
+ @JsonProperty("@baseType")
+ @Column(name = "ar_base_type")
+ protected String baseType;
+
+ @JsonProperty("@schemaLocation")
+ @Column(name = "ar_schema_location")
+ protected String schemaLocation;
+
+ @JsonProperty("href")
+ @Column(name = "ar_href")
+ protected String href;
+
+ @JsonProperty("id")
+ @Column(name = "ar_id")
+ protected String id;
+
+ @JsonProperty("name")
+ @Column(name = "ar_name")
+ protected String name;
+
+ @JsonProperty("@referredType")
+ @Column(name = "ar_referred_type")
+ private String referredType;
+
+ @JsonProperty("description")
+ @Column(name = "ar_description")
+ private String description;
+
+ @JsonProperty("url")
+ private String url;
+
+ public AttachmentRef() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public AttachmentRef(String type, String id) {
+ this.type = type;
+ this.id = id;
+ }
+
+ public AttachmentRef type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public AttachmentRef baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public AttachmentRef schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public AttachmentRef href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * The URI of the referred entity.
+ * @return href
+ */
+
+ @Schema(name = "href", description = "The URI of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public AttachmentRef id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * The identifier of the referred entity.
+ * @return id
+ */
+ @NotNull
+ @Schema(name = "id", description = "The identifier of the referred entity.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public AttachmentRef name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name of the referred entity.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public AttachmentRef referredType(String referredType) {
+ this.referredType = referredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ * @return referredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getReferredType() {
+ return referredType;
+ }
+
+ public void setReferredType(String referredType) {
+ this.referredType = referredType;
+ }
+
+ public AttachmentRef description(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * A narrative text describing the content of the attachment
+ * @return description
+ */
+
+ @Schema(name = "description", description = "A narrative text describing the content of the attachment", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("description")
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public AttachmentRef url(String url) {
+ this.url = url;
+ return this;
+ }
+
+ /**
+ * Link to the attachment media/content
+ * @return url
+ */
+
+ @Schema(name = "url", description = "Link to the attachment media/content", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("url")
+ public String getUrl() {
+ return url;
+ }
+
+ public void setUrl(String url) {
+ this.url = url;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AttachmentRef attachmentRef = (AttachmentRef) o;
+ return Objects.equals(this.type, attachmentRef.type) &&
+ Objects.equals(this.baseType, attachmentRef.baseType) &&
+ Objects.equals(this.schemaLocation, attachmentRef.schemaLocation) &&
+ Objects.equals(this.href, attachmentRef.href) &&
+ Objects.equals(this.id, attachmentRef.id) &&
+ Objects.equals(this.name, attachmentRef.name) &&
+ Objects.equals(this.referredType, attachmentRef.referredType) &&
+ Objects.equals(this.description, attachmentRef.description) &&
+ Objects.equals(this.url, attachmentRef.url);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, href, id, name, referredType, description, url);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AttachmentRef {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" referredType: ").append(toIndentedString(referredType)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" url: ").append(toIndentedString(url)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/AttachmentRefFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/AttachmentRefFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..1990d07ee4860dcd944310c83686a17801a39537
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/AttachmentRefFVO.java
@@ -0,0 +1,289 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * AttachmentRefFVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class AttachmentRefFVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("href")
+ private String href;
+
+ @JsonProperty("id")
+ private String id;
+
+ @JsonProperty("name")
+ private String name;
+
+ @JsonProperty("@referredType")
+ private String referredType;
+
+ @JsonProperty("description")
+ private String description;
+
+ @JsonProperty("url")
+ private String url;
+
+ public AttachmentRefFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public AttachmentRefFVO(String type) {
+ this.type = type;
+ }
+
+ public AttachmentRefFVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return type;
+ }
+
+ public void setAtType(String type) {
+ this.type = type;
+ }
+
+ public AttachmentRefFVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public AttachmentRefFVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public AttachmentRefFVO href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public AttachmentRefFVO id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ * @return id
+ */
+
+ @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public AttachmentRefFVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name of the referred entity.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public AttachmentRefFVO referredType(String referredType) {
+ this.referredType = referredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ * @return referredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getReferredType() {
+ return referredType;
+ }
+
+ public void setReferredType(String referredType) {
+ this.referredType = referredType;
+ }
+
+ public AttachmentRefFVO description(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * A narrative text describing the content of the attachment
+ * @return description
+ */
+
+ @Schema(name = "description", description = "A narrative text describing the content of the attachment", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("description")
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public AttachmentRefFVO url(String url) {
+ this.url = url;
+ return this;
+ }
+
+ /**
+ * Link to the attachment media/content
+ * @return url
+ */
+
+ @Schema(name = "url", description = "Link to the attachment media/content", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("url")
+ public String getUrl() {
+ return url;
+ }
+
+ public void setUrl(String url) {
+ this.url = url;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AttachmentRefFVO attachmentRefFVO = (AttachmentRefFVO) o;
+ return Objects.equals(this.type, attachmentRefFVO.type) &&
+ Objects.equals(this.baseType, attachmentRefFVO.baseType) &&
+ Objects.equals(this.schemaLocation, attachmentRefFVO.schemaLocation) &&
+ Objects.equals(this.href, attachmentRefFVO.href) &&
+ Objects.equals(this.id, attachmentRefFVO.id) &&
+ Objects.equals(this.name, attachmentRefFVO.name) &&
+ Objects.equals(this.referredType, attachmentRefFVO.referredType) &&
+ Objects.equals(this.description, attachmentRefFVO.description) &&
+ Objects.equals(this.url, attachmentRefFVO.url);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, href, id, name, referredType, description, url);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AttachmentRefFVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" referredType: ").append(toIndentedString(referredType)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" url: ").append(toIndentedString(url)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/AttachmentRefMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/AttachmentRefMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..3c2edba24f354dd1bad006568b490ae0ce5ff33a
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/AttachmentRefMVO.java
@@ -0,0 +1,289 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * AttachmentRefMVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class AttachmentRefMVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("href")
+ private String href;
+
+ @JsonProperty("id")
+ private String id;
+
+ @JsonProperty("name")
+ private String name;
+
+ @JsonProperty("@referredType")
+ private String referredType;
+
+ @JsonProperty("description")
+ private String description;
+
+ @JsonProperty("url")
+ private String url;
+
+ public AttachmentRefMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public AttachmentRefMVO(String type) {
+ this.type = type;
+ }
+
+ public AttachmentRefMVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public AttachmentRefMVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return baseType;
+ }
+
+ public void setAtBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public AttachmentRefMVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public AttachmentRefMVO href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public AttachmentRefMVO id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * The identifier of the referred entity.
+ * @return id
+ */
+
+ @Schema(name = "id", description = "The identifier of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public AttachmentRefMVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name of the referred entity.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public AttachmentRefMVO referredType(String referredType) {
+ this.referredType = referredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ * @return referredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getReferredType() {
+ return referredType;
+ }
+
+ public void setReferredType(String referredType) {
+ this.referredType = referredType;
+ }
+
+ public AttachmentRefMVO description(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * A narrative text describing the content of the attachment
+ * @return description
+ */
+
+ @Schema(name = "description", description = "A narrative text describing the content of the attachment", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("description")
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public AttachmentRefMVO url(String url) {
+ this.url = url;
+ return this;
+ }
+
+ /**
+ * Link to the attachment media/content
+ * @return url
+ */
+
+ @Schema(name = "url", description = "Link to the attachment media/content", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("url")
+ public String getUrl() {
+ return url;
+ }
+
+ public void setUrl(String url) {
+ this.url = url;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AttachmentRefMVO attachmentRefMVO = (AttachmentRefMVO) o;
+ return Objects.equals(this.type, attachmentRefMVO.type) &&
+ Objects.equals(this.baseType, attachmentRefMVO.baseType) &&
+ Objects.equals(this.schemaLocation, attachmentRefMVO.schemaLocation) &&
+ Objects.equals(this.href, attachmentRefMVO.href) &&
+ Objects.equals(this.id, attachmentRefMVO.id) &&
+ Objects.equals(this.name, attachmentRefMVO.name) &&
+ Objects.equals(this.referredType, attachmentRefMVO.referredType) &&
+ Objects.equals(this.description, attachmentRefMVO.description) &&
+ Objects.equals(this.url, attachmentRefMVO.url);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, href, id, name, referredType, description, url);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AttachmentRefMVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" referredType: ").append(toIndentedString(referredType)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" url: ").append(toIndentedString(url)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/BaseEvent.java b/src/main/java/org/etsi/osl/tmf/pm628/model/BaseEvent.java
new file mode 100644
index 0000000000000000000000000000000000000000..7e789e9a9f843d9357faad3504ee7029fd3b35c5
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/BaseEvent.java
@@ -0,0 +1,429 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import javax.annotation.Generated;
+import java.time.OffsetDateTime;
+import java.util.Objects;
+
+/**
+ * BaseEvent
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class BaseEvent {
+
+ private String atType;
+
+ private String atBaseType;
+
+ private String atSchemaLocation;
+
+ private String href;
+
+ private String id;
+
+ private Object event;
+
+ private String eventId;
+
+ @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
+ private OffsetDateTime eventTime;
+
+ private String eventType;
+
+ private String correlationId;
+
+ private String domain;
+
+ private String title;
+
+ private String description;
+
+ private String priority;
+
+ @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
+ private OffsetDateTime timeOcurred;
+
+ public BaseEvent() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public BaseEvent(String atType) {
+ this.atType = atType;
+ }
+
+ public BaseEvent atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return atType
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ public BaseEvent atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public BaseEvent atSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return atSchemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ public BaseEvent href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public BaseEvent id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ * @return id
+ */
+
+ @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public BaseEvent event(Object event) {
+ this.event = event;
+ return this;
+ }
+
+ /**
+ * The event linked to the involved resource object
+ * @return event
+ */
+
+ @Schema(name = "event", description = "The event linked to the involved resource object", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("event")
+ public Object getEvent() {
+ return event;
+ }
+
+ public void setEvent(Object event) {
+ this.event = event;
+ }
+
+ public BaseEvent eventId(String eventId) {
+ this.eventId = eventId;
+ return this;
+ }
+
+ /**
+ * The identifier of the notification.
+ * @return eventId
+ */
+
+ @Schema(name = "eventId", description = "The identifier of the notification.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("eventId")
+ public String getEventId() {
+ return eventId;
+ }
+
+ public void setEventId(String eventId) {
+ this.eventId = eventId;
+ }
+
+ public BaseEvent eventTime(OffsetDateTime eventTime) {
+ this.eventTime = eventTime;
+ return this;
+ }
+
+ /**
+ * Time of the event occurrence.
+ * @return eventTime
+ */
+ @Valid
+ @Schema(name = "eventTime", description = "Time of the event occurrence.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("eventTime")
+ public OffsetDateTime getEventTime() {
+ return eventTime;
+ }
+
+ public void setEventTime(OffsetDateTime eventTime) {
+ this.eventTime = eventTime;
+ }
+
+ public BaseEvent eventType(String eventType) {
+ this.eventType = eventType;
+ return this;
+ }
+
+ /**
+ * The type of the notification.
+ * @return eventType
+ */
+
+ @Schema(name = "eventType", description = "The type of the notification.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("eventType")
+ public String getEventType() {
+ return eventType;
+ }
+
+ public void setEventType(String eventType) {
+ this.eventType = eventType;
+ }
+
+ public BaseEvent correlationId(String correlationId) {
+ this.correlationId = correlationId;
+ return this;
+ }
+
+ /**
+ * The correlation id for this event.
+ * @return correlationId
+ */
+
+ @Schema(name = "correlationId", description = "The correlation id for this event.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("correlationId")
+ public String getCorrelationId() {
+ return correlationId;
+ }
+
+ public void setCorrelationId(String correlationId) {
+ this.correlationId = correlationId;
+ }
+
+ public BaseEvent domain(String domain) {
+ this.domain = domain;
+ return this;
+ }
+
+ /**
+ * The domain of the event.
+ * @return domain
+ */
+
+ @Schema(name = "domain", description = "The domain of the event.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("domain")
+ public String getDomain() {
+ return domain;
+ }
+
+ public void setDomain(String domain) {
+ this.domain = domain;
+ }
+
+ public BaseEvent title(String title) {
+ this.title = title;
+ return this;
+ }
+
+ /**
+ * The title of the event.
+ * @return title
+ */
+
+ @Schema(name = "title", description = "The title of the event.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("title")
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public BaseEvent description(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * An explanatory of the event.
+ * @return description
+ */
+
+ @Schema(name = "description", description = "An explanatory of the event.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("description")
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public BaseEvent priority(String priority) {
+ this.priority = priority;
+ return this;
+ }
+
+ /**
+ * A priority.
+ * @return priority
+ */
+
+ @Schema(name = "priority", description = "A priority.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("priority")
+ public String getPriority() {
+ return priority;
+ }
+
+ public void setPriority(String priority) {
+ this.priority = priority;
+ }
+
+ public BaseEvent timeOcurred(OffsetDateTime timeOcurred) {
+ this.timeOcurred = timeOcurred;
+ return this;
+ }
+
+ /**
+ * The time the event occurred.
+ * @return timeOcurred
+ */
+ @Valid
+ @Schema(name = "timeOcurred", description = "The time the event occurred.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("timeOcurred")
+ public OffsetDateTime getTimeOcurred() {
+ return timeOcurred;
+ }
+
+ public void setTimeOcurred(OffsetDateTime timeOcurred) {
+ this.timeOcurred = timeOcurred;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ BaseEvent baseEvent = (BaseEvent) o;
+ return Objects.equals(this.atType, baseEvent.atType) &&
+ Objects.equals(this.atBaseType, baseEvent.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, baseEvent.atSchemaLocation) &&
+ Objects.equals(this.href, baseEvent.href) &&
+ Objects.equals(this.id, baseEvent.id) &&
+ Objects.equals(this.event, baseEvent.event) &&
+ Objects.equals(this.eventId, baseEvent.eventId) &&
+ Objects.equals(this.eventTime, baseEvent.eventTime) &&
+ Objects.equals(this.eventType, baseEvent.eventType) &&
+ Objects.equals(this.correlationId, baseEvent.correlationId) &&
+ Objects.equals(this.domain, baseEvent.domain) &&
+ Objects.equals(this.title, baseEvent.title) &&
+ Objects.equals(this.description, baseEvent.description) &&
+ Objects.equals(this.priority, baseEvent.priority) &&
+ Objects.equals(this.timeOcurred, baseEvent.timeOcurred);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(atType, atBaseType, atSchemaLocation, href, id, event, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class BaseEvent {\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" event: ").append(toIndentedString(event)).append("\n");
+ sb.append(" eventId: ").append(toIndentedString(eventId)).append("\n");
+ sb.append(" eventTime: ").append(toIndentedString(eventTime)).append("\n");
+ sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n");
+ sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n");
+ sb.append(" domain: ").append(toIndentedString(domain)).append("\n");
+ sb.append(" title: ").append(toIndentedString(title)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" priority: ").append(toIndentedString(priority)).append("\n");
+ sb.append(" timeOcurred: ").append(toIndentedString(timeOcurred)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/Characteristic.java b/src/main/java/org/etsi/osl/tmf/pm628/model/Characteristic.java
new file mode 100644
index 0000000000000000000000000000000000000000..61064de62da33384e9cf2921bd57bcdb16f053cf
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/Characteristic.java
@@ -0,0 +1,141 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.CascadeType;
+import jakarta.persistence.Entity;
+import jakarta.persistence.OneToMany;
+import jakarta.validation.Valid;
+import org.etsi.osl.tmf.common.model.BaseRootNamedEntity;
+
+import javax.annotation.Generated;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * Characteristic
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Entity(name = "PM628_Characteristic")
+public class Characteristic extends BaseRootNamedEntity {
+
+ @JsonProperty("valueType")
+ private String valueType;
+
+ @JsonProperty("characteristicRelationship")
+ @Valid
+ @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
+ private List characteristicRelationship = new ArrayList<>();
+
+ public Characteristic() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public Characteristic(String type) {
+ this.type = type;
+ }
+
+ public Characteristic valueType(String valueType) {
+ this.valueType = valueType;
+ return this;
+ }
+
+ /**
+ * Data type of the value of the characteristic
+ * @return valueType
+ */
+
+ @Schema(name = "valueType", description = "Data type of the value of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("valueType")
+ public String getValueType() {
+ return valueType;
+ }
+
+ public void setValueType(String valueType) {
+ this.valueType = valueType;
+ }
+
+ public Characteristic characteristicRelationship(List characteristicRelationship) {
+ this.characteristicRelationship = characteristicRelationship;
+ return this;
+ }
+
+ public Characteristic addCharacteristicRelationshipItem(CharacteristicRelationship characteristicRelationshipItem) {
+ if (this.characteristicRelationship == null) {
+ this.characteristicRelationship = new ArrayList<>();
+ }
+ this.characteristicRelationship.add(characteristicRelationshipItem);
+ return this;
+ }
+
+ /**
+ * Collection of characteristic relationships
+ * @return characteristicRelationship
+ */
+ @Valid
+ @Schema(name = "characteristicRelationship", description = "Collection of characteristic relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("characteristicRelationship")
+ public List getCharacteristicRelationship() {
+ return characteristicRelationship;
+ }
+
+ public void setCharacteristicRelationship(List characteristicRelationship) {
+ this.characteristicRelationship = characteristicRelationship;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Characteristic characteristic = (Characteristic) o;
+ return Objects.equals(this.type, characteristic.type) &&
+ Objects.equals(this.baseType, characteristic.baseType) &&
+ Objects.equals(this.schemaLocation, characteristic.schemaLocation) &&
+ Objects.equals(this.uuid, characteristic.uuid) &&
+ Objects.equals(this.name, characteristic.name) &&
+ Objects.equals(this.valueType, characteristic.valueType) &&
+ Objects.equals(this.characteristicRelationship, characteristic.characteristicRelationship);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, uuid, name, valueType, characteristicRelationship);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Characteristic {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" id: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" valueType: ").append(toIndentedString(valueType)).append("\n");
+ sb.append(" characteristicRelationship: ").append(toIndentedString(characteristicRelationship)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..912ae241e0e93e133e62a7c02a27aadaa6acd02e
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicFVO.java
@@ -0,0 +1,226 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * CharacteristicFVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class CharacteristicFVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("name")
+ private String name;
+
+ @JsonProperty("valueType")
+ private String valueType;
+
+ @JsonProperty("characteristicRelationship")
+ @Valid
+ private List characteristicRelationship = new ArrayList<>();
+
+ public CharacteristicFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public CharacteristicFVO(String type) {
+ this.type = type;
+ }
+
+ public CharacteristicFVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public CharacteristicFVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public CharacteristicFVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public CharacteristicFVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name of the characteristic
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public CharacteristicFVO valueType(String valueType) {
+ this.valueType = valueType;
+ return this;
+ }
+
+ /**
+ * Data type of the value of the characteristic
+ * @return valueType
+ */
+
+ @Schema(name = "valueType", description = "Data type of the value of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("valueType")
+ public String getValueType() {
+ return valueType;
+ }
+
+ public void setValueType(String valueType) {
+ this.valueType = valueType;
+ }
+
+ public CharacteristicFVO characteristicRelationship(List characteristicRelationship) {
+ this.characteristicRelationship = characteristicRelationship;
+ return this;
+ }
+
+ public CharacteristicFVO addCharacteristicRelationshipItem(CharacteristicRelationshipFVO characteristicRelationshipItem) {
+ if (this.characteristicRelationship == null) {
+ this.characteristicRelationship = new ArrayList<>();
+ }
+ this.characteristicRelationship.add(characteristicRelationshipItem);
+ return this;
+ }
+
+ /**
+ * Collection of characteristic relationships
+ * @return characteristicRelationship
+ */
+ @Valid
+ @Schema(name = "characteristicRelationship", description = "Collection of characteristic relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("characteristicRelationship")
+ public List getCharacteristicRelationship() {
+ return characteristicRelationship;
+ }
+
+ public void setCharacteristicRelationship(List characteristicRelationship) {
+ this.characteristicRelationship = characteristicRelationship;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CharacteristicFVO characteristicFVO = (CharacteristicFVO) o;
+ return Objects.equals(this.type, characteristicFVO.type) &&
+ Objects.equals(this.baseType, characteristicFVO.baseType) &&
+ Objects.equals(this.schemaLocation, characteristicFVO.schemaLocation) &&
+ Objects.equals(this.name, characteristicFVO.name) &&
+ Objects.equals(this.valueType, characteristicFVO.valueType) &&
+ Objects.equals(this.characteristicRelationship, characteristicFVO.characteristicRelationship);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, name, valueType, characteristicRelationship);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CharacteristicFVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" valueType: ").append(toIndentedString(valueType)).append("\n");
+ sb.append(" characteristicRelationship: ").append(toIndentedString(characteristicRelationship)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..bccda463e27d2bea6fd6767b507597576a19d5ad
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicMVO.java
@@ -0,0 +1,251 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * CharacteristicMVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class CharacteristicMVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("uuid")
+ private String uuid;
+
+ @JsonProperty("name")
+ private String name;
+
+ @JsonProperty("valueType")
+ private String valueType;
+
+ @JsonProperty("characteristicRelationship")
+ @Valid
+ private List characteristicRelationship = new ArrayList<>();
+
+ public CharacteristicMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public CharacteristicMVO(String type) {
+ this.type = type;
+ }
+
+ public CharacteristicMVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public CharacteristicMVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public CharacteristicMVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public CharacteristicMVO uuid(String uuid) {
+ this.uuid = uuid;
+ return this;
+ }
+
+ /**
+ * Unique identifier of the characteristic
+ * @return id
+ */
+
+ @Schema(name = "uuid", description = "Unique identifier of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("uuid")
+ public String getUuid() {
+ return uuid;
+ }
+
+ public void setUuid(String uuid) {
+ this.uuid = uuid;
+ }
+
+ public CharacteristicMVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name of the characteristic
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public CharacteristicMVO valueType(String valueType) {
+ this.valueType = valueType;
+ return this;
+ }
+
+ /**
+ * Data type of the value of the characteristic
+ * @return valueType
+ */
+
+ @Schema(name = "valueType", description = "Data type of the value of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("valueType")
+ public String getValueType() {
+ return valueType;
+ }
+
+ public void setValueType(String valueType) {
+ this.valueType = valueType;
+ }
+
+ public CharacteristicMVO characteristicRelationship(List characteristicRelationship) {
+ this.characteristicRelationship = characteristicRelationship;
+ return this;
+ }
+
+ public CharacteristicMVO addCharacteristicRelationshipItem(CharacteristicRelationshipMVO characteristicRelationshipItem) {
+ if (this.characteristicRelationship == null) {
+ this.characteristicRelationship = new ArrayList<>();
+ }
+ this.characteristicRelationship.add(characteristicRelationshipItem);
+ return this;
+ }
+
+ /**
+ * Collection of characteristic relationships
+ * @return characteristicRelationship
+ */
+ @Valid
+ @Schema(name = "characteristicRelationship", description = "Collection of characteristic relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("characteristicRelationship")
+ public List getCharacteristicRelationship() {
+ return characteristicRelationship;
+ }
+
+ public void setCharacteristicRelationship(List characteristicRelationship) {
+ this.characteristicRelationship = characteristicRelationship;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CharacteristicMVO characteristicMVO = (CharacteristicMVO) o;
+ return Objects.equals(this.type, characteristicMVO.type) &&
+ Objects.equals(this.baseType, characteristicMVO.baseType) &&
+ Objects.equals(this.schemaLocation, characteristicMVO.schemaLocation) &&
+ Objects.equals(this.uuid, characteristicMVO.uuid) &&
+ Objects.equals(this.name, characteristicMVO.name) &&
+ Objects.equals(this.valueType, characteristicMVO.valueType) &&
+ Objects.equals(this.characteristicRelationship, characteristicMVO.characteristicRelationship);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, uuid, name, valueType, characteristicRelationship);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CharacteristicMVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" id: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" valueType: ").append(toIndentedString(valueType)).append("\n");
+ sb.append(" characteristicRelationship: ").append(toIndentedString(characteristicRelationship)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicRelationship.java b/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicRelationship.java
new file mode 100644
index 0000000000000000000000000000000000000000..c3748879582df73334c3603c90ffacc0122cd659
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicRelationship.java
@@ -0,0 +1,104 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Entity;
+import org.etsi.osl.tmf.common.model.BaseRootEntity;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * CharacteristicRelationship
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Entity(name = "PM628_CharacteristicRelationship")
+public class CharacteristicRelationship extends BaseRootEntity {
+
+ @JsonProperty("relationshipType")
+ private String relationshipType;
+
+ public CharacteristicRelationship() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public CharacteristicRelationship(String type) {
+ this.type = type;
+ }
+
+ public CharacteristicRelationship type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ public CharacteristicRelationship relationshipType(String relationshipType) {
+ this.relationshipType = relationshipType;
+ return this;
+ }
+
+ /**
+ * The type of relationship
+ * @return relationshipType
+ */
+
+ @Schema(name = "relationshipType", description = "The type of relationship", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("relationshipType")
+ public String getRelationshipType() {
+ return relationshipType;
+ }
+
+ public void setRelationshipType(String relationshipType) {
+ this.relationshipType = relationshipType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CharacteristicRelationship characteristicRelationship = (CharacteristicRelationship) o;
+ return Objects.equals(this.type, characteristicRelationship.type) &&
+ Objects.equals(this.baseType, characteristicRelationship.baseType) &&
+ Objects.equals(this.schemaLocation, characteristicRelationship.schemaLocation) &&
+ Objects.equals(this.uuid, characteristicRelationship.uuid) &&
+ Objects.equals(this.relationshipType, characteristicRelationship.relationshipType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, uuid, relationshipType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CharacteristicRelationship {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" id: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" relationshipType: ").append(toIndentedString(relationshipType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicRelationshipFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicRelationshipFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..c34c4542c7780f5e3df8b1e32cd59213539cfa68
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicRelationshipFVO.java
@@ -0,0 +1,191 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * CharacteristicRelationshipFVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class CharacteristicRelationshipFVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("uuid")
+ private String uuid;
+
+ @JsonProperty("relationshipType")
+ private String relationshipType;
+
+ public CharacteristicRelationshipFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public CharacteristicRelationshipFVO(String type, String uuid, String relationshipType) {
+ this.type = type;
+ this.uuid = uuid;
+ this.relationshipType = relationshipType;
+ }
+
+ public CharacteristicRelationshipFVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public CharacteristicRelationshipFVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public CharacteristicRelationshipFVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public CharacteristicRelationshipFVO uuid(String uuid) {
+ this.uuid = uuid;
+ return this;
+ }
+
+ /**
+ * Unique identifier of the characteristic
+ * @return id
+ */
+ @NotNull
+ @Schema(name = "uuid", description = "Unique identifier of the characteristic", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("uuid")
+ public String getUuid() {
+ return uuid;
+ }
+
+ public void setUuid(String uuid) {
+ this.uuid = uuid;
+ }
+
+ public CharacteristicRelationshipFVO relationshipType(String relationshipType) {
+ this.relationshipType = relationshipType;
+ return this;
+ }
+
+ /**
+ * The type of relationship
+ * @return relationshipType
+ */
+ @NotNull
+ @Schema(name = "relationshipType", description = "The type of relationship", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("relationshipType")
+ public String getRelationshipType() {
+ return relationshipType;
+ }
+
+ public void setRelationshipType(String relationshipType) {
+ this.relationshipType = relationshipType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CharacteristicRelationshipFVO characteristicRelationshipFVO = (CharacteristicRelationshipFVO) o;
+ return Objects.equals(this.type, characteristicRelationshipFVO.type) &&
+ Objects.equals(this.baseType, characteristicRelationshipFVO.baseType) &&
+ Objects.equals(this.schemaLocation, characteristicRelationshipFVO.schemaLocation) &&
+ Objects.equals(this.uuid, characteristicRelationshipFVO.uuid) &&
+ Objects.equals(this.relationshipType, characteristicRelationshipFVO.relationshipType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, uuid, relationshipType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CharacteristicRelationshipFVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" id: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" relationshipType: ").append(toIndentedString(relationshipType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicRelationshipMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicRelationshipMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..7e9848ca0f28110d53a4aaa4d9c6d597531b1e3e
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/CharacteristicRelationshipMVO.java
@@ -0,0 +1,189 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * CharacteristicRelationshipMVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class CharacteristicRelationshipMVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("uuid")
+ private String uuid;
+
+ @JsonProperty("relationshipType")
+ private String relationshipType;
+
+ public CharacteristicRelationshipMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public CharacteristicRelationshipMVO(String type) {
+ this.type = type;
+ }
+
+ public CharacteristicRelationshipMVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public CharacteristicRelationshipMVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public CharacteristicRelationshipMVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public CharacteristicRelationshipMVO uuid(String uuid) {
+ this.uuid = uuid;
+ return this;
+ }
+
+ /**
+ * Unique identifier of the characteristic
+ * @return id
+ */
+
+ @Schema(name = "uuid", description = "Unique identifier of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("uuid")
+ public String getUuid() {
+ return uuid;
+ }
+
+ public void setUuid(String uuid) {
+ this.uuid = uuid;
+ }
+
+ public CharacteristicRelationshipMVO relationshipType(String relationshipType) {
+ this.relationshipType = relationshipType;
+ return this;
+ }
+
+ /**
+ * The type of relationship
+ * @return relationshipType
+ */
+
+ @Schema(name = "relationshipType", description = "The type of relationship", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("relationshipType")
+ public String getRelationshipType() {
+ return relationshipType;
+ }
+
+ public void setRelationshipType(String relationshipType) {
+ this.relationshipType = relationshipType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CharacteristicRelationshipMVO characteristicRelationshipMVO = (CharacteristicRelationshipMVO) o;
+ return Objects.equals(this.type, characteristicRelationshipMVO.type) &&
+ Objects.equals(this.baseType, characteristicRelationshipMVO.baseType) &&
+ Objects.equals(this.schemaLocation, characteristicRelationshipMVO.schemaLocation) &&
+ Objects.equals(this.uuid, characteristicRelationshipMVO.uuid) &&
+ Objects.equals(this.relationshipType, characteristicRelationshipMVO.relationshipType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, uuid, relationshipType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CharacteristicRelationshipMVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" id: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" relationshipType: ").append(toIndentedString(relationshipType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/CollectionType.java b/src/main/java/org/etsi/osl/tmf/pm628/model/CollectionType.java
new file mode 100644
index 0000000000000000000000000000000000000000..fd78965924ac5bc357a3ceada60ae34c037a8d11
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/CollectionType.java
@@ -0,0 +1,51 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+import javax.annotation.Generated;
+
+/**
+ * This is enumeration for CollectionType state
+ */
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public enum CollectionType {
+
+ CUMULATIVE("cumulative"),
+
+ DELTA("delta"),
+
+ DISCRETE_EVENT("discrete_event"),
+
+ GAUGE("gauge"),
+
+ STATUS_INSPECTION("status_inspection");
+
+ private String value;
+
+ CollectionType(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static CollectionType fromValue(String value) {
+ for (CollectionType b : CollectionType.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/CompressionEnumType.java b/src/main/java/org/etsi/osl/tmf/pm628/model/CompressionEnumType.java
new file mode 100644
index 0000000000000000000000000000000000000000..67a3f638db78db3ce30f04d022741bd03e694aac
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/CompressionEnumType.java
@@ -0,0 +1,49 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+import javax.annotation.Generated;
+
+/**
+ * Enumeration of supported compressions. All extensions allowed.
+ */
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public enum CompressionEnumType {
+
+ NO_COMPRESSION("no_compression"),
+
+ GZIP("gzip"),
+
+ VENDOR_EXT("vendor_ext"),
+
+ MINOR_EXT("minor_ext");
+
+ private String value;
+
+ CompressionEnumType(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static CompressionEnumType fromValue(String value) {
+ for (CompressionEnumType b : CompressionEnumType.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/CompressionType.java b/src/main/java/org/etsi/osl/tmf/pm628/model/CompressionType.java
new file mode 100644
index 0000000000000000000000000000000000000000..c3818df3b6ed4f4270218e866af9f124331a5a8b
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/CompressionType.java
@@ -0,0 +1,80 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Embeddable;
+import jakarta.validation.Valid;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * File compression type.
+ */
+
+@Schema(name = "CompressionType", description = "File compression type.")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Embeddable
+public class CompressionType {
+
+ @JsonProperty("compressionEnumType")
+ private CompressionEnumType compressionEnumType;
+
+ public CompressionType compressionEnumType(CompressionEnumType compressionEnumType) {
+ this.compressionEnumType = compressionEnumType;
+ return this;
+ }
+
+ /**
+ * Get compressionEnumType
+ * @return compressionEnumType
+ */
+ @Valid
+ @Schema(name = "compressionEnumType", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("compressionEnumType")
+ public CompressionEnumType getCompressionEnumType() {
+ return compressionEnumType;
+ }
+
+ public void setCompressionEnumType(CompressionEnumType compressionEnumType) {
+ this.compressionEnumType = compressionEnumType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CompressionType compressionType = (CompressionType) o;
+ return Objects.equals(this.compressionEnumType, compressionType.compressionEnumType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(compressionEnumType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CompressionType {\n");
+ sb.append(" compressionEnumType: ").append(toIndentedString(compressionEnumType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataAccessEndpoint.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataAccessEndpoint.java
new file mode 100644
index 0000000000000000000000000000000000000000..3529d11c22ba01269d0c98e2f10843b3e56909d1
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataAccessEndpoint.java
@@ -0,0 +1,308 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Embedded;
+import jakarta.persistence.Entity;
+import jakarta.validation.Valid;
+
+import javax.annotation.Generated;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * DataAccessEndpoint
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Entity(name = "DataAccessEndpoint")
+public class DataAccessEndpoint extends LogicalResource {
+
+ @JsonProperty("uri")
+ private URI uri;
+
+ @Embedded
+ @JsonProperty("uriQueryFilter")
+ private DataFilterMap uriQueryFilter;
+
+ @JsonProperty("apiType")
+ private String apiType;
+
+ public DataAccessEndpoint() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DataAccessEndpoint(String atType) {
+ super(atType);
+ }
+
+ public DataAccessEndpoint uri(URI uri) {
+ this.uri = uri;
+ return this;
+ }
+
+ /**
+ * URI for using the data access API
+ * @return uri
+ */
+ @Valid
+ @Schema(name = "uri", description = "URI for using the data access API", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("uri")
+ public URI getUri() {
+ return uri;
+ }
+
+ public void setUri(URI uri) {
+ this.uri = uri;
+ }
+
+ public DataAccessEndpoint uriQueryFilter(DataFilterMap uriQueryFilter) {
+ this.uriQueryFilter = uriQueryFilter;
+ return this;
+ }
+
+ /**
+ * Get uriQueryFilter
+ * @return uriQueryFilter
+ */
+ @Valid
+ @Schema(name = "uriQueryFilter", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("uriQueryFilter")
+ public DataFilterMap getUriQueryFilter() {
+ return uriQueryFilter;
+ }
+
+ public void setUriQueryFilter(DataFilterMap uriQueryFilter) {
+ this.uriQueryFilter = uriQueryFilter;
+ }
+
+ public DataAccessEndpoint apiType(String apiType) {
+ this.apiType = apiType;
+ return this;
+ }
+
+ /**
+ * Get apiType
+ * @return apiType
+ */
+
+ @Schema(name = "apiType", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("apiType")
+ public String getApiType() {
+ return apiType;
+ }
+
+ public void setApiType(String apiType) {
+ this.apiType = apiType;
+ }
+
+
+ public DataAccessEndpoint value(String value) {
+ super.value(value);
+ return this;
+ }
+
+ public DataAccessEndpoint category(String category) {
+ super.category(category);
+ return this;
+ }
+
+ public DataAccessEndpoint description(String description) {
+ super.description(description);
+ return this;
+ }
+
+ public DataAccessEndpoint name(String name) {
+ super.name(name);
+ return this;
+ }
+
+ public DataAccessEndpoint endOperatingDate(OffsetDateTime endOperatingDate) {
+ super.endOperatingDate(endOperatingDate);
+ return this;
+ }
+
+ public DataAccessEndpoint administrativeState(ResourceAdministrativeStateType administrativeState) {
+ super.administrativeState(administrativeState);
+ return this;
+ }
+
+ public DataAccessEndpoint operationalState(ResourceOperationalStateType operationalState) {
+ super.operationalState(operationalState);
+ return this;
+ }
+
+ public DataAccessEndpoint resourceStatus(ResourceStatusType resourceStatus) {
+ super.resourceStatus(resourceStatus);
+ return this;
+ }
+
+ public DataAccessEndpoint usageState(ResourceUsageStateType usageState) {
+ super.usageState(usageState);
+ return this;
+ }
+
+ public DataAccessEndpoint validFor(TimePeriod validFor) {
+ super.validFor(validFor);
+ return this;
+ }
+
+ public DataAccessEndpoint note(List note) {
+ super.note(note);
+ return this;
+ }
+
+ public DataAccessEndpoint addNoteItem(Note noteItem) {
+ super.addNoteItem(noteItem);
+ return this;
+ }
+
+ public DataAccessEndpoint resourceOrderItem(List resourceOrderItem) {
+ super.resourceOrderItem(resourceOrderItem);
+ return this;
+ }
+
+ public DataAccessEndpoint addResourceOrderItemItem(RelatedResourceOrderItem resourceOrderItemItem) {
+ super.addResourceOrderItemItem(resourceOrderItemItem);
+ return this;
+ }
+
+ public DataAccessEndpoint place(List place) {
+ super.place(place);
+ return this;
+ }
+
+ public DataAccessEndpoint addPlaceItem(RelatedPlaceRef placeItem) {
+ super.addPlaceItem(placeItem);
+ return this;
+ }
+
+ public DataAccessEndpoint relatedParty(List relatedParty) {
+ super.relatedParty(relatedParty);
+ return this;
+ }
+
+ public DataAccessEndpoint addRelatedPartyItem(RelatedPartyRefOrPartyRoleRef relatedPartyItem) {
+ super.addRelatedPartyItem(relatedPartyItem);
+ return this;
+ }
+
+ public DataAccessEndpoint resourceRelationship(List resourceRelationship) {
+ super.resourceRelationship(resourceRelationship);
+ return this;
+ }
+
+ public DataAccessEndpoint addResourceRelationshipItem(ResourceRelationship resourceRelationshipItem) {
+ super.addResourceRelationshipItem(resourceRelationshipItem);
+ return this;
+ }
+
+ public DataAccessEndpoint resourceCharacteristic(List resourceCharacteristic) {
+ super.resourceCharacteristic(resourceCharacteristic);
+ return this;
+ }
+
+ public DataAccessEndpoint addResourceCharacteristicItem(Characteristic resourceCharacteristicItem) {
+ super.addResourceCharacteristicItem(resourceCharacteristicItem);
+ return this;
+ }
+
+ public DataAccessEndpoint attachment(List attachment) {
+ super.attachment(attachment);
+ return this;
+ }
+
+ public DataAccessEndpoint addAttachmentItem(AttachmentRef attachmentItem) {
+ super.addAttachmentItem(attachmentItem);
+ return this;
+ }
+
+ public DataAccessEndpoint resourceSpecification(ResourceSpecificationRef resourceSpecification) {
+ super.resourceSpecification(resourceSpecification);
+ return this;
+ }
+
+ public DataAccessEndpoint startOperatingDate(OffsetDateTime startOperatingDate) {
+ super.startOperatingDate(startOperatingDate);
+ return this;
+ }
+
+ public DataAccessEndpoint resourceVersion(String resourceVersion) {
+ super.resourceVersion(resourceVersion);
+ return this;
+ }
+
+ public DataAccessEndpoint activationFeature(List activationFeature) {
+ super.activationFeature(activationFeature);
+ return this;
+ }
+
+ public DataAccessEndpoint addActivationFeatureItem(Feature activationFeatureItem) {
+ super.addActivationFeatureItem(activationFeatureItem);
+ return this;
+ }
+
+ public DataAccessEndpoint intent(IntentRef intent) {
+ super.intent(intent);
+ return this;
+ }
+
+ public DataAccessEndpoint externalIdentifier(List externalIdentifier) {
+ super.externalIdentifier(externalIdentifier);
+ return this;
+ }
+
+ public DataAccessEndpoint addExternalIdentifierItem(ExternalIdentifier externalIdentifierItem) {
+ super.addExternalIdentifierItem(externalIdentifierItem);
+ return this;
+ }
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataAccessEndpoint dataAccessEndpoint = (DataAccessEndpoint) o;
+ return Objects.equals(this.uri, dataAccessEndpoint.uri) &&
+ Objects.equals(this.uriQueryFilter, dataAccessEndpoint.uriQueryFilter) &&
+ Objects.equals(this.apiType, dataAccessEndpoint.apiType) &&
+ super.equals(o);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(uri, uriQueryFilter, apiType, super.hashCode());
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataAccessEndpoint {\n");
+ sb.append(" ").append(toIndentedString(super.toString())).append("\n");
+ sb.append(" uri: ").append(toIndentedString(uri)).append("\n");
+ sb.append(" uriQueryFilter: ").append(toIndentedString(uriQueryFilter)).append("\n");
+ sb.append(" apiType: ").append(toIndentedString(apiType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataAccessEndpointFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataAccessEndpointFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..7ae1e05a83d90a843f278a5d8b534a86d29144dc
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataAccessEndpointFVO.java
@@ -0,0 +1,329 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+
+import javax.annotation.Generated;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * DataAccessEndpointFVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DataAccessEndpointFVO extends LogicalResourceFVO {
+
+ @JsonProperty("uri")
+ private URI uri;
+
+ @JsonProperty("uriQueryFilter")
+ private DataFilterMapFVO uriQueryFilter;
+
+ @JsonProperty("apiType")
+ private String apiType;
+
+ public DataAccessEndpointFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DataAccessEndpointFVO(String atType) {
+ super(atType);
+ }
+
+ public DataAccessEndpointFVO uri(URI uri) {
+ this.uri = uri;
+ return this;
+ }
+
+ /**
+ * URI for using the data access API
+ * @return uri
+ */
+ @Valid
+ @Schema(name = "uri", description = "URI for using the data access API", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("uri")
+ public URI getUri() {
+ return uri;
+ }
+
+ public void setUri(URI uri) {
+ this.uri = uri;
+ }
+
+ public DataAccessEndpointFVO uriQueryFilter(DataFilterMapFVO uriQueryFilter) {
+ this.uriQueryFilter = uriQueryFilter;
+ return this;
+ }
+
+ /**
+ * Get uriQueryFilter
+ * @return uriQueryFilter
+ */
+ @Valid
+ @Schema(name = "uriQueryFilter", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("uriQueryFilter")
+ public DataFilterMapFVO getUriQueryFilter() {
+ return uriQueryFilter;
+ }
+
+ public void setUriQueryFilter(DataFilterMapFVO uriQueryFilter) {
+ this.uriQueryFilter = uriQueryFilter;
+ }
+
+ public DataAccessEndpointFVO apiType(String apiType) {
+ this.apiType = apiType;
+ return this;
+ }
+
+ /**
+ * Get apiType
+ * @return apiType
+ */
+
+ @Schema(name = "apiType", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("apiType")
+ public String getApiType() {
+ return apiType;
+ }
+
+ public void setApiType(String apiType) {
+ this.apiType = apiType;
+ }
+
+
+ public DataAccessEndpointFVO value(String value) {
+ super.value(value);
+ return this;
+ }
+
+ public DataAccessEndpointFVO type(String type) {
+ super.type(type);
+ return this;
+ }
+
+ public DataAccessEndpointFVO baseType(String baseType) {
+ super.baseType(baseType);
+ return this;
+ }
+
+ public DataAccessEndpointFVO schemaLocation(String schemaLocation) {
+ super.schemaLocation(schemaLocation);
+ return this;
+ }
+
+ public DataAccessEndpointFVO href(String href) {
+ super.href(href);
+ return this;
+ }
+
+ public DataAccessEndpointFVO uuid(String uuid) {
+ super.uuid(uuid);
+ return this;
+ }
+
+ public DataAccessEndpointFVO category(String category) {
+ super.category(category);
+ return this;
+ }
+
+ public DataAccessEndpointFVO description(String description) {
+ super.description(description);
+ return this;
+ }
+
+ public DataAccessEndpointFVO name(String name) {
+ super.name(name);
+ return this;
+ }
+
+ public DataAccessEndpointFVO endOperatingDate(OffsetDateTime endOperatingDate) {
+ super.endOperatingDate(endOperatingDate);
+ return this;
+ }
+
+ public DataAccessEndpointFVO administrativeState(ResourceAdministrativeStateType administrativeState) {
+ super.administrativeState(administrativeState);
+ return this;
+ }
+
+ public DataAccessEndpointFVO operationalState(ResourceOperationalStateType operationalState) {
+ super.operationalState(operationalState);
+ return this;
+ }
+
+ public DataAccessEndpointFVO resourceStatus(ResourceStatusType resourceStatus) {
+ super.resourceStatus(resourceStatus);
+ return this;
+ }
+
+ public DataAccessEndpointFVO usageState(ResourceUsageStateType usageState) {
+ super.usageState(usageState);
+ return this;
+ }
+
+ public DataAccessEndpointFVO validFor(TimePeriod validFor) {
+ super.validFor(validFor);
+ return this;
+ }
+
+ public DataAccessEndpointFVO note(List note) {
+ super.note(note);
+ return this;
+ }
+
+ public DataAccessEndpointFVO addNoteItem(NoteFVO noteItem) {
+ super.addNoteItem(noteItem);
+ return this;
+ }
+
+ public DataAccessEndpointFVO resourceOrderItem(List resourceOrderItem) {
+ super.resourceOrderItem(resourceOrderItem);
+ return this;
+ }
+
+ public DataAccessEndpointFVO addResourceOrderItemItem(RelatedResourceOrderItemFVO resourceOrderItemItem) {
+ super.addResourceOrderItemItem(resourceOrderItemItem);
+ return this;
+ }
+
+ public DataAccessEndpointFVO place(List place) {
+ super.place(place);
+ return this;
+ }
+
+ public DataAccessEndpointFVO addPlaceItem(RelatedPlaceRefFVO placeItem) {
+ super.addPlaceItem(placeItem);
+ return this;
+ }
+
+ public DataAccessEndpointFVO relatedParty(List relatedParty) {
+ super.relatedParty(relatedParty);
+ return this;
+ }
+
+ public DataAccessEndpointFVO addRelatedPartyItem(RelatedPartyRefOrPartyRoleRefFVO relatedPartyItem) {
+ super.addRelatedPartyItem(relatedPartyItem);
+ return this;
+ }
+
+ public DataAccessEndpointFVO resourceRelationship(List resourceRelationship) {
+ super.resourceRelationship(resourceRelationship);
+ return this;
+ }
+
+ public DataAccessEndpointFVO addResourceRelationshipItem(ResourceRelationshipFVO resourceRelationshipItem) {
+ super.addResourceRelationshipItem(resourceRelationshipItem);
+ return this;
+ }
+
+ public DataAccessEndpointFVO resourceCharacteristic(List resourceCharacteristic) {
+ super.resourceCharacteristic(resourceCharacteristic);
+ return this;
+ }
+
+ public DataAccessEndpointFVO addResourceCharacteristicItem(CharacteristicFVO resourceCharacteristicItem) {
+ super.addResourceCharacteristicItem(resourceCharacteristicItem);
+ return this;
+ }
+
+ public DataAccessEndpointFVO attachment(List attachment) {
+ super.attachment(attachment);
+ return this;
+ }
+
+ public DataAccessEndpointFVO addAttachmentItem(AttachmentRefFVO attachmentItem) {
+ super.addAttachmentItem(attachmentItem);
+ return this;
+ }
+
+ public DataAccessEndpointFVO resourceSpecification(ResourceSpecificationRefFVO resourceSpecification) {
+ super.resourceSpecification(resourceSpecification);
+ return this;
+ }
+
+ public DataAccessEndpointFVO startOperatingDate(OffsetDateTime startOperatingDate) {
+ super.startOperatingDate(startOperatingDate);
+ return this;
+ }
+
+ public DataAccessEndpointFVO resourceVersion(String resourceVersion) {
+ super.resourceVersion(resourceVersion);
+ return this;
+ }
+
+ public DataAccessEndpointFVO activationFeature(List activationFeature) {
+ super.activationFeature(activationFeature);
+ return this;
+ }
+
+ public DataAccessEndpointFVO addActivationFeatureItem(FeatureFVO activationFeatureItem) {
+ super.addActivationFeatureItem(activationFeatureItem);
+ return this;
+ }
+
+ public DataAccessEndpointFVO intent(IntentRefFVO intent) {
+ super.intent(intent);
+ return this;
+ }
+
+ public DataAccessEndpointFVO externalIdentifier(List externalIdentifier) {
+ super.externalIdentifier(externalIdentifier);
+ return this;
+ }
+
+ public DataAccessEndpointFVO addExternalIdentifierItem(ExternalIdentifierFVO externalIdentifierItem) {
+ super.addExternalIdentifierItem(externalIdentifierItem);
+ return this;
+ }
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataAccessEndpointFVO dataAccessEndpointFVO = (DataAccessEndpointFVO) o;
+ return Objects.equals(this.uri, dataAccessEndpointFVO.uri) &&
+ Objects.equals(this.uriQueryFilter, dataAccessEndpointFVO.uriQueryFilter) &&
+ Objects.equals(this.apiType, dataAccessEndpointFVO.apiType) &&
+ super.equals(o);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(uri, uriQueryFilter, apiType, super.hashCode());
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataAccessEndpointFVO {\n");
+ sb.append(" ").append(toIndentedString(super.toString())).append("\n");
+ sb.append(" uri: ").append(toIndentedString(uri)).append("\n");
+ sb.append(" uriQueryFilter: ").append(toIndentedString(uriQueryFilter)).append("\n");
+ sb.append(" apiType: ").append(toIndentedString(apiType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataAccessEndpointMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataAccessEndpointMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..5eb828e78d5cee6d56b57eba847425d08724843b
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataAccessEndpointMVO.java
@@ -0,0 +1,329 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+
+import javax.annotation.Generated;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * DataAccessEndpointMVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DataAccessEndpointMVO extends LogicalResourceMVO {
+
+ @JsonProperty("uri")
+ private URI uri;
+
+ @JsonProperty("uriQueryFilter")
+ private DataFilterMapMVO uriQueryFilter;
+
+ @JsonProperty("apiType")
+ private String apiType;
+
+ public DataAccessEndpointMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DataAccessEndpointMVO(String atType) {
+ super(atType);
+ }
+
+ public DataAccessEndpointMVO uri(URI uri) {
+ this.uri = uri;
+ return this;
+ }
+
+ /**
+ * URI for using the data access API
+ * @return uri
+ */
+ @Valid
+ @Schema(name = "uri", description = "URI for using the data access API", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("uri")
+ public URI getUri() {
+ return uri;
+ }
+
+ public void setUri(URI uri) {
+ this.uri = uri;
+ }
+
+ public DataAccessEndpointMVO uriQueryFilter(DataFilterMapMVO uriQueryFilter) {
+ this.uriQueryFilter = uriQueryFilter;
+ return this;
+ }
+
+ /**
+ * Get uriQueryFilter
+ * @return uriQueryFilter
+ */
+ @Valid
+ @Schema(name = "uriQueryFilter", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("uriQueryFilter")
+ public DataFilterMapMVO getUriQueryFilter() {
+ return uriQueryFilter;
+ }
+
+ public void setUriQueryFilter(DataFilterMapMVO uriQueryFilter) {
+ this.uriQueryFilter = uriQueryFilter;
+ }
+
+ public DataAccessEndpointMVO apiType(String apiType) {
+ this.apiType = apiType;
+ return this;
+ }
+
+ /**
+ * Get apiType
+ * @return apiType
+ */
+
+ @Schema(name = "apiType", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("apiType")
+ public String getApiType() {
+ return apiType;
+ }
+
+ public void setApiType(String apiType) {
+ this.apiType = apiType;
+ }
+
+
+ public DataAccessEndpointMVO value(String value) {
+ super.value(value);
+ return this;
+ }
+
+ public DataAccessEndpointMVO type(String type) {
+ super.type(type);
+ return this;
+ }
+
+ public DataAccessEndpointMVO baseType(String baseType) {
+ super.baseType(baseType);
+ return this;
+ }
+
+ public DataAccessEndpointMVO schemaLocation(String schemaLocation) {
+ super.schemaLocation(schemaLocation);
+ return this;
+ }
+
+ public DataAccessEndpointMVO href(String href) {
+ super.href(href);
+ return this;
+ }
+
+ public DataAccessEndpointMVO uuid(String uuid) {
+ super.uuid(uuid);
+ return this;
+ }
+
+ public DataAccessEndpointMVO category(String category) {
+ super.category(category);
+ return this;
+ }
+
+ public DataAccessEndpointMVO description(String description) {
+ super.description(description);
+ return this;
+ }
+
+ public DataAccessEndpointMVO name(String name) {
+ super.name(name);
+ return this;
+ }
+
+ public DataAccessEndpointMVO endOperatingDate(OffsetDateTime endOperatingDate) {
+ super.endOperatingDate(endOperatingDate);
+ return this;
+ }
+
+ public DataAccessEndpointMVO administrativeState(ResourceAdministrativeStateType administrativeState) {
+ super.administrativeState(administrativeState);
+ return this;
+ }
+
+ public DataAccessEndpointMVO operationalState(ResourceOperationalStateType operationalState) {
+ super.operationalState(operationalState);
+ return this;
+ }
+
+ public DataAccessEndpointMVO resourceStatus(ResourceStatusType resourceStatus) {
+ super.resourceStatus(resourceStatus);
+ return this;
+ }
+
+ public DataAccessEndpointMVO usageState(ResourceUsageStateType usageState) {
+ super.usageState(usageState);
+ return this;
+ }
+
+ public DataAccessEndpointMVO validFor(TimePeriod validFor) {
+ super.validFor(validFor);
+ return this;
+ }
+
+ public DataAccessEndpointMVO note(List note) {
+ super.note(note);
+ return this;
+ }
+
+ public DataAccessEndpointMVO addNoteItem(NoteMVO noteItem) {
+ super.addNoteItem(noteItem);
+ return this;
+ }
+
+ public DataAccessEndpointMVO resourceOrderItem(List resourceOrderItem) {
+ super.resourceOrderItem(resourceOrderItem);
+ return this;
+ }
+
+ public DataAccessEndpointMVO addResourceOrderItemItem(RelatedResourceOrderItemMVO resourceOrderItemItem) {
+ super.addResourceOrderItemItem(resourceOrderItemItem);
+ return this;
+ }
+
+ public DataAccessEndpointMVO place(List place) {
+ super.place(place);
+ return this;
+ }
+
+ public DataAccessEndpointMVO addPlaceItem(RelatedPlaceRefMVO placeItem) {
+ super.addPlaceItem(placeItem);
+ return this;
+ }
+
+ public DataAccessEndpointMVO relatedParty(List relatedParty) {
+ super.relatedParty(relatedParty);
+ return this;
+ }
+
+ public DataAccessEndpointMVO addRelatedPartyItem(RelatedPartyRefOrPartyRoleRefMVO relatedPartyItem) {
+ super.addRelatedPartyItem(relatedPartyItem);
+ return this;
+ }
+
+ public DataAccessEndpointMVO resourceRelationship(List resourceRelationship) {
+ super.resourceRelationship(resourceRelationship);
+ return this;
+ }
+
+ public DataAccessEndpointMVO addResourceRelationshipItem(ResourceRelationshipMVO resourceRelationshipItem) {
+ super.addResourceRelationshipItem(resourceRelationshipItem);
+ return this;
+ }
+
+ public DataAccessEndpointMVO resourceCharacteristic(List resourceCharacteristic) {
+ super.resourceCharacteristic(resourceCharacteristic);
+ return this;
+ }
+
+ public DataAccessEndpointMVO addResourceCharacteristicItem(CharacteristicMVO resourceCharacteristicItem) {
+ super.addResourceCharacteristicItem(resourceCharacteristicItem);
+ return this;
+ }
+
+ public DataAccessEndpointMVO attachment(List attachment) {
+ super.attachment(attachment);
+ return this;
+ }
+
+ public DataAccessEndpointMVO addAttachmentItem(AttachmentRefMVO attachmentItem) {
+ super.addAttachmentItem(attachmentItem);
+ return this;
+ }
+
+ public DataAccessEndpointMVO resourceSpecification(ResourceSpecificationRefMVO resourceSpecification) {
+ super.resourceSpecification(resourceSpecification);
+ return this;
+ }
+
+ public DataAccessEndpointMVO startOperatingDate(OffsetDateTime startOperatingDate) {
+ super.startOperatingDate(startOperatingDate);
+ return this;
+ }
+
+ public DataAccessEndpointMVO resourceVersion(String resourceVersion) {
+ super.resourceVersion(resourceVersion);
+ return this;
+ }
+
+ public DataAccessEndpointMVO activationFeature(List activationFeature) {
+ super.activationFeature(activationFeature);
+ return this;
+ }
+
+ public DataAccessEndpointMVO addActivationFeatureItem(FeatureMVO activationFeatureItem) {
+ super.addActivationFeatureItem(activationFeatureItem);
+ return this;
+ }
+
+ public DataAccessEndpointMVO intent(IntentRefMVO intent) {
+ super.intent(intent);
+ return this;
+ }
+
+ public DataAccessEndpointMVO externalIdentifier(List externalIdentifier) {
+ super.externalIdentifier(externalIdentifier);
+ return this;
+ }
+
+ public DataAccessEndpointMVO addExternalIdentifierItem(ExternalIdentifierMVO externalIdentifierItem) {
+ super.addExternalIdentifierItem(externalIdentifierItem);
+ return this;
+ }
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataAccessEndpointMVO dataAccessEndpointMVO = (DataAccessEndpointMVO) o;
+ return Objects.equals(this.uri, dataAccessEndpointMVO.uri) &&
+ Objects.equals(this.uriQueryFilter, dataAccessEndpointMVO.uriQueryFilter) &&
+ Objects.equals(this.apiType, dataAccessEndpointMVO.apiType) &&
+ super.equals(o);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(uri, uriQueryFilter, apiType, super.hashCode());
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataAccessEndpointMVO {\n");
+ sb.append(" ").append(toIndentedString(super.toString())).append("\n");
+ sb.append(" uri: ").append(toIndentedString(uri)).append("\n");
+ sb.append(" uriQueryFilter: ").append(toIndentedString(uriQueryFilter)).append("\n");
+ sb.append(" apiType: ").append(toIndentedString(apiType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataAccessEndpointMapper.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataAccessEndpointMapper.java
new file mode 100644
index 0000000000000000000000000000000000000000..7e076d909e03b51a747dee783af28b11466b9bb8
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataAccessEndpointMapper.java
@@ -0,0 +1,25 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import org.mapstruct.*;
+
+@Mapper(
+ nullValueMappingStrategy = NullValueMappingStrategy.RETURN_DEFAULT,
+ nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS,
+ collectionMappingStrategy = CollectionMappingStrategy.ACCESSOR_ONLY, // Collection- or map-typed properties of the target bean to be updated will be cleared and then populated with the values from the corresponding source collection or map
+ uses = {
+ PartyRefOrPartyRoleRefMapper.class,
+ ResourceRefOrValueMapper.class
+ }
+)
+public interface DataAccessEndpointMapper {
+
+ DataAccessEndpoint createDataAccessEndpoint(DataAccessEndpointFVO dataAccessEndpointFVO);
+
+ @Mapping(target = "type", ignore = true)
+ @Mapping(target = "baseType", ignore = true)
+ @Mapping(target = "schemaLocation", ignore = true)
+ @Mapping(target = "href", ignore = true)
+ @Mapping(target = "uuid", ignore = true)
+ @BeanMapping(nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE)
+ DataAccessEndpoint updateDataAccessEndpoint(DataAccessEndpointMVO dataAccessEndpointMVO, @MappingTarget DataAccessEndpoint dataAccessEndpoint);
+}
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterAttribute.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterAttribute.java
new file mode 100644
index 0000000000000000000000000000000000000000..5eab513025f9bf18b4d06835853d7a2ec9d8b560
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterAttribute.java
@@ -0,0 +1,89 @@
+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 io.swagger.v3.oas.annotations.media.Schema;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * give an attribute used for filtering
+ */
+
+@Schema(name = "DataFilterAttribute", description = "give an attribute used for filtering")
+@JsonIgnoreProperties(
+ value = "@type", // ignore manually set @type, it will be automatically generated by Jackson during serialization
+ allowSetters = true // allows the @type to be set during deserialization
+)
+@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "@type", visible = true)
+@JsonSubTypes({
+ @JsonSubTypes.Type(value = DataFilterAttributeStringArray.class, name = "DataFilterAttributeStringArray")
+})
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DataFilterAttribute {
+
+ @JsonProperty("valueType")
+ private String valueType;
+
+ public DataFilterAttribute valueType(String valueType) {
+ this.valueType = valueType;
+ return this;
+ }
+
+ /**
+ * Data type of the value of the attribute
+ * @return valueType
+ */
+
+ @Schema(name = "valueType", description = "Data type of the value of the attribute", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("valueType")
+ public String getValueType() {
+ return valueType;
+ }
+
+ public void setValueType(String valueType) {
+ this.valueType = valueType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataFilterAttribute dataFilterAttribute = (DataFilterAttribute) o;
+ return Objects.equals(this.valueType, dataFilterAttribute.valueType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(valueType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataFilterAttribute {\n");
+ sb.append(" valueType: ").append(toIndentedString(valueType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterAttributeStringArray.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterAttributeStringArray.java
new file mode 100644
index 0000000000000000000000000000000000000000..12cc0dd0b435d91b105adc7ce15902f6518b769c
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterAttributeStringArray.java
@@ -0,0 +1,99 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Embeddable;
+import jakarta.validation.Valid;
+
+import javax.annotation.Generated;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * DataFilterAttributeStringArray
+ */
+
+@Embeddable
+@JsonIgnoreProperties(ignoreUnknown = true)
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DataFilterAttributeStringArray extends DataFilterAttribute {
+
+ @JsonProperty("value")
+ @Valid
+ private List value = new ArrayList<>();
+
+ public DataFilterAttributeStringArray value(List value) {
+ this.value = value;
+ return this;
+ }
+
+ public DataFilterAttributeStringArray addValueItem(String valueItem) {
+ if (this.value == null) {
+ this.value = new ArrayList<>();
+ }
+ this.value.add(valueItem);
+ return this;
+ }
+
+ /**
+ * an array of field names
+ * @return value
+ */
+
+ @Schema(name = "value", example = "[\"Dallas\",\"Houston\",\"Paris\"]", description = "an array of field names", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("value")
+ public List getValue() {
+ return value;
+ }
+
+ public void setValue(List value) {
+ this.value = value;
+ }
+
+
+ public DataFilterAttributeStringArray valueType(String valueType) {
+ super.valueType(valueType);
+ return this;
+ }
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataFilterAttributeStringArray dataFilterAttributeStringArray = (DataFilterAttributeStringArray) o;
+ return Objects.equals(this.value, dataFilterAttributeStringArray.value) &&
+ super.equals(o);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(value, super.hashCode());
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataFilterAttributeStringArray {\n");
+ sb.append(" ").append(toIndentedString(super.toString())).append("\n");
+ sb.append(" value: ").append(toIndentedString(value)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMap.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMap.java
new file mode 100644
index 0000000000000000000000000000000000000000..5084ad58fb82072506afc6bd1691bff16b394e73
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMap.java
@@ -0,0 +1,181 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.*;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * DataFilterMap
+ */
+
+@Embeddable
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DataFilterMap {
+
+ @JsonProperty("@type")
+ @Column(name = "dfm_type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ @Column(name = "dfm_base_type")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ @Column(name = "dfm_schema_location")
+ private String schemaLocation;
+
+ @ElementCollection(targetClass = DataFilterMapItem.class)
+ @JsonProperty("mappings")
+ private List<@Valid DataFilterMapItem> mappings = new ArrayList<>();
+
+ public DataFilterMap() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DataFilterMap(String type) {
+ this.type = type;
+ }
+
+ public DataFilterMap type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public DataFilterMap baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public DataFilterMap schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+
+ public DataFilterMap mappings(List<@Valid DataFilterMapItem> mappings) {
+ this.mappings = mappings;
+ return this;
+ }
+
+ public DataFilterMap addMappingsItem(DataFilterMapItem mappingsItem) {
+ if (this.mappings == null) {
+ this.mappings = new ArrayList<>();
+ }
+ this.mappings.add(mappingsItem);
+ return this;
+ }
+
+ /**
+ * Get mappings
+ * @return mappings
+ */
+ @Valid
+ @Schema(name = "mappings", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("mappings")
+ public List<@Valid DataFilterMapItem> getMappings() {
+ return mappings;
+ }
+
+ public void setMappings(List<@Valid DataFilterMapItem> mappings) {
+ this.mappings = mappings;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataFilterMap dataFilterMap = (DataFilterMap) o;
+ return Objects.equals(this.type, dataFilterMap.type) &&
+ Objects.equals(this.baseType, dataFilterMap.baseType) &&
+ Objects.equals(this.schemaLocation, dataFilterMap.schemaLocation) &&
+ Objects.equals(this.mappings, dataFilterMap.mappings);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, mappings);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataFilterMap {\n");
+ sb.append(" atType: ").append(toIndentedString(type)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" mappings: ").append(toIndentedString(mappings)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..66a26463c316db30b1fc3a415526ec5ec5b8b575
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapFVO.java
@@ -0,0 +1,176 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * DataFilterMapFVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DataFilterMapFVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("mappings")
+ @Valid
+ private List<@Valid DataFilterMapItemFVO> mappings = new ArrayList<>();
+
+ public DataFilterMapFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DataFilterMapFVO(String type) {
+ this.type = type;
+ }
+
+ public DataFilterMapFVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public DataFilterMapFVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public DataFilterMapFVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public DataFilterMapFVO mappings(List<@Valid DataFilterMapItemFVO> mappings) {
+ this.mappings = mappings;
+ return this;
+ }
+
+ public DataFilterMapFVO addMappingsItem(DataFilterMapItemFVO mappingsItem) {
+ if (this.mappings == null) {
+ this.mappings = new ArrayList<>();
+ }
+ this.mappings.add(mappingsItem);
+ return this;
+ }
+
+ /**
+ * Get mappings
+ * @return mappings
+ */
+ @Valid
+ @Schema(name = "mappings", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("mappings")
+ public List<@Valid DataFilterMapItemFVO> getMappings() {
+ return mappings;
+ }
+
+ public void setMappings(List<@Valid DataFilterMapItemFVO> mappings) {
+ this.mappings = mappings;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataFilterMapFVO dataFilterMapFVO = (DataFilterMapFVO) o;
+ return Objects.equals(this.type, dataFilterMapFVO.type) &&
+ Objects.equals(this.baseType, dataFilterMapFVO.baseType) &&
+ Objects.equals(this.schemaLocation, dataFilterMapFVO.schemaLocation) &&
+ Objects.equals(this.mappings, dataFilterMapFVO.mappings);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, mappings);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataFilterMapFVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" mappings: ").append(toIndentedString(mappings)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapItem.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapItem.java
new file mode 100644
index 0000000000000000000000000000000000000000..cb84be04f03a552a8f9468ef297509474aeb5621
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapItem.java
@@ -0,0 +1,107 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.*;
+import jakarta.validation.Valid;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * definition of a field used for filtering template with the associated attributes.
+ */
+
+@Embeddable
+@Schema(name = "DataFilterMapItem", description = "definition of a field used for filtering template with the associated attributes.")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DataFilterMapItem {
+
+ @Embedded
+ @JsonProperty("filterTemplate")
+ private DataFilterTemplate filterTemplate;
+
+ @Embedded
+ @JsonProperty("stringArray")
+ private DataFilterAttributeStringArray stringArray;
+
+ public DataFilterMapItem filterTemplate(DataFilterTemplate filterTemplate) {
+ this.filterTemplate = filterTemplate;
+ return this;
+ }
+
+ /**
+ * Get filterTemplate
+ * @return filterTemplate
+ */
+ @Valid
+ @Schema(name = "filterTemplate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("filterTemplate")
+ public DataFilterTemplate getFilterTemplate() {
+ return filterTemplate;
+ }
+
+ public void setFilterTemplate(DataFilterTemplate filterTemplate) {
+ this.filterTemplate = filterTemplate;
+ }
+
+ public DataFilterMapItem stringArray(DataFilterAttributeStringArray stringArray) {
+ this.stringArray = stringArray;
+ return this;
+ }
+
+ /**
+ * Get stringArray
+ * @return stringArray
+ */
+ @Valid
+ @Schema(name = "stringArray", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("stringArray")
+ public DataFilterAttributeStringArray getStringArray() {
+ return stringArray;
+ }
+
+ public void setStringArray(DataFilterAttributeStringArray stringArray) {
+ this.stringArray = stringArray;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataFilterMapItem dataFilterMapItem = (DataFilterMapItem) o;
+ return Objects.equals(this.filterTemplate, dataFilterMapItem.filterTemplate) &&
+ Objects.equals(this.stringArray, dataFilterMapItem.stringArray);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(filterTemplate, stringArray);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataFilterMapItem {\n");
+ sb.append(" filterTemplate: ").append(toIndentedString(filterTemplate)).append("\n");
+ sb.append(" stringArray: ").append(toIndentedString(stringArray)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapItemFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapItemFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..90fb5e91b24caf46c642e3434756ca481e210643
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapItemFVO.java
@@ -0,0 +1,105 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * definition of a field used for filtering template with the associated attributes.
+ */
+
+@Schema(name = "DataFilterMapItem_FVO", description = "definition of a field used for filtering template with the associated attributes.")
+@JsonTypeName("DataFilterMapItem_FVO")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DataFilterMapItemFVO {
+
+ @JsonProperty("filterTemplate")
+ private DataFilterTemplateFVO filterTemplate;
+
+ @JsonProperty("stringArray")
+ private DataFilterAttributeStringArray stringArray;
+
+ public DataFilterMapItemFVO filterTemplate(DataFilterTemplateFVO filterTemplate) {
+ this.filterTemplate = filterTemplate;
+ return this;
+ }
+
+ /**
+ * Get filterTemplate
+ * @return filterTemplate
+ */
+ @Valid
+ @Schema(name = "filterTemplate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("filterTemplate")
+ public DataFilterTemplateFVO getFilterTemplate() {
+ return filterTemplate;
+ }
+
+ public void setFilterTemplate(DataFilterTemplateFVO filterTemplate) {
+ this.filterTemplate = filterTemplate;
+ }
+
+ public DataFilterMapItemFVO stringArray(DataFilterAttributeStringArray stringArray) {
+ this.stringArray = stringArray;
+ return this;
+ }
+
+ /**
+ * Get stringArray
+ * @return stringArray
+ */
+ @Valid
+ @Schema(name = "stringArray", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("stringArray")
+ public DataFilterAttributeStringArray getStringArray() {
+ return stringArray;
+ }
+
+ public void setStringArray(DataFilterAttributeStringArray stringArray) {
+ this.stringArray = stringArray;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataFilterMapItemFVO dataFilterMapItemFVO = (DataFilterMapItemFVO) o;
+ return Objects.equals(this.filterTemplate, dataFilterMapItemFVO.filterTemplate) &&
+ Objects.equals(this.stringArray, dataFilterMapItemFVO.stringArray);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(filterTemplate, stringArray);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataFilterMapItemFVO {\n");
+ sb.append(" filterTemplate: ").append(toIndentedString(filterTemplate)).append("\n");
+ sb.append(" stringArray: ").append(toIndentedString(stringArray)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapItemMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapItemMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..f7d1739955cd66d867172da834e0462d672b1be6
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapItemMVO.java
@@ -0,0 +1,103 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * definition of a field used for filtering template with the associated attributes.
+ */
+
+@Schema(name = "DataFilterMapItem_MVO", description = "definition of a field used for filtering template with the associated attributes.")
+@JsonTypeName("DataFilterMapItem_MVO")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DataFilterMapItemMVO {
+
+ private DataFilterTemplateMVO filterTemplate;
+
+ private DataFilterAttributeStringArray stringArray;
+
+ public DataFilterMapItemMVO filterTemplate(DataFilterTemplateMVO filterTemplate) {
+ this.filterTemplate = filterTemplate;
+ return this;
+ }
+
+ /**
+ * Get filterTemplate
+ * @return filterTemplate
+ */
+ @Valid
+ @Schema(name = "filterTemplate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("filterTemplate")
+ public DataFilterTemplateMVO getFilterTemplate() {
+ return filterTemplate;
+ }
+
+ public void setFilterTemplate(DataFilterTemplateMVO filterTemplate) {
+ this.filterTemplate = filterTemplate;
+ }
+
+ public DataFilterMapItemMVO stringArray(DataFilterAttributeStringArray stringArray) {
+ this.stringArray = stringArray;
+ return this;
+ }
+
+ /**
+ * Get stringArray
+ * @return stringArray
+ */
+ @Valid
+ @Schema(name = "stringArray", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("stringArray")
+ public DataFilterAttributeStringArray getStringArray() {
+ return stringArray;
+ }
+
+ public void setStringArray(DataFilterAttributeStringArray stringArray) {
+ this.stringArray = stringArray;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataFilterMapItemMVO dataFilterMapItemMVO = (DataFilterMapItemMVO) o;
+ return Objects.equals(this.filterTemplate, dataFilterMapItemMVO.filterTemplate) &&
+ Objects.equals(this.stringArray, dataFilterMapItemMVO.stringArray);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(filterTemplate, stringArray);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataFilterMapItemMVO {\n");
+ sb.append(" filterTemplate: ").append(toIndentedString(filterTemplate)).append("\n");
+ sb.append(" stringArray: ").append(toIndentedString(stringArray)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..f7eed3d1035aaf84d29c1f4fd1836a65f12ff056
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterMapMVO.java
@@ -0,0 +1,176 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * DataFilterMapMVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DataFilterMapMVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("mappings")
+ @Valid
+ private List<@Valid DataFilterMapItemMVO> mappings = new ArrayList<>();
+
+ public DataFilterMapMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DataFilterMapMVO(String type) {
+ this.type = type;
+ }
+
+ public DataFilterMapMVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public DataFilterMapMVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public DataFilterMapMVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public DataFilterMapMVO mappings(List<@Valid DataFilterMapItemMVO> mappings) {
+ this.mappings = mappings;
+ return this;
+ }
+
+ public DataFilterMapMVO addMappingsItem(DataFilterMapItemMVO mappingsItem) {
+ if (this.mappings == null) {
+ this.mappings = new ArrayList<>();
+ }
+ this.mappings.add(mappingsItem);
+ return this;
+ }
+
+ /**
+ * Get mappings
+ * @return mappings
+ */
+ @Valid
+ @Schema(name = "mappings", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("mappings")
+ public List<@Valid DataFilterMapItemMVO> getMappings() {
+ return mappings;
+ }
+
+ public void setMappings(List<@Valid DataFilterMapItemMVO> mappings) {
+ this.mappings = mappings;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataFilterMapMVO dataFilterMapMVO = (DataFilterMapMVO) o;
+ return Objects.equals(this.type, dataFilterMapMVO.type) &&
+ Objects.equals(this.baseType, dataFilterMapMVO.baseType) &&
+ Objects.equals(this.schemaLocation, dataFilterMapMVO.schemaLocation) &&
+ Objects.equals(this.mappings, dataFilterMapMVO.mappings);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, mappings);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataFilterMapMVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" mappings: ").append(toIndentedString(mappings)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterTemplate.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterTemplate.java
new file mode 100644
index 0000000000000000000000000000000000000000..5c020282e5cc360a78d67b128c5e7e29740c844f
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterTemplate.java
@@ -0,0 +1,241 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Embeddable;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * DataFilterTemplate
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Embeddable
+public class DataFilterTemplate {
+
+ @JsonProperty("@type")
+ protected String type;
+
+ @JsonProperty("@baseType")
+ protected String baseType;
+
+ @JsonProperty("@schemaLocation")
+ protected String schemaLocation;
+
+ @JsonProperty("id")
+ protected String id;
+
+ @JsonProperty("href")
+ protected String href;
+
+ @JsonProperty("name")
+ protected String name;
+
+ @JsonProperty("description")
+ protected String description;
+
+ public DataFilterTemplate() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DataFilterTemplate(String type) {
+ this.type = type;
+ }
+
+ public DataFilterTemplate type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public DataFilterTemplate baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public DataFilterTemplate schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public DataFilterTemplate id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Unique identifier of this DataFilterTemplate
+ * @return id
+ */
+
+ @Schema(name = "id", example = "6c088cf7f1bc", description = "Unique identifier of this DataFilterTemplate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public DataFilterTemplate href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference to this DataFilterTemplate
+ * @return href
+ */
+ @Valid
+ @Schema(name = "href", example = "https://host/dataFilerTemplate/6c088cf7f1bc", description = "Hyperlink reference to this DataFilterTemplate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public DataFilterTemplate name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name given to this DataFilterTemplate
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name given to this DataFilterTemplate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public DataFilterTemplate description(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Description of this DataFilterTemplate
+ * @return description
+ */
+
+ @Schema(name = "description", description = "Description of this DataFilterTemplate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataFilterTemplate dataFilterTemplate = (DataFilterTemplate) o;
+ return Objects.equals(this.type, dataFilterTemplate.type) &&
+ Objects.equals(this.baseType, dataFilterTemplate.baseType) &&
+ Objects.equals(this.schemaLocation, dataFilterTemplate.schemaLocation) &&
+ Objects.equals(this.id, dataFilterTemplate.id) &&
+ Objects.equals(this.href, dataFilterTemplate.href) &&
+ Objects.equals(this.name, dataFilterTemplate.name) &&
+ Objects.equals(this.description, dataFilterTemplate.description);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, id, href, name, description);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataFilterTemplate {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterTemplateFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterTemplateFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..ecd0fc69e2d76cc790f8d045121f3edc951541af
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterTemplateFVO.java
@@ -0,0 +1,206 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * DataFilterTemplateFVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DataFilterTemplateFVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("href")
+ private String href = null;
+
+ @JsonProperty("name")
+ private String name;
+
+ @JsonProperty("description")
+ private String description;
+
+ public DataFilterTemplateFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DataFilterTemplateFVO(String type) {
+ this.type = type;
+ }
+
+ public DataFilterTemplateFVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public DataFilterTemplateFVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public DataFilterTemplateFVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ /**
+ * Unique reference of the entity
+ *
+ * @return href
+ **/
+ @Schema(description = "Unique reference of the entity")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public DataFilterTemplateFVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name given to this DataFilterTemplate
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name given to this DataFilterTemplate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public DataFilterTemplateFVO description(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Description of this DataFilterTemplate
+ * @return description
+ */
+
+ @Schema(name = "description", description = "Description of this DataFilterTemplate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("description")
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataFilterTemplateFVO dataFilterTemplateFVO = (DataFilterTemplateFVO) o;
+ return Objects.equals(this.type, dataFilterTemplateFVO.type) &&
+ Objects.equals(this.baseType, dataFilterTemplateFVO.baseType) &&
+ Objects.equals(this.schemaLocation, dataFilterTemplateFVO.schemaLocation) &&
+ Objects.equals(this.name, dataFilterTemplateFVO.name) &&
+ Objects.equals(this.description, dataFilterTemplateFVO.description);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, name, description);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataFilterTemplateFVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterTemplateMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterTemplateMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..98162e0ca0f2f3fb6b97dea050aa202530a10aed
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DataFilterTemplateMVO.java
@@ -0,0 +1,231 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * DataFilterTemplateMVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DataFilterTemplateMVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("href")
+ protected String href = null;
+
+ @JsonProperty("id")
+ private String id;
+
+ @JsonProperty("name")
+ private String name;
+
+ @JsonProperty("description")
+ private String description;
+
+ public DataFilterTemplateMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DataFilterTemplateMVO(String type) {
+ this.type = type;
+ }
+
+ public DataFilterTemplateMVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public DataFilterTemplateMVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public DataFilterTemplateMVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ /**
+ * Unique reference of the entity
+ *
+ * @return href
+ **/
+ @Schema(description = "Unique reference of the entity")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public DataFilterTemplateMVO id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Unique identifier of this DataFilterTemplate
+ * @return id
+ */
+
+ @Schema(name = "id", example = "6c088cf7f1bc", description = "Unique identifier of this DataFilterTemplate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public DataFilterTemplateMVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name given to this DataFilterTemplate
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name given to this DataFilterTemplate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public DataFilterTemplateMVO description(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Description of this DataFilterTemplate
+ * @return description
+ */
+
+ @Schema(name = "description", description = "Description of this DataFilterTemplate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("description")
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DataFilterTemplateMVO dataFilterTemplateMVO = (DataFilterTemplateMVO) o;
+ return Objects.equals(this.type, dataFilterTemplateMVO.type) &&
+ Objects.equals(this.baseType, dataFilterTemplateMVO.baseType) &&
+ Objects.equals(this.schemaLocation, dataFilterTemplateMVO.schemaLocation) &&
+ Objects.equals(this.id, dataFilterTemplateMVO.id) &&
+ Objects.equals(this.name, dataFilterTemplateMVO.name) &&
+ Objects.equals(this.description, dataFilterTemplateMVO.description);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, id, name, description);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DataFilterTemplateMVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfMonthRecurrence.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfMonthRecurrence.java
new file mode 100644
index 0000000000000000000000000000000000000000..72bf9f616a95dc51382e85a214919c76ff27d11a
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfMonthRecurrence.java
@@ -0,0 +1,174 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Column;
+import jakarta.persistence.Embeddable;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import javax.annotation.Generated;
+import java.time.OffsetDateTime;
+import java.util.Objects;
+
+/**
+ * DayOfMonthRecurrence
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Embeddable
+public class DayOfMonthRecurrence {
+
+ @JsonProperty("@type")
+ @Column(name = "domr_type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ @Column(name = "domr_base_type")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ @Column(name = "domr_schema_location")
+ private String schemaLocation;
+
+ @JsonProperty("dates")
+ @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
+ private OffsetDateTime dates;
+
+ public DayOfMonthRecurrence() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DayOfMonthRecurrence(String type) {
+ this.type = type;
+ }
+
+ public DayOfMonthRecurrence type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public DayOfMonthRecurrence baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public DayOfMonthRecurrence schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public DayOfMonthRecurrence dates(OffsetDateTime dates) {
+ this.dates = dates;
+ return this;
+ }
+
+ /**
+ * Get dates
+ * @return dates
+ */
+ @Valid
+ @Schema(name = "dates", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("dates")
+ public OffsetDateTime getDates() {
+ return dates;
+ }
+
+ public void setDates(OffsetDateTime dates) {
+ this.dates = dates;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DayOfMonthRecurrence dayOfMonthRecurrence = (DayOfMonthRecurrence) o;
+ return Objects.equals(this.type, dayOfMonthRecurrence.type) &&
+ Objects.equals(this.baseType, dayOfMonthRecurrence.baseType) &&
+ Objects.equals(this.schemaLocation, dayOfMonthRecurrence.schemaLocation) &&
+ Objects.equals(this.dates, dayOfMonthRecurrence.dates);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, dates);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DayOfMonthRecurrence {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" dates: ").append(toIndentedString(dates)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfMonthRecurrenceFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfMonthRecurrenceFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..1cee0eb3b27985eb6acbd39e174ac981dd63ac0d
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfMonthRecurrenceFVO.java
@@ -0,0 +1,168 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import javax.annotation.Generated;
+import java.time.OffsetDateTime;
+import java.util.Objects;
+
+/**
+ * DayOfMonthRecurrenceFVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DayOfMonthRecurrenceFVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("dates")
+ @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
+ private OffsetDateTime dates;
+
+ public DayOfMonthRecurrenceFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DayOfMonthRecurrenceFVO(String type) {
+ this.type = type;
+ }
+
+ public DayOfMonthRecurrenceFVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public DayOfMonthRecurrenceFVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public DayOfMonthRecurrenceFVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public DayOfMonthRecurrenceFVO dates(OffsetDateTime dates) {
+ this.dates = dates;
+ return this;
+ }
+
+ /**
+ * Get dates
+ * @return dates
+ */
+ @Valid
+ @Schema(name = "dates", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("dates")
+ public OffsetDateTime getDates() {
+ return dates;
+ }
+
+ public void setDates(OffsetDateTime dates) {
+ this.dates = dates;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DayOfMonthRecurrenceFVO dayOfMonthRecurrenceFVO = (DayOfMonthRecurrenceFVO) o;
+ return Objects.equals(this.type, dayOfMonthRecurrenceFVO.type) &&
+ Objects.equals(this.baseType, dayOfMonthRecurrenceFVO.baseType) &&
+ Objects.equals(this.schemaLocation, dayOfMonthRecurrenceFVO.schemaLocation) &&
+ Objects.equals(this.dates, dayOfMonthRecurrenceFVO.dates);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, dates);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DayOfMonthRecurrenceFVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" dates: ").append(toIndentedString(dates)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfMonthRecurrenceMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfMonthRecurrenceMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..0a8506a0cc3df55953a7e7e614158f5a9e72ec42
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfMonthRecurrenceMVO.java
@@ -0,0 +1,168 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import javax.annotation.Generated;
+import java.time.OffsetDateTime;
+import java.util.Objects;
+
+/**
+ * DayOfMonthRecurrenceMVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DayOfMonthRecurrenceMVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("dates")
+ @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
+ private OffsetDateTime dates;
+
+ public DayOfMonthRecurrenceMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DayOfMonthRecurrenceMVO(String type) {
+ this.type = type;
+ }
+
+ public DayOfMonthRecurrenceMVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public DayOfMonthRecurrenceMVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public DayOfMonthRecurrenceMVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public DayOfMonthRecurrenceMVO dates(OffsetDateTime dates) {
+ this.dates = dates;
+ return this;
+ }
+
+ /**
+ * Get dates
+ * @return dates
+ */
+ @Valid
+ @Schema(name = "dates", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("dates")
+ public OffsetDateTime getDates() {
+ return dates;
+ }
+
+ public void setDates(OffsetDateTime dates) {
+ this.dates = dates;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DayOfMonthRecurrenceMVO dayOfMonthRecurrenceMVO = (DayOfMonthRecurrenceMVO) o;
+ return Objects.equals(this.type, dayOfMonthRecurrenceMVO.type) &&
+ Objects.equals(this.baseType, dayOfMonthRecurrenceMVO.baseType) &&
+ Objects.equals(this.schemaLocation, dayOfMonthRecurrenceMVO.schemaLocation) &&
+ Objects.equals(this.dates, dayOfMonthRecurrenceMVO.dates);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, dates);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DayOfMonthRecurrenceMVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" dates: ").append(toIndentedString(dates)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfWeekRecurrence.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfWeekRecurrence.java
new file mode 100644
index 0000000000000000000000000000000000000000..38c6a53afba1424e9e9df018342c363857716382
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfWeekRecurrence.java
@@ -0,0 +1,174 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Column;
+import jakarta.persistence.Embeddable;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import javax.annotation.Generated;
+import java.time.OffsetDateTime;
+import java.util.Objects;
+
+/**
+ * DayOfWeekRecurrence
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Embeddable
+public class DayOfWeekRecurrence {
+
+ @JsonProperty("@type")
+ @Column(name = "dowr_type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ @Column(name = "dowr_base_type")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ @Column(name = "dowr_schema_location")
+ private String schemaLocation;
+
+ @JsonProperty("dates")
+ @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
+ private OffsetDateTime dates;
+
+ public DayOfWeekRecurrence() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DayOfWeekRecurrence(String type) {
+ this.type = type;
+ }
+
+ public DayOfWeekRecurrence type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public DayOfWeekRecurrence baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public DayOfWeekRecurrence schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public DayOfWeekRecurrence dates(OffsetDateTime dates) {
+ this.dates = dates;
+ return this;
+ }
+
+ /**
+ * Get dates
+ * @return dates
+ */
+ @Valid
+ @Schema(name = "dates", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("dates")
+ public OffsetDateTime getDates() {
+ return dates;
+ }
+
+ public void setDates(OffsetDateTime dates) {
+ this.dates = dates;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DayOfWeekRecurrence dayOfWeekRecurrence = (DayOfWeekRecurrence) o;
+ return Objects.equals(this.type, dayOfWeekRecurrence.type) &&
+ Objects.equals(this.baseType, dayOfWeekRecurrence.baseType) &&
+ Objects.equals(this.schemaLocation, dayOfWeekRecurrence.schemaLocation) &&
+ Objects.equals(this.dates, dayOfWeekRecurrence.dates);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, dates);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DayOfWeekRecurrence {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" dates: ").append(toIndentedString(dates)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfWeekRecurrenceFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfWeekRecurrenceFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..33c57949f9ca5281b9793b1ae443bf63e006111e
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfWeekRecurrenceFVO.java
@@ -0,0 +1,168 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import javax.annotation.Generated;
+import java.time.OffsetDateTime;
+import java.util.Objects;
+
+/**
+ * DayOfWeekRecurrenceFVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DayOfWeekRecurrenceFVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("dates")
+ @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
+ private OffsetDateTime dates;
+
+ public DayOfWeekRecurrenceFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DayOfWeekRecurrenceFVO(String type) {
+ this.type = type;
+ }
+
+ public DayOfWeekRecurrenceFVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public DayOfWeekRecurrenceFVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public DayOfWeekRecurrenceFVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public DayOfWeekRecurrenceFVO dates(OffsetDateTime dates) {
+ this.dates = dates;
+ return this;
+ }
+
+ /**
+ * Get dates
+ * @return dates
+ */
+ @Valid
+ @Schema(name = "dates", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("dates")
+ public OffsetDateTime getDates() {
+ return dates;
+ }
+
+ public void setDates(OffsetDateTime dates) {
+ this.dates = dates;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DayOfWeekRecurrenceFVO dayOfWeekRecurrenceFVO = (DayOfWeekRecurrenceFVO) o;
+ return Objects.equals(this.type, dayOfWeekRecurrenceFVO.type) &&
+ Objects.equals(this.baseType, dayOfWeekRecurrenceFVO.baseType) &&
+ Objects.equals(this.schemaLocation, dayOfWeekRecurrenceFVO.schemaLocation) &&
+ Objects.equals(this.dates, dayOfWeekRecurrenceFVO.dates);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, dates);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DayOfWeekRecurrenceFVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" dates: ").append(toIndentedString(dates)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfWeekRecurrenceMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfWeekRecurrenceMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..2ef8783a7073ef822bbe17386bcf1cb44d2db53d
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/DayOfWeekRecurrenceMVO.java
@@ -0,0 +1,168 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import javax.annotation.Generated;
+import java.time.OffsetDateTime;
+import java.util.Objects;
+
+/**
+ * DayOfWeekRecurrenceMVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class DayOfWeekRecurrenceMVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("dates")
+ @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
+ private OffsetDateTime dates;
+
+ public DayOfWeekRecurrenceMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public DayOfWeekRecurrenceMVO(String type) {
+ this.type = type;
+ }
+
+ public DayOfWeekRecurrenceMVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public DayOfWeekRecurrenceMVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public DayOfWeekRecurrenceMVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public DayOfWeekRecurrenceMVO dates(OffsetDateTime dates) {
+ this.dates = dates;
+ return this;
+ }
+
+ /**
+ * Get dates
+ * @return dates
+ */
+ @Valid
+ @Schema(name = "dates", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("dates")
+ public OffsetDateTime getDates() {
+ return dates;
+ }
+
+ public void setDates(OffsetDateTime dates) {
+ this.dates = dates;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DayOfWeekRecurrenceMVO dayOfWeekRecurrenceMVO = (DayOfWeekRecurrenceMVO) o;
+ return Objects.equals(this.type, dayOfWeekRecurrenceMVO.type) &&
+ Objects.equals(this.baseType, dayOfWeekRecurrenceMVO.baseType) &&
+ Objects.equals(this.schemaLocation, dayOfWeekRecurrenceMVO.schemaLocation) &&
+ Objects.equals(this.dates, dayOfWeekRecurrenceMVO.dates);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, dates);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DayOfWeekRecurrenceMVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" dates: ").append(toIndentedString(dates)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/Duration.java b/src/main/java/org/etsi/osl/tmf/pm628/model/Duration.java
new file mode 100644
index 0000000000000000000000000000000000000000..fea618ca8c52f2f31c4dcac49433cd8c3ea1d8f4
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/Duration.java
@@ -0,0 +1,104 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Embeddable;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * A time interval in a given unit of time
+ */
+
+@Schema(name = "Duration", description = "A time interval in a given unit of time")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Embeddable
+public class Duration {
+
+ @JsonProperty("amount")
+ private Integer amount;
+
+ @JsonProperty("units")
+ private String units;
+
+ public Duration amount(Integer amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Time interval (number of seconds, minutes, hours, etc.)
+ * @return amount
+ */
+
+ @Schema(name = "amount", description = "Time interval (number of seconds, minutes, hours, etc.)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("amount")
+ public Integer getAmount() {
+ return amount;
+ }
+
+ public void setAmount(Integer amount) {
+ this.amount = amount;
+ }
+
+ public Duration units(String units) {
+ this.units = units;
+ return this;
+ }
+
+ /**
+ * Unit of time (seconds, minutes, hours, etc.)
+ * @return units
+ */
+
+ @Schema(name = "units", description = "Unit of time (seconds, minutes, hours, etc.)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("units")
+ public String getUnits() {
+ return units;
+ }
+
+ public void setUnits(String units) {
+ this.units = units;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Duration duration = (Duration) o;
+ return Objects.equals(this.amount, duration.amount) &&
+ Objects.equals(this.units, duration.units);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(amount, units);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Duration {\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" units: ").append(toIndentedString(units)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/Entity.java b/src/main/java/org/etsi/osl/tmf/pm628/model/Entity.java
new file mode 100644
index 0000000000000000000000000000000000000000..11ecf77aedafb552bea245ed6cef8604eee04a7b
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/Entity.java
@@ -0,0 +1,184 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * Base entity schema for use in TMForum Open-APIs. Property.
+ */
+
+@Schema(name = "Entity", description = "Base entity schema for use in TMForum Open-APIs. Property.")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class Entity {
+
+ private String atType;
+
+ private String atBaseType;
+
+ private String atSchemaLocation;
+
+ private String href;
+
+ private String id;
+
+ public Entity() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public Entity(String atType) {
+ this.atType = atType;
+ }
+
+ public Entity atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return atType
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ public Entity atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public Entity atSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return atSchemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ public Entity href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public Entity id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ * @return id
+ */
+
+ @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Entity entity = (Entity) o;
+ return Objects.equals(this.atType, entity.atType) &&
+ Objects.equals(this.atBaseType, entity.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, entity.atSchemaLocation) &&
+ Objects.equals(this.href, entity.href) &&
+ Objects.equals(this.id, entity.id);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(atType, atBaseType, atSchemaLocation, href, id);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Entity {\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/EntityMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/EntityMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..26e3da5fc4ff5e57f8013909e7ce7cd7d59cdbd1
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/EntityMVO.java
@@ -0,0 +1,138 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * Base entity schema for use in TMForum Open-APIs. Property.
+ */
+
+@Schema(name = "Entity_MVO", description = "Base entity schema for use in TMForum Open-APIs. Property.")
+@JsonTypeName("Entity_MVO")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class EntityMVO {
+
+ private String atType;
+
+ private String atBaseType;
+
+ private String atSchemaLocation;
+
+ public EntityMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public EntityMVO(String atType) {
+ this.atType = atType;
+ }
+
+ public EntityMVO atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return atType
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ public EntityMVO atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public EntityMVO atSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return atSchemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ EntityMVO entityMVO = (EntityMVO) o;
+ return Objects.equals(this.atType, entityMVO.atType) &&
+ Objects.equals(this.atBaseType, entityMVO.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, entityMVO.atSchemaLocation);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(atType, atBaseType, atSchemaLocation);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class EntityMVO {\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/EntityRef.java b/src/main/java/org/etsi/osl/tmf/pm628/model/EntityRef.java
new file mode 100644
index 0000000000000000000000000000000000000000..f40db36622e257a3a556f02c1011b31ac47948fd
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/EntityRef.java
@@ -0,0 +1,239 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * EntityRef
+ */
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class EntityRef {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("href")
+ private String href;
+
+ @JsonProperty("id")
+ private String id;
+
+ @JsonProperty("name")
+ private String name;
+
+ @JsonProperty("@referredType")
+ private String referredType;
+
+ public EntityRef() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public EntityRef(String type, String id) {
+ this.type = type;
+ this.id = id;
+ }
+
+ public EntityRef type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public EntityRef baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public EntityRef schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public EntityRef href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * The URI of the referred entity.
+ * @return href
+ */
+
+ @Schema(name = "href", description = "The URI of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public EntityRef id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * The identifier of the referred entity.
+ * @return id
+ */
+ @NotNull
+ @Schema(name = "id", description = "The identifier of the referred entity.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public EntityRef name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name of the referred entity.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public EntityRef referredType(String referredType) {
+ this.referredType = referredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ * @return referredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getReferredType() {
+ return referredType;
+ }
+
+ public void setReferredType(String referredType) {
+ this.referredType = referredType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ EntityRef entityRef = (EntityRef) o;
+ return Objects.equals(this.type, entityRef.type) &&
+ Objects.equals(this.baseType, entityRef.baseType) &&
+ Objects.equals(this.schemaLocation, entityRef.schemaLocation) &&
+ Objects.equals(this.href, entityRef.href) &&
+ Objects.equals(this.id, entityRef.id) &&
+ Objects.equals(this.name, entityRef.name) &&
+ Objects.equals(this.referredType, entityRef.referredType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, href, id, name, referredType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class EntityRef {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" referredType: ").append(toIndentedString(referredType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/EntityRefFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/EntityRefFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..224354e89d8346813c47be813bd26288198d1f5b
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/EntityRefFVO.java
@@ -0,0 +1,233 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * EntityRefFVO
+ */
+
+@JsonTypeName("EntityRef_FVO")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class EntityRefFVO {
+
+ private String atType;
+
+ private String atBaseType;
+
+ private String atSchemaLocation;
+
+ private String href;
+
+ private String id;
+
+ private String name;
+
+ private String atReferredType;
+
+ public EntityRefFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public EntityRefFVO(String atType) {
+ this.atType = atType;
+ }
+
+ public EntityRefFVO atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return atType
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ public EntityRefFVO atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public EntityRefFVO atSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return atSchemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ public EntityRefFVO href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public EntityRefFVO id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ * @return id
+ */
+
+ @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public EntityRefFVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name of the referred entity.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public EntityRefFVO atReferredType(String atReferredType) {
+ this.atReferredType = atReferredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ * @return atReferredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getAtReferredType() {
+ return atReferredType;
+ }
+
+ public void setAtReferredType(String atReferredType) {
+ this.atReferredType = atReferredType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ EntityRefFVO entityRefFVO = (EntityRefFVO) o;
+ return Objects.equals(this.atType, entityRefFVO.atType) &&
+ Objects.equals(this.atBaseType, entityRefFVO.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, entityRefFVO.atSchemaLocation) &&
+ Objects.equals(this.href, entityRefFVO.href) &&
+ Objects.equals(this.id, entityRefFVO.id) &&
+ Objects.equals(this.name, entityRefFVO.name) &&
+ Objects.equals(this.atReferredType, entityRefFVO.atReferredType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(atType, atBaseType, atSchemaLocation, href, id, name, atReferredType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class EntityRefFVO {\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" atReferredType: ").append(toIndentedString(atReferredType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/EntityRefMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/EntityRefMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..f729f8566625437fd52cdb8e01bf15208b3080f1
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/EntityRefMVO.java
@@ -0,0 +1,233 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * EntityRefMVO
+ */
+
+@JsonTypeName("EntityRef_MVO")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class EntityRefMVO {
+
+ private String atType;
+
+ private String atBaseType;
+
+ private String atSchemaLocation;
+
+ private String href;
+
+ private String id;
+
+ private String name;
+
+ private String atReferredType;
+
+ public EntityRefMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public EntityRefMVO(String atType) {
+ this.atType = atType;
+ }
+
+ public EntityRefMVO atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return atType
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ public EntityRefMVO atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public EntityRefMVO atSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return atSchemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ public EntityRefMVO href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public EntityRefMVO id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * The identifier of the referred entity.
+ * @return id
+ */
+
+ @Schema(name = "id", description = "The identifier of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public EntityRefMVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name of the referred entity.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public EntityRefMVO atReferredType(String atReferredType) {
+ this.atReferredType = atReferredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ * @return atReferredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getAtReferredType() {
+ return atReferredType;
+ }
+
+ public void setAtReferredType(String atReferredType) {
+ this.atReferredType = atReferredType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ EntityRefMVO entityRefMVO = (EntityRefMVO) o;
+ return Objects.equals(this.atType, entityRefMVO.atType) &&
+ Objects.equals(this.atBaseType, entityRefMVO.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, entityRefMVO.atSchemaLocation) &&
+ Objects.equals(this.href, entityRefMVO.href) &&
+ Objects.equals(this.id, entityRefMVO.id) &&
+ Objects.equals(this.name, entityRefMVO.name) &&
+ Objects.equals(this.atReferredType, entityRefMVO.atReferredType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(atType, atBaseType, atSchemaLocation, href, id, name, atReferredType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class EntityRefMVO {\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" atReferredType: ").append(toIndentedString(atReferredType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/Error.java b/src/main/java/org/etsi/osl/tmf/pm628/model/Error.java
new file mode 100644
index 0000000000000000000000000000000000000000..d214c7fb509c83cb680ea953db35eaf1ba1bd019
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/Error.java
@@ -0,0 +1,259 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
+ */
+
+@Schema(name = "Error", description = "Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)")
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class Error {
+
+ private String atType;
+
+ private String atBaseType;
+
+ private String atSchemaLocation;
+
+ private String code;
+
+ private String reason;
+
+ private String message;
+
+ private String status;
+
+ private String referenceError;
+
+ public Error() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public Error(String atType, String code, String reason) {
+ this.atType = atType;
+ this.code = code;
+ this.reason = reason;
+ }
+
+ public Error atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return atType
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ public Error atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public Error atSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return atSchemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ public Error code(String code) {
+ this.code = code;
+ return this;
+ }
+
+ /**
+ * Application relevant detail, defined in the API or a common list.
+ * @return code
+ */
+ @NotNull
+ @Schema(name = "code", description = "Application relevant detail, defined in the API or a common list.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("code")
+ public String getCode() {
+ return code;
+ }
+
+ public void setCode(String code) {
+ this.code = code;
+ }
+
+ public Error reason(String reason) {
+ this.reason = reason;
+ return this;
+ }
+
+ /**
+ * Explanation of the reason for the error which can be shown to a client user.
+ * @return reason
+ */
+ @NotNull
+ @Schema(name = "reason", description = "Explanation of the reason for the error which can be shown to a client user.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("reason")
+ public String getReason() {
+ return reason;
+ }
+
+ public void setReason(String reason) {
+ this.reason = reason;
+ }
+
+ public Error message(String message) {
+ this.message = message;
+ return this;
+ }
+
+ /**
+ * More details and corrective actions related to the error which can be shown to a client user.
+ * @return message
+ */
+
+ @Schema(name = "message", description = "More details and corrective actions related to the error which can be shown to a client user.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("message")
+ public String getMessage() {
+ return message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public Error status(String status) {
+ this.status = status;
+ return this;
+ }
+
+ /**
+ * HTTP Error code extension
+ * @return status
+ */
+
+ @Schema(name = "status", description = "HTTP Error code extension", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("status")
+ public String getStatus() {
+ return status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public Error referenceError(String referenceError) {
+ this.referenceError = referenceError;
+ return this;
+ }
+
+ /**
+ * URI of documentation describing the error.
+ * @return referenceError
+ */
+
+ @Schema(name = "referenceError", description = "URI of documentation describing the error.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("referenceError")
+ public String getReferenceError() {
+ return referenceError;
+ }
+
+ public void setReferenceError(String referenceError) {
+ this.referenceError = referenceError;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Error error = (Error) o;
+ return Objects.equals(this.atType, error.atType) &&
+ Objects.equals(this.atBaseType, error.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, error.atSchemaLocation) &&
+ Objects.equals(this.code, error.code) &&
+ Objects.equals(this.reason, error.reason) &&
+ Objects.equals(this.message, error.message) &&
+ Objects.equals(this.status, error.status) &&
+ Objects.equals(this.referenceError, error.referenceError);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(atType, atBaseType, atSchemaLocation, code, reason, message, status, referenceError);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Error {\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append(" code: ").append(toIndentedString(code)).append("\n");
+ sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
+ sb.append(" message: ").append(toIndentedString(message)).append("\n");
+ sb.append(" status: ").append(toIndentedString(status)).append("\n");
+ sb.append(" referenceError: ").append(toIndentedString(referenceError)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/Event.java b/src/main/java/org/etsi/osl/tmf/pm628/model/Event.java
new file mode 100644
index 0000000000000000000000000000000000000000..a9c83908326575d6a5d4a47bea7dd1683817e6e3
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/Event.java
@@ -0,0 +1,565 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import javax.annotation.Generated;
+import java.time.OffsetDateTime;
+import java.time.ZoneOffset;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.UUID;
+
+/**
+ * Event
+ */
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class Event {
+
+ @JsonProperty("@type")
+ protected String type;
+
+ @JsonProperty("@baseType")
+ protected String baseType;
+
+ @JsonProperty("@schemaLocation")
+ protected String schemaLocation;
+
+ @JsonProperty("href")
+ protected String href;
+
+ @JsonProperty("id")
+ protected String id= UUID.randomUUID().toString();
+
+ @JsonProperty("correlationId")
+ protected String correlationId;
+
+ @JsonProperty("domain")
+ protected String domain;
+
+ @JsonProperty("title")
+ protected String title;
+
+ @JsonProperty("description")
+ protected String description;
+
+ @JsonProperty("priority")
+ protected String priority;
+
+ @JsonProperty("timeOccurred")
+ @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
+ protected OffsetDateTime timeOccurred;
+
+ @JsonProperty("source")
+ protected EntityRef source;
+
+ @JsonProperty("reportingSystem")
+ protected EntityRef reportingSystem;
+
+ @JsonProperty("relatedParty")
+ @Valid
+ protected List relatedParty = new ArrayList<>();
+
+ @JsonProperty("analyticCharacteristic")
+ @Valid
+ protected List analyticCharacteristic = new ArrayList<>();
+
+ @JsonProperty("eventId")
+ protected String eventId= UUID.randomUUID().toString();
+
+ @JsonProperty("eventTime")
+ @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
+ protected OffsetDateTime eventTime = OffsetDateTime.now(ZoneOffset.UTC);
+
+ @JsonProperty("eventType")
+ protected String eventType;
+
+ @JsonProperty("event")
+ protected Object event;
+
+ public Event() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public Event(String type) {
+ this.type = type;
+ }
+
+ public Event type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public Event baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public Event schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public Event href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public Event id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ * @return id
+ */
+
+ @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Event correlationId(String correlationId) {
+ this.correlationId = correlationId;
+ return this;
+ }
+
+ /**
+ * The correlation id for this event.
+ * @return correlationId
+ */
+
+ @Schema(name = "correlationId", description = "The correlation id for this event.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("correlationId")
+ public String getCorrelationId() {
+ return correlationId;
+ }
+
+ public void setCorrelationId(String correlationId) {
+ this.correlationId = correlationId;
+ }
+
+ public Event domain(String domain) {
+ this.domain = domain;
+ return this;
+ }
+
+ /**
+ * The domain of the event.
+ * @return domain
+ */
+
+ @Schema(name = "domain", description = "The domain of the event.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("domain")
+ public String getDomain() {
+ return domain;
+ }
+
+ public void setDomain(String domain) {
+ this.domain = domain;
+ }
+
+ public Event title(String title) {
+ this.title = title;
+ return this;
+ }
+
+ /**
+ * The title of the event.
+ * @return title
+ */
+
+ @Schema(name = "title", description = "The title of the event.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("title")
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public Event description(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * An explanation of the event.
+ * @return description
+ */
+
+ @Schema(name = "description", description = "An explanation of the event.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("description")
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public Event priority(String priority) {
+ this.priority = priority;
+ return this;
+ }
+
+ /**
+ * A priority.
+ * @return priority
+ */
+
+ @Schema(name = "priority", description = "A priority.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("priority")
+ public String getPriority() {
+ return priority;
+ }
+
+ public void setPriority(String priority) {
+ this.priority = priority;
+ }
+
+ public Event timeOccurred(OffsetDateTime timeOccurred) {
+ this.timeOccurred = timeOccurred;
+ return this;
+ }
+
+ /**
+ * The time the event occurred.
+ * @return timeOccurred
+ */
+ @Valid
+ @Schema(name = "timeOccurred", description = "The time the event occurred.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("timeOccurred")
+ public OffsetDateTime getTimeOccurred() {
+ return timeOccurred;
+ }
+
+ public void setTimeOccurred(OffsetDateTime timeOccurred) {
+ this.timeOccurred = timeOccurred;
+ }
+
+ public Event source(EntityRef source) {
+ this.source = source;
+ return this;
+ }
+
+ /**
+ * Get source
+ * @return source
+ */
+ @Valid
+ @Schema(name = "source", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("source")
+ public EntityRef getSource() {
+ return source;
+ }
+
+ public void setSource(EntityRef source) {
+ this.source = source;
+ }
+
+ public Event reportingSystem(EntityRef reportingSystem) {
+ this.reportingSystem = reportingSystem;
+ return this;
+ }
+
+ /**
+ * Get reportingSystem
+ * @return reportingSystem
+ */
+ @Valid
+ @Schema(name = "reportingSystem", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("reportingSystem")
+ public EntityRef getReportingSystem() {
+ return reportingSystem;
+ }
+
+ public void setReportingSystem(EntityRef reportingSystem) {
+ this.reportingSystem = reportingSystem;
+ }
+
+ public Event relatedParty(List relatedParty) {
+ this.relatedParty = relatedParty;
+ return this;
+ }
+
+ public Event addRelatedPartyItem(RelatedPartyRefOrPartyRoleRef relatedPartyItem) {
+ if (this.relatedParty == null) {
+ this.relatedParty = new ArrayList<>();
+ }
+ this.relatedParty.add(relatedPartyItem);
+ return this;
+ }
+
+ /**
+ * Collection of related parties
+ * @return relatedParty
+ */
+ @Valid
+ @Schema(name = "relatedParty", description = "Collection of related parties", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("relatedParty")
+ public List getRelatedParty() {
+ return relatedParty;
+ }
+
+ public void setRelatedParty(List relatedParty) {
+ this.relatedParty = relatedParty;
+ }
+
+ public Event analyticCharacteristic(List analyticCharacteristic) {
+ this.analyticCharacteristic = analyticCharacteristic;
+ return this;
+ }
+
+ public Event addAnalyticCharacteristicItem(Characteristic analyticCharacteristicItem) {
+ if (this.analyticCharacteristic == null) {
+ this.analyticCharacteristic = new ArrayList<>();
+ }
+ this.analyticCharacteristic.add(analyticCharacteristicItem);
+ return this;
+ }
+
+ /**
+ * Collection of analytic characteristics
+ * @return analyticCharacteristic
+ */
+ @Valid
+ @Schema(name = "analyticCharacteristic", description = "Collection of analytic characteristics", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("analyticCharacteristic")
+ public List getAnalyticCharacteristic() {
+ return analyticCharacteristic;
+ }
+
+ public void setAnalyticCharacteristic(List analyticCharacteristic) {
+ this.analyticCharacteristic = analyticCharacteristic;
+ }
+
+ public Event eventId(String eventId) {
+ this.eventId = eventId;
+ return this;
+ }
+
+ /**
+ * The identifier of the notification.
+ * @return eventId
+ */
+
+ @Schema(name = "eventId", description = "The identifier of the notification.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("eventId")
+ public String getEventId() {
+ return eventId;
+ }
+
+ public void setEventId(String eventId) {
+ this.eventId = eventId;
+ }
+
+ public Event eventTime(OffsetDateTime eventTime) {
+ this.eventTime = eventTime;
+ return this;
+ }
+
+ /**
+ * Time of the event occurrence.
+ * @return eventTime
+ */
+ @Valid
+ @Schema(name = "eventTime", description = "Time of the event occurrence.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("eventTime")
+ public OffsetDateTime getEventTime() {
+ return eventTime;
+ }
+
+ public void setEventTime(OffsetDateTime eventTime) {
+ this.eventTime = eventTime;
+ }
+
+ public Event eventType(String eventType) {
+ this.eventType = eventType;
+ return this;
+ }
+
+ /**
+ * The type of the notification.
+ * @return eventType
+ */
+
+ @Schema(name = "eventType", description = "The type of the notification.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("eventType")
+ public String getEventType() {
+ return eventType;
+ }
+
+ public void setEventType(String eventType) {
+ this.eventType = eventType;
+ }
+
+ public Event event(Object event) {
+ this.event = event;
+ return this;
+ }
+
+ /**
+ * The event linked to the involved resource object
+ * @return event
+ */
+
+ @Schema(name = "event", description = "The event linked to the involved resource object", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("event")
+ public Object getEvent() {
+ return event;
+ }
+
+ public void setEvent(Object event) {
+ this.event = event;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Event event = (Event) o;
+ return Objects.equals(this.type, event.type) &&
+ Objects.equals(this.baseType, event.baseType) &&
+ Objects.equals(this.schemaLocation, event.schemaLocation) &&
+ Objects.equals(this.href, event.href) &&
+ Objects.equals(this.id, event.id) &&
+ Objects.equals(this.correlationId, event.correlationId) &&
+ Objects.equals(this.domain, event.domain) &&
+ Objects.equals(this.title, event.title) &&
+ Objects.equals(this.description, event.description) &&
+ Objects.equals(this.priority, event.priority) &&
+ Objects.equals(this.timeOccurred, event.timeOccurred) &&
+ Objects.equals(this.source, event.source) &&
+ Objects.equals(this.reportingSystem, event.reportingSystem) &&
+ Objects.equals(this.relatedParty, event.relatedParty) &&
+ Objects.equals(this.analyticCharacteristic, event.analyticCharacteristic) &&
+ Objects.equals(this.eventId, event.eventId) &&
+ Objects.equals(this.eventTime, event.eventTime) &&
+ Objects.equals(this.eventType, event.eventType) &&
+ Objects.equals(this.event, event.event);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, href, id, correlationId, domain, title, description, priority, timeOccurred, source, reportingSystem, relatedParty, analyticCharacteristic, eventId, eventTime, eventType, event);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Event {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n");
+ sb.append(" domain: ").append(toIndentedString(domain)).append("\n");
+ sb.append(" title: ").append(toIndentedString(title)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" priority: ").append(toIndentedString(priority)).append("\n");
+ sb.append(" timeOccurred: ").append(toIndentedString(timeOccurred)).append("\n");
+ sb.append(" source: ").append(toIndentedString(source)).append("\n");
+ sb.append(" reportingSystem: ").append(toIndentedString(reportingSystem)).append("\n");
+ sb.append(" relatedParty: ").append(toIndentedString(relatedParty)).append("\n");
+ sb.append(" analyticCharacteristic: ").append(toIndentedString(analyticCharacteristic)).append("\n");
+ sb.append(" eventId: ").append(toIndentedString(eventId)).append("\n");
+ sb.append(" eventTime: ").append(toIndentedString(eventTime)).append("\n");
+ sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n");
+ sb.append(" event: ").append(toIndentedString(event)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/ExecutionStateType.java b/src/main/java/org/etsi/osl/tmf/pm628/model/ExecutionStateType.java
new file mode 100644
index 0000000000000000000000000000000000000000..ec5524948489247d17f49ebff216ff2d2e35912c
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/ExecutionStateType.java
@@ -0,0 +1,55 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+import javax.annotation.Generated;
+
+/**
+ * Possible values for the state of the execution
+ */
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public enum ExecutionStateType {
+
+ ACKNOWLEDGED("acknowledged"),
+
+ REJECTED("rejected"),
+
+ PENDING("pending"),
+
+ INPROGRESS("inProgress"),
+
+ CANCELLED("cancelled"),
+
+ COMPLETED("completed"),
+
+ FAILED("failed");
+
+ private String value;
+
+ ExecutionStateType(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static ExecutionStateType fromValue(String value) {
+ for (ExecutionStateType b : ExecutionStateType.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/Extensible.java b/src/main/java/org/etsi/osl/tmf/pm628/model/Extensible.java
new file mode 100644
index 0000000000000000000000000000000000000000..debf87656d51f9f5aea174f97a8ec20f561d2fa3
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/Extensible.java
@@ -0,0 +1,136 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * Base Extensible schema for use in TMForum Open-APIs - When used for in a schema it means that the Entity described by the schema MUST be extended with the @type
+ */
+
+@Schema(name = "Extensible", description = "Base Extensible schema for use in TMForum Open-APIs - When used for in a schema it means that the Entity described by the schema MUST be extended with the @type")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class Extensible {
+
+ private String atType;
+
+ private String atBaseType;
+
+ private String atSchemaLocation;
+
+ public Extensible() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public Extensible(String atType) {
+ this.atType = atType;
+ }
+
+ public Extensible atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return atType
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ public Extensible atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public Extensible atSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return atSchemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Extensible extensible = (Extensible) o;
+ return Objects.equals(this.atType, extensible.atType) &&
+ Objects.equals(this.atBaseType, extensible.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, extensible.atSchemaLocation);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(atType, atBaseType, atSchemaLocation);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Extensible {\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/ExtensibleFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/ExtensibleFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..6301240272bb0935b9251d312c72d5a6ab3be341
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/ExtensibleFVO.java
@@ -0,0 +1,138 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * Base Extensible schema for use in TMForum Open-APIs - When used for in a schema it means that the Entity described by the schema MUST be extended with the @type
+ */
+
+@Schema(name = "Extensible_FVO", description = "Base Extensible schema for use in TMForum Open-APIs - When used for in a schema it means that the Entity described by the schema MUST be extended with the @type")
+@JsonTypeName("Extensible_FVO")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class ExtensibleFVO {
+
+ private String atType;
+
+ private String atBaseType;
+
+ private String atSchemaLocation;
+
+ public ExtensibleFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public ExtensibleFVO(String atType) {
+ this.atType = atType;
+ }
+
+ public ExtensibleFVO atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return atType
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ public ExtensibleFVO atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public ExtensibleFVO atSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return atSchemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ExtensibleFVO extensibleFVO = (ExtensibleFVO) o;
+ return Objects.equals(this.atType, extensibleFVO.atType) &&
+ Objects.equals(this.atBaseType, extensibleFVO.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, extensibleFVO.atSchemaLocation);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(atType, atBaseType, atSchemaLocation);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ExtensibleFVO {\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/ExternalIdentifier.java b/src/main/java/org/etsi/osl/tmf/pm628/model/ExternalIdentifier.java
new file mode 100644
index 0000000000000000000000000000000000000000..708236b09979da26aba98409c5a459f85ccae28c
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/ExternalIdentifier.java
@@ -0,0 +1,223 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Column;
+import jakarta.persistence.Embeddable;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * ExternalIdentifier
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Embeddable
+public class ExternalIdentifier {
+
+ @JsonProperty("@type")
+ @Column(name = "ei_type")
+ protected String type;
+
+ @JsonProperty("@baseType")
+ @Column(name = "ei_base_type")
+ protected String baseType;
+
+ @JsonProperty("@schemaLocation")
+ @Column(name = "ei_schema_location")
+ protected String schemaLocation;
+
+ @JsonProperty("owner")
+ @Column(name = "ei_owner")
+ private String owner;
+
+ @JsonProperty("externalIdentifierType")
+ @Column(name = "ei_external_identifier_type")
+ private String externalIdentifierType;
+
+ @JsonProperty("id")
+ @Column(name = "ei_id")
+ protected String id;
+
+ public ExternalIdentifier() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public ExternalIdentifier(String type) {
+ this.type = type;
+ }
+
+ public ExternalIdentifier type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public ExternalIdentifier baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public ExternalIdentifier schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public ExternalIdentifier owner(String owner) {
+ this.owner = owner;
+ return this;
+ }
+
+ /**
+ * Name of the external system that owns the entity.
+ * @return owner
+ */
+
+ @Schema(name = "owner", example = "MagentoCommerce", description = "Name of the external system that owns the entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("owner")
+ public String getOwner() {
+ return owner;
+ }
+
+ public void setOwner(String owner) {
+ this.owner = owner;
+ }
+
+ public ExternalIdentifier externalIdentifierType(String externalIdentifierType) {
+ this.externalIdentifierType = externalIdentifierType;
+ return this;
+ }
+
+ /**
+ * Type of the identification, typically would be the type of the entity within the external system
+ * @return externalIdentifierType
+ */
+
+ @Schema(name = "externalIdentifierType", example = "ProductOrder", description = "Type of the identification, typically would be the type of the entity within the external system", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("externalIdentifierType")
+ public String getExternalIdentifierType() {
+ return externalIdentifierType;
+ }
+
+ public void setExternalIdentifierType(String externalIdentifierType) {
+ this.externalIdentifierType = externalIdentifierType;
+ }
+
+ public ExternalIdentifier id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * identification of the entity within the external system.
+ * @return id
+ */
+
+ @Schema(name = "id", description = "identification of the entity within the external system.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ExternalIdentifier externalIdentifier = (ExternalIdentifier) o;
+ return Objects.equals(this.type, externalIdentifier.type) &&
+ Objects.equals(this.baseType, externalIdentifier.baseType) &&
+ Objects.equals(this.schemaLocation, externalIdentifier.schemaLocation) &&
+ Objects.equals(this.owner, externalIdentifier.owner) &&
+ Objects.equals(this.externalIdentifierType, externalIdentifier.externalIdentifierType) &&
+ Objects.equals(this.id, externalIdentifier.id);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, owner, externalIdentifierType, id);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ExternalIdentifier {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" owner: ").append(toIndentedString(owner)).append("\n");
+ sb.append(" externalIdentifierType: ").append(toIndentedString(externalIdentifierType)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/ExternalIdentifierFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/ExternalIdentifierFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..41f01644de26036f1e4ae25f738e53b2bc0e1728
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/ExternalIdentifierFVO.java
@@ -0,0 +1,189 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * ExternalIdentifierFVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class ExternalIdentifierFVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("owner")
+ private String owner;
+
+ @JsonProperty("externalIdentifierType")
+ private String externalIdentifierType;
+
+ public ExternalIdentifierFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public ExternalIdentifierFVO(String type) {
+ this.type = type;
+ }
+
+ public ExternalIdentifierFVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public ExternalIdentifierFVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public ExternalIdentifierFVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public ExternalIdentifierFVO owner(String owner) {
+ this.owner = owner;
+ return this;
+ }
+
+ /**
+ * Name of the external system that owns the entity.
+ * @return owner
+ */
+
+ @Schema(name = "owner", example = "MagentoCommerce", description = "Name of the external system that owns the entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("owner")
+ public String getOwner() {
+ return owner;
+ }
+
+ public void setOwner(String owner) {
+ this.owner = owner;
+ }
+
+ public ExternalIdentifierFVO externalIdentifierType(String externalIdentifierType) {
+ this.externalIdentifierType = externalIdentifierType;
+ return this;
+ }
+
+ /**
+ * Type of the identification, typically would be the type of the entity within the external system
+ * @return externalIdentifierType
+ */
+
+ @Schema(name = "externalIdentifierType", example = "ProductOrder", description = "Type of the identification, typically would be the type of the entity within the external system", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("externalIdentifierType")
+ public String getExternalIdentifierType() {
+ return externalIdentifierType;
+ }
+
+ public void setExternalIdentifierType(String externalIdentifierType) {
+ this.externalIdentifierType = externalIdentifierType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ExternalIdentifierFVO externalIdentifierFVO = (ExternalIdentifierFVO) o;
+ return Objects.equals(this.type, externalIdentifierFVO.type) &&
+ Objects.equals(this.baseType, externalIdentifierFVO.baseType) &&
+ Objects.equals(this.schemaLocation, externalIdentifierFVO.schemaLocation) &&
+ Objects.equals(this.owner, externalIdentifierFVO.owner) &&
+ Objects.equals(this.externalIdentifierType, externalIdentifierFVO.externalIdentifierType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, owner, externalIdentifierType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ExternalIdentifierFVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" owner: ").append(toIndentedString(owner)).append("\n");
+ sb.append(" externalIdentifierType: ").append(toIndentedString(externalIdentifierType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/ExternalIdentifierMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/ExternalIdentifierMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..642f5d3c0630a448b478ceeae7fa4493c096a7c4
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/ExternalIdentifierMVO.java
@@ -0,0 +1,214 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * ExternalIdentifierMVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class ExternalIdentifierMVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("owner")
+ private String owner;
+
+ @JsonProperty("externalIdentifierType")
+ private String externalIdentifierType;
+
+ @JsonProperty("id")
+ private String id;
+
+ public ExternalIdentifierMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public ExternalIdentifierMVO(String type) {
+ this.type = type;
+ }
+
+ public ExternalIdentifierMVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public ExternalIdentifierMVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public ExternalIdentifierMVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public ExternalIdentifierMVO owner(String owner) {
+ this.owner = owner;
+ return this;
+ }
+
+ /**
+ * Name of the external system that owns the entity.
+ * @return owner
+ */
+
+ @Schema(name = "owner", example = "MagentoCommerce", description = "Name of the external system that owns the entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("owner")
+ public String getOwner() {
+ return owner;
+ }
+
+ public void setOwner(String owner) {
+ this.owner = owner;
+ }
+
+ public ExternalIdentifierMVO externalIdentifierType(String externalIdentifierType) {
+ this.externalIdentifierType = externalIdentifierType;
+ return this;
+ }
+
+ /**
+ * Type of the identification, typically would be the type of the entity within the external system
+ * @return externalIdentifierType
+ */
+
+ @Schema(name = "externalIdentifierType", example = "ProductOrder", description = "Type of the identification, typically would be the type of the entity within the external system", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("externalIdentifierType")
+ public String getExternalIdentifierType() {
+ return externalIdentifierType;
+ }
+
+ public void setExternalIdentifierType(String externalIdentifierType) {
+ this.externalIdentifierType = externalIdentifierType;
+ }
+
+ public ExternalIdentifierMVO id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * identification of the entity within the external system.
+ * @return id
+ */
+
+ @Schema(name = "id", description = "identification of the entity within the external system.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ExternalIdentifierMVO externalIdentifierMVO = (ExternalIdentifierMVO) o;
+ return Objects.equals(this.type, externalIdentifierMVO.type) &&
+ Objects.equals(this.baseType, externalIdentifierMVO.baseType) &&
+ Objects.equals(this.schemaLocation, externalIdentifierMVO.schemaLocation) &&
+ Objects.equals(this.owner, externalIdentifierMVO.owner) &&
+ Objects.equals(this.externalIdentifierType, externalIdentifierMVO.externalIdentifierType) &&
+ Objects.equals(this.id, externalIdentifierMVO.id);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, owner, externalIdentifierType, id);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ExternalIdentifierMVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" owner: ").append(toIndentedString(owner)).append("\n");
+ sb.append(" externalIdentifierType: ").append(toIndentedString(externalIdentifierType)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/Feature.java b/src/main/java/org/etsi/osl/tmf/pm628/model/Feature.java
new file mode 100644
index 0000000000000000000000000000000000000000..27e00a8f36b541420f0a16c068dd525c7cefcf11
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/Feature.java
@@ -0,0 +1,237 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.CascadeType;
+import jakarta.persistence.ElementCollection;
+import jakarta.persistence.Entity;
+import jakarta.persistence.OneToMany;
+import jakarta.validation.Valid;
+import org.etsi.osl.tmf.common.model.BaseRootNamedEntity;
+
+import javax.annotation.Generated;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * Feature
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Entity(name = "PM628_Feature")
+public class Feature extends BaseRootNamedEntity {
+
+ @JsonProperty("isBundle")
+ private Boolean isBundle;
+
+ @JsonProperty("featureRelationship")
+ @Valid
+ @ElementCollection(targetClass = FeatureRelationship.class)
+ private List featureRelationship = new ArrayList<>();
+
+ @JsonProperty("featureCharacteristic")
+ @Valid
+ @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
+ private List featureCharacteristic = new ArrayList<>();
+
+ @JsonProperty("policyConstraint")
+ @Valid
+ @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
+ private List policyConstraint = new ArrayList<>();
+
+ @JsonProperty("isEnabled")
+ private Boolean isEnabled;
+
+ public Feature() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public Feature(String type) {
+ this.type = type;
+ }
+
+ public Feature isBundle(Boolean isBundle) {
+ this.isBundle = isBundle;
+ return this;
+ }
+
+ /**
+ * True if this is a feature group. Default is false.
+ * @return isBundle
+ */
+
+ @Schema(name = "isBundle", description = "True if this is a feature group. Default is false.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("isBundle")
+ public Boolean getIsBundle() {
+ return isBundle;
+ }
+
+ public void setIsBundle(Boolean isBundle) {
+ this.isBundle = isBundle;
+ }
+
+ public Feature featureRelationship(List featureRelationship) {
+ this.featureRelationship = featureRelationship;
+ return this;
+ }
+
+ public Feature addFeatureRelationshipItem(FeatureRelationship featureRelationshipItem) {
+ if (this.featureRelationship == null) {
+ this.featureRelationship = new ArrayList<>();
+ }
+ this.featureRelationship.add(featureRelationshipItem);
+ return this;
+ }
+
+ /**
+ * Collection of feature relationships
+ * @return featureRelationship
+ */
+ @Valid
+ @Schema(name = "featureRelationship", description = "Collection of feature relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("featureRelationship")
+ public List getFeatureRelationship() {
+ return featureRelationship;
+ }
+
+ public void setFeatureRelationship(List featureRelationship) {
+ this.featureRelationship = featureRelationship;
+ }
+
+ public Feature featureCharacteristic(List featureCharacteristic) {
+ this.featureCharacteristic = featureCharacteristic;
+ return this;
+ }
+
+ public Feature addFeatureCharacteristicItem(Characteristic featureCharacteristicItem) {
+ if (this.featureCharacteristic == null) {
+ this.featureCharacteristic = new ArrayList<>();
+ }
+ this.featureCharacteristic.add(featureCharacteristicItem);
+ return this;
+ }
+
+ /**
+ * This is a list of Characteristics for a particular feature.
+ * @return featureCharacteristic
+ */
+ @Valid
+ @Schema(name = "featureCharacteristic", description = "This is a list of Characteristics for a particular feature.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("featureCharacteristic")
+ public List getFeatureCharacteristic() {
+ return featureCharacteristic;
+ }
+
+ public void setFeatureCharacteristic(List featureCharacteristic) {
+ this.featureCharacteristic = featureCharacteristic;
+ }
+
+ public Feature policyConstraint(List policyConstraint) {
+ this.policyConstraint = policyConstraint;
+ return this;
+ }
+
+ public Feature addPolicyConstraintItem(PolicyRef policyConstraintItem) {
+ if (this.policyConstraint == null) {
+ this.policyConstraint = new ArrayList<>();
+ }
+ this.policyConstraint.add(policyConstraintItem);
+ return this;
+ }
+
+ /**
+ * Reference to manage a list of feature specification policy constraints
+ * @return policyConstraint
+ */
+ @Valid
+ @Schema(name = "policyConstraint", description = "Reference to manage a list of feature specification policy constraints", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("policyConstraint")
+ public List getPolicyConstraint() {
+ return policyConstraint;
+ }
+
+ public void setPolicyConstraint(List policyConstraint) {
+ this.policyConstraint = policyConstraint;
+ }
+
+ public Feature isEnabled(Boolean isEnabled) {
+ this.isEnabled = isEnabled;
+ return this;
+ }
+
+ /**
+ * True if this feature is enabled. Default is true.
+ * @return isEnabled
+ */
+
+ @Schema(name = "isEnabled", description = "True if this feature is enabled. Default is true.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("isEnabled")
+ public Boolean getIsEnabled() {
+ return isEnabled;
+ }
+
+ public void setIsEnabled(Boolean isEnabled) {
+ this.isEnabled = isEnabled;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Feature feature = (Feature) o;
+ return Objects.equals(this.type, feature.type) &&
+ Objects.equals(this.baseType, feature.baseType) &&
+ Objects.equals(this.schemaLocation, feature.schemaLocation) &&
+ Objects.equals(this.isBundle, feature.isBundle) &&
+ Objects.equals(this.featureRelationship, feature.featureRelationship) &&
+ Objects.equals(this.featureCharacteristic, feature.featureCharacteristic) &&
+ Objects.equals(this.policyConstraint, feature.policyConstraint) &&
+ Objects.equals(this.isEnabled, feature.isEnabled) &&
+ Objects.equals(this.uuid, feature.uuid) &&
+ Objects.equals(this.name, feature.name);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, isBundle, featureRelationship, featureCharacteristic, policyConstraint, isEnabled, uuid, name);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Feature {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" isBundle: ").append(toIndentedString(isBundle)).append("\n");
+ sb.append(" featureRelationship: ").append(toIndentedString(featureRelationship)).append("\n");
+ sb.append(" featureCharacteristic: ").append(toIndentedString(featureCharacteristic)).append("\n");
+ sb.append(" policyConstraint: ").append(toIndentedString(policyConstraint)).append("\n");
+ sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n");
+ sb.append(" id: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..401bd5c8c9bc464f41ee3257bc9d8e5f103fa358
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureFVO.java
@@ -0,0 +1,319 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * FeatureFVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class FeatureFVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("isBundle")
+ private Boolean isBundle;
+
+ @JsonProperty("featureRelationship")
+ @Valid
+ private List featureRelationship = new ArrayList<>();
+
+ @JsonProperty("featureCharacteristic")
+ @Valid
+ private List featureCharacteristic = new ArrayList<>();
+
+ @JsonProperty("policyConstraint")
+ @Valid
+ private List policyConstraint = new ArrayList<>();
+
+ @JsonProperty("isEnabled")
+ private Boolean isEnabled;
+
+ @JsonProperty("name")
+ private String name;
+
+ public FeatureFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public FeatureFVO(String type) {
+ this.type = type;
+ }
+
+ public FeatureFVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public FeatureFVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public FeatureFVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public FeatureFVO isBundle(Boolean isBundle) {
+ this.isBundle = isBundle;
+ return this;
+ }
+
+ /**
+ * True if this is a feature group. Default is false.
+ * @return isBundle
+ */
+
+ @Schema(name = "isBundle", description = "True if this is a feature group. Default is false.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("isBundle")
+ public Boolean getIsBundle() {
+ return isBundle;
+ }
+
+ public void setIsBundle(Boolean isBundle) {
+ this.isBundle = isBundle;
+ }
+
+ public FeatureFVO featureRelationship(List featureRelationship) {
+ this.featureRelationship = featureRelationship;
+ return this;
+ }
+
+ public FeatureFVO addFeatureRelationshipItem(FeatureRelationshipFVO featureRelationshipItem) {
+ if (this.featureRelationship == null) {
+ this.featureRelationship = new ArrayList<>();
+ }
+ this.featureRelationship.add(featureRelationshipItem);
+ return this;
+ }
+
+ /**
+ * Collection of feature relationships
+ * @return featureRelationship
+ */
+ @Valid
+ @Schema(name = "featureRelationship", description = "Collection of feature relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("featureRelationship")
+ public List getFeatureRelationship() {
+ return featureRelationship;
+ }
+
+ public void setFeatureRelationship(List featureRelationship) {
+ this.featureRelationship = featureRelationship;
+ }
+
+ public FeatureFVO featureCharacteristic(List featureCharacteristic) {
+ this.featureCharacteristic = featureCharacteristic;
+ return this;
+ }
+
+ public FeatureFVO addFeatureCharacteristicItem(CharacteristicFVO featureCharacteristicItem) {
+ if (this.featureCharacteristic == null) {
+ this.featureCharacteristic = new ArrayList<>();
+ }
+ this.featureCharacteristic.add(featureCharacteristicItem);
+ return this;
+ }
+
+ /**
+ * This is a list of Characteristics for a particular feature.
+ * @return featureCharacteristic
+ */
+ @Valid
+ @Schema(name = "featureCharacteristic", description = "This is a list of Characteristics for a particular feature.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("featureCharacteristic")
+ public List getFeatureCharacteristic() {
+ return featureCharacteristic;
+ }
+
+ public void setFeatureCharacteristic(List featureCharacteristic) {
+ this.featureCharacteristic = featureCharacteristic;
+ }
+
+ public FeatureFVO policyConstraint(List policyConstraint) {
+ this.policyConstraint = policyConstraint;
+ return this;
+ }
+
+ public FeatureFVO addPolicyConstraintItem(PolicyRefFVO policyConstraintItem) {
+ if (this.policyConstraint == null) {
+ this.policyConstraint = new ArrayList<>();
+ }
+ this.policyConstraint.add(policyConstraintItem);
+ return this;
+ }
+
+ /**
+ * Reference to manage a list of feature specification policy constraints
+ * @return policyConstraint
+ */
+ @Valid
+ @Schema(name = "policyConstraint", description = "Reference to manage a list of feature specification policy constraints", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("policyConstraint")
+ public List getPolicyConstraint() {
+ return policyConstraint;
+ }
+
+ public void setPolicyConstraint(List policyConstraint) {
+ this.policyConstraint = policyConstraint;
+ }
+
+ public FeatureFVO isEnabled(Boolean isEnabled) {
+ this.isEnabled = isEnabled;
+ return this;
+ }
+
+ /**
+ * True if this feature is enabled. Default is true.
+ * @return isEnabled
+ */
+
+ @Schema(name = "isEnabled", description = "True if this feature is enabled. Default is true.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("isEnabled")
+ public Boolean getIsEnabled() {
+ return isEnabled;
+ }
+
+ public void setIsEnabled(Boolean isEnabled) {
+ this.isEnabled = isEnabled;
+ }
+
+ public FeatureFVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * This is the name for the feature.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "This is the name for the feature.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FeatureFVO featureFVO = (FeatureFVO) o;
+ return Objects.equals(this.type, featureFVO.type) &&
+ Objects.equals(this.baseType, featureFVO.baseType) &&
+ Objects.equals(this.schemaLocation, featureFVO.schemaLocation) &&
+ Objects.equals(this.isBundle, featureFVO.isBundle) &&
+ Objects.equals(this.featureRelationship, featureFVO.featureRelationship) &&
+ Objects.equals(this.featureCharacteristic, featureFVO.featureCharacteristic) &&
+ Objects.equals(this.policyConstraint, featureFVO.policyConstraint) &&
+ Objects.equals(this.isEnabled, featureFVO.isEnabled) &&
+ Objects.equals(this.name, featureFVO.name);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, isBundle, featureRelationship, featureCharacteristic, policyConstraint, isEnabled, name);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FeatureFVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" isBundle: ").append(toIndentedString(isBundle)).append("\n");
+ sb.append(" featureRelationship: ").append(toIndentedString(featureRelationship)).append("\n");
+ sb.append(" featureCharacteristic: ").append(toIndentedString(featureCharacteristic)).append("\n");
+ sb.append(" policyConstraint: ").append(toIndentedString(policyConstraint)).append("\n");
+ sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..91dd2e5df985ecacf979932e02b03b7d75fb45cf
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureMVO.java
@@ -0,0 +1,345 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * FeatureMVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class FeatureMVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("isBundle")
+ private Boolean isBundle;
+
+ @JsonProperty("featureRelationship")
+ @Valid
+ private List featureRelationship = new ArrayList<>();
+
+ @JsonProperty("featureCharacteristic")
+ @Valid
+ private List featureCharacteristic = new ArrayList<>();
+
+ @JsonProperty("policyConstraint")
+ @Valid
+ private List policyConstraint = new ArrayList<>();
+
+ @JsonProperty("isEnabled")
+ private Boolean isEnabled;
+
+ @JsonProperty("uuid")
+ private String uuid;
+
+ @JsonProperty("name")
+ private String name;
+
+ public FeatureMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public FeatureMVO(String type, String name) {
+ this.type = type;
+ this.name = name;
+ }
+
+ public FeatureMVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public FeatureMVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public FeatureMVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public FeatureMVO isBundle(Boolean isBundle) {
+ this.isBundle = isBundle;
+ return this;
+ }
+
+ /**
+ * True if this is a feature group. Default is false.
+ * @return isBundle
+ */
+
+ @Schema(name = "isBundle", description = "True if this is a feature group. Default is false.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("isBundle")
+ public Boolean getIsBundle() {
+ return isBundle;
+ }
+
+ public void setIsBundle(Boolean isBundle) {
+ this.isBundle = isBundle;
+ }
+
+ public FeatureMVO featureRelationship(List featureRelationship) {
+ this.featureRelationship = featureRelationship;
+ return this;
+ }
+
+ public FeatureMVO addFeatureRelationshipItem(FeatureRelationshipMVO featureRelationshipItem) {
+ if (this.featureRelationship == null) {
+ this.featureRelationship = new ArrayList<>();
+ }
+ this.featureRelationship.add(featureRelationshipItem);
+ return this;
+ }
+
+ /**
+ * Collection of feature relationships
+ * @return featureRelationship
+ */
+ @Valid
+ @Schema(name = "featureRelationship", description = "Collection of feature relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("featureRelationship")
+ public List getFeatureRelationship() {
+ return featureRelationship;
+ }
+
+ public void setFeatureRelationship(List featureRelationship) {
+ this.featureRelationship = featureRelationship;
+ }
+
+ public FeatureMVO featureCharacteristic(List featureCharacteristic) {
+ this.featureCharacteristic = featureCharacteristic;
+ return this;
+ }
+
+ public FeatureMVO addFeatureCharacteristicItem(CharacteristicMVO featureCharacteristicItem) {
+ if (this.featureCharacteristic == null) {
+ this.featureCharacteristic = new ArrayList<>();
+ }
+ this.featureCharacteristic.add(featureCharacteristicItem);
+ return this;
+ }
+
+ /**
+ * This is a list of Characteristics for a particular feature.
+ * @return featureCharacteristic
+ */
+ @Valid
+ @Schema(name = "featureCharacteristic", description = "This is a list of Characteristics for a particular feature.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("featureCharacteristic")
+ public List getFeatureCharacteristic() {
+ return featureCharacteristic;
+ }
+
+ public void setFeatureCharacteristic(List featureCharacteristic) {
+ this.featureCharacteristic = featureCharacteristic;
+ }
+
+ public FeatureMVO policyConstraint(List policyConstraint) {
+ this.policyConstraint = policyConstraint;
+ return this;
+ }
+
+ public FeatureMVO addPolicyConstraintItem(PolicyRefMVO policyConstraintItem) {
+ if (this.policyConstraint == null) {
+ this.policyConstraint = new ArrayList<>();
+ }
+ this.policyConstraint.add(policyConstraintItem);
+ return this;
+ }
+
+ /**
+ * Reference to manage a list of feature specification policy constraints
+ * @return policyConstraint
+ */
+ @Valid
+ @Schema(name = "policyConstraint", description = "Reference to manage a list of feature specification policy constraints", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("policyConstraint")
+ public List getPolicyConstraint() {
+ return policyConstraint;
+ }
+
+ public void setPolicyConstraint(List policyConstraint) {
+ this.policyConstraint = policyConstraint;
+ }
+
+ public FeatureMVO isEnabled(Boolean isEnabled) {
+ this.isEnabled = isEnabled;
+ return this;
+ }
+
+ /**
+ * True if this feature is enabled. Default is true.
+ * @return isEnabled
+ */
+
+ @Schema(name = "isEnabled", description = "True if this feature is enabled. Default is true.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("isEnabled")
+ public Boolean getIsEnabled() {
+ return isEnabled;
+ }
+
+ public void setIsEnabled(Boolean isEnabled) {
+ this.isEnabled = isEnabled;
+ }
+
+ public FeatureMVO uuid(String uuid) {
+ this.uuid = uuid;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ * @return id
+ */
+
+ @Schema(name = "uuid", description = "unique identifier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("uuid")
+ public String getUuid() {
+ return uuid;
+ }
+
+ public void setUuid(String uuid) {
+ this.uuid = uuid;
+ }
+
+ public FeatureMVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * This is the name for the feature.
+ * @return name
+ */
+ @NotNull
+ @Schema(name = "name", description = "This is the name for the feature.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FeatureMVO featureMVO = (FeatureMVO) o;
+ return Objects.equals(this.type, featureMVO.type) &&
+ Objects.equals(this.baseType, featureMVO.baseType) &&
+ Objects.equals(this.schemaLocation, featureMVO.schemaLocation) &&
+ Objects.equals(this.isBundle, featureMVO.isBundle) &&
+ Objects.equals(this.featureRelationship, featureMVO.featureRelationship) &&
+ Objects.equals(this.featureCharacteristic, featureMVO.featureCharacteristic) &&
+ Objects.equals(this.policyConstraint, featureMVO.policyConstraint) &&
+ Objects.equals(this.isEnabled, featureMVO.isEnabled) &&
+ Objects.equals(this.uuid, featureMVO.uuid) &&
+ Objects.equals(this.name, featureMVO.name);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, isBundle, featureRelationship, featureCharacteristic, policyConstraint, isEnabled, uuid, name);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FeatureMVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" isBundle: ").append(toIndentedString(isBundle)).append("\n");
+ sb.append(" featureRelationship: ").append(toIndentedString(featureRelationship)).append("\n");
+ sb.append(" featureCharacteristic: ").append(toIndentedString(featureCharacteristic)).append("\n");
+ sb.append(" policyConstraint: ").append(toIndentedString(policyConstraint)).append("\n");
+ sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n");
+ sb.append(" id: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureRelationship.java b/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureRelationship.java
new file mode 100644
index 0000000000000000000000000000000000000000..7f570487468732460f1751d14d1fb5924824a993
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureRelationship.java
@@ -0,0 +1,334 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonValue;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Embeddable;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * FeatureRelationship
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Embeddable
+public class FeatureRelationship {
+
+ @JsonProperty("@type")
+ protected String type;
+
+ @JsonProperty("@baseType")
+ protected String baseType;
+
+ @JsonProperty("@schemaLocation")
+ protected String schemaLocation;
+
+ @JsonProperty("href")
+ protected String href;
+
+ @JsonProperty("id")
+ protected String id;
+
+ @JsonProperty("name")
+ protected String name;
+
+ @JsonProperty("@referredType")
+ private String referredType;
+
+ /**
+ * This is the type of the feature relationship.
+ */
+ public enum RelationshipTypeEnum {
+ EXCLUDED("excluded"),
+
+ INCLUDES("includes"),
+
+ MAY_INCLUDE("may include"),
+
+ REQUIRES("requires");
+
+ private String value;
+
+ RelationshipTypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static RelationshipTypeEnum fromValue(String value) {
+ for (RelationshipTypeEnum b : RelationshipTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ @JsonProperty("relationshipType")
+ private RelationshipTypeEnum relationshipType;
+
+ @JsonProperty("validFor")
+ private TimePeriod validFor;
+
+ public FeatureRelationship() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public FeatureRelationship(String type, String id) {
+ this.type = type;
+ this.id = id;
+ }
+
+ public FeatureRelationship type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public FeatureRelationship baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public FeatureRelationship schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public FeatureRelationship href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * The URI of the referred entity.
+ * @return href
+ */
+
+ @Schema(name = "href", description = "The URI of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public FeatureRelationship id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * The identifier of the referred entity.
+ * @return id
+ */
+ @NotNull
+ @Schema(name = "id", description = "The identifier of the referred entity.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public FeatureRelationship name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * This is the name of the target feature.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "This is the name of the target feature.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public FeatureRelationship referredType(String referredType) {
+ this.referredType = referredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ * @return referredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getReferredType() {
+ return referredType;
+ }
+
+ public void setReferredType(String referredType) {
+ this.referredType = referredType;
+ }
+
+ public FeatureRelationship relationshipType(RelationshipTypeEnum relationshipType) {
+ this.relationshipType = relationshipType;
+ return this;
+ }
+
+ /**
+ * This is the type of the feature relationship.
+ * @return relationshipType
+ */
+
+ @Schema(name = "relationshipType", description = "This is the type of the feature relationship.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("relationshipType")
+ public RelationshipTypeEnum getRelationshipType() {
+ return relationshipType;
+ }
+
+ public void setRelationshipType(RelationshipTypeEnum relationshipType) {
+ this.relationshipType = relationshipType;
+ }
+
+ public FeatureRelationship validFor(TimePeriod validFor) {
+ this.validFor = validFor;
+ return this;
+ }
+
+ /**
+ * Get validFor
+ * @return validFor
+ */
+ @Valid
+ @Schema(name = "validFor", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("validFor")
+ public TimePeriod getValidFor() {
+ return validFor;
+ }
+
+ public void setValidFor(TimePeriod validFor) {
+ this.validFor = validFor;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FeatureRelationship featureRelationship = (FeatureRelationship) o;
+ return Objects.equals(this.type, featureRelationship.type) &&
+ Objects.equals(this.baseType, featureRelationship.baseType) &&
+ Objects.equals(this.schemaLocation, featureRelationship.schemaLocation) &&
+ Objects.equals(this.href, featureRelationship.href) &&
+ Objects.equals(this.id, featureRelationship.id) &&
+ Objects.equals(this.name, featureRelationship.name) &&
+ Objects.equals(this.referredType, featureRelationship.referredType) &&
+ Objects.equals(this.relationshipType, featureRelationship.relationshipType) &&
+ Objects.equals(this.validFor, featureRelationship.validFor);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, href, id, name, referredType, relationshipType, validFor);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FeatureRelationship {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" referredType: ").append(toIndentedString(referredType)).append("\n");
+ sb.append(" relationshipType: ").append(toIndentedString(relationshipType)).append("\n");
+ sb.append(" validFor: ").append(toIndentedString(validFor)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureRelationshipFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureRelationshipFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..dde4c8e037683cc17ae060b2aed5458595a392b2
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureRelationshipFVO.java
@@ -0,0 +1,333 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonValue;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * FeatureRelationshipFVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class FeatureRelationshipFVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("href")
+ private String href;
+
+ @JsonProperty("id")
+ private String id;
+
+ @JsonProperty("name")
+ private String name;
+
+ @JsonProperty("@referredType")
+ private String referredType;
+
+ /**
+ * This is the type of the feature relationship.
+ */
+ public enum RelationshipTypeEnum {
+ EXCLUDED("excluded"),
+
+ INCLUDES("includes"),
+
+ MAY_INCLUDE("may include"),
+
+ REQUIRES("requires");
+
+ private String value;
+
+ RelationshipTypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static RelationshipTypeEnum fromValue(String value) {
+ for (RelationshipTypeEnum b : RelationshipTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ @JsonProperty("relationshipType")
+ private RelationshipTypeEnum relationshipType;
+
+ @JsonProperty("validFor")
+ private TimePeriod validFor;
+
+ public FeatureRelationshipFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public FeatureRelationshipFVO(String type, String id, RelationshipTypeEnum relationshipType) {
+ this.type = type;
+ this.id = id;
+ this.relationshipType = relationshipType;
+ }
+
+ public FeatureRelationshipFVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public FeatureRelationshipFVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public FeatureRelationshipFVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getAtSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setAtSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public FeatureRelationshipFVO href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public FeatureRelationshipFVO id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ * @return id
+ */
+ @NotNull
+ @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public FeatureRelationshipFVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * This is the name of the target feature.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "This is the name of the target feature.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public FeatureRelationshipFVO referredType(String referredType) {
+ this.referredType = referredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ * @return referredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getReferredType() {
+ return referredType;
+ }
+
+ public void setReferredType(String referredType) {
+ this.referredType = referredType;
+ }
+
+ public FeatureRelationshipFVO relationshipType(RelationshipTypeEnum relationshipType) {
+ this.relationshipType = relationshipType;
+ return this;
+ }
+
+ /**
+ * This is the type of the feature relationship.
+ * @return relationshipType
+ */
+ @NotNull
+ @Schema(name = "relationshipType", description = "This is the type of the feature relationship.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("relationshipType")
+ public RelationshipTypeEnum getRelationshipType() {
+ return relationshipType;
+ }
+
+ public void setRelationshipType(RelationshipTypeEnum relationshipType) {
+ this.relationshipType = relationshipType;
+ }
+
+ public FeatureRelationshipFVO validFor(TimePeriod validFor) {
+ this.validFor = validFor;
+ return this;
+ }
+
+ /**
+ * Get validFor
+ * @return validFor
+ */
+ @Valid
+ @Schema(name = "validFor", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("validFor")
+ public TimePeriod getValidFor() {
+ return validFor;
+ }
+
+ public void setValidFor(TimePeriod validFor) {
+ this.validFor = validFor;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FeatureRelationshipFVO featureRelationshipFVO = (FeatureRelationshipFVO) o;
+ return Objects.equals(this.type, featureRelationshipFVO.type) &&
+ Objects.equals(this.baseType, featureRelationshipFVO.baseType) &&
+ Objects.equals(this.schemaLocation, featureRelationshipFVO.schemaLocation) &&
+ Objects.equals(this.href, featureRelationshipFVO.href) &&
+ Objects.equals(this.id, featureRelationshipFVO.id) &&
+ Objects.equals(this.name, featureRelationshipFVO.name) &&
+ Objects.equals(this.referredType, featureRelationshipFVO.referredType) &&
+ Objects.equals(this.relationshipType, featureRelationshipFVO.relationshipType) &&
+ Objects.equals(this.validFor, featureRelationshipFVO.validFor);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, href, id, name, referredType, relationshipType, validFor);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FeatureRelationshipFVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" referredType: ").append(toIndentedString(referredType)).append("\n");
+ sb.append(" relationshipType: ").append(toIndentedString(relationshipType)).append("\n");
+ sb.append(" validFor: ").append(toIndentedString(validFor)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureRelationshipMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureRelationshipMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..864fb64be7e1767394fcff1f8392dfcf16c9784d
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/FeatureRelationshipMVO.java
@@ -0,0 +1,333 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonValue;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * FeatureRelationshipMVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class FeatureRelationshipMVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("href")
+ private String href;
+
+ @JsonProperty("id")
+ private String id;
+
+ @JsonProperty("name")
+ private String name;
+
+ @JsonProperty("@referredType")
+ private String referredType;
+
+ /**
+ * This is the type of the feature relationship.
+ */
+ public enum RelationshipTypeEnum {
+ EXCLUDED("excluded"),
+
+ INCLUDES("includes"),
+
+ MAY_INCLUDE("may include"),
+
+ REQUIRES("requires");
+
+ private String value;
+
+ RelationshipTypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static RelationshipTypeEnum fromValue(String value) {
+ for (RelationshipTypeEnum b : RelationshipTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ @JsonProperty("relationshipType")
+ private RelationshipTypeEnum relationshipType;
+
+ @JsonProperty("validFor")
+ private TimePeriod validFor;
+
+ public FeatureRelationshipMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public FeatureRelationshipMVO(String type, String id, RelationshipTypeEnum relationshipType) {
+ this.type = type;
+ this.id = id;
+ this.relationshipType = relationshipType;
+ }
+
+ public FeatureRelationshipMVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public FeatureRelationshipMVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public FeatureRelationshipMVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public FeatureRelationshipMVO href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public FeatureRelationshipMVO id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * The identifier of the referred entity.
+ * @return id
+ */
+ @NotNull
+ @Schema(name = "id", description = "The identifier of the referred entity.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public FeatureRelationshipMVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * This is the name of the target feature.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "This is the name of the target feature.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public FeatureRelationshipMVO referredType(String referredType) {
+ this.referredType = referredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ * @return referredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getReferredType() {
+ return referredType;
+ }
+
+ public void setReferredType(String referredType) {
+ this.referredType = referredType;
+ }
+
+ public FeatureRelationshipMVO relationshipType(RelationshipTypeEnum relationshipType) {
+ this.relationshipType = relationshipType;
+ return this;
+ }
+
+ /**
+ * This is the type of the feature relationship.
+ * @return relationshipType
+ */
+ @NotNull
+ @Schema(name = "relationshipType", description = "This is the type of the feature relationship.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("relationshipType")
+ public RelationshipTypeEnum getRelationshipType() {
+ return relationshipType;
+ }
+
+ public void setRelationshipType(RelationshipTypeEnum relationshipType) {
+ this.relationshipType = relationshipType;
+ }
+
+ public FeatureRelationshipMVO validFor(TimePeriod validFor) {
+ this.validFor = validFor;
+ return this;
+ }
+
+ /**
+ * Get validFor
+ * @return validFor
+ */
+ @Valid
+ @Schema(name = "validFor", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("validFor")
+ public TimePeriod getValidFor() {
+ return validFor;
+ }
+
+ public void setValidFor(TimePeriod validFor) {
+ this.validFor = validFor;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FeatureRelationshipMVO featureRelationshipMVO = (FeatureRelationshipMVO) o;
+ return Objects.equals(this.type, featureRelationshipMVO.type) &&
+ Objects.equals(this.baseType, featureRelationshipMVO.baseType) &&
+ Objects.equals(this.schemaLocation, featureRelationshipMVO.schemaLocation) &&
+ Objects.equals(this.href, featureRelationshipMVO.href) &&
+ Objects.equals(this.id, featureRelationshipMVO.id) &&
+ Objects.equals(this.name, featureRelationshipMVO.name) &&
+ Objects.equals(this.referredType, featureRelationshipMVO.referredType) &&
+ Objects.equals(this.relationshipType, featureRelationshipMVO.relationshipType) &&
+ Objects.equals(this.validFor, featureRelationshipMVO.validFor);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, href, id, name, referredType, relationshipType, validFor);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FeatureRelationshipMVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" referredType: ").append(toIndentedString(referredType)).append("\n");
+ sb.append(" relationshipType: ").append(toIndentedString(relationshipType)).append("\n");
+ sb.append(" validFor: ").append(toIndentedString(validFor)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/FileTransferData.java b/src/main/java/org/etsi/osl/tmf/pm628/model/FileTransferData.java
new file mode 100644
index 0000000000000000000000000000000000000000..b5cc6a907b6bc52c829118e5a1fe5b66a546c3aa
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/FileTransferData.java
@@ -0,0 +1,284 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Column;
+import jakarta.persistence.Embeddable;
+import jakarta.persistence.Embedded;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.net.URI;
+import java.util.Objects;
+
+/**
+ * FileTransferData
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Embeddable
+public class FileTransferData extends ProtocolTransferData {
+
+ @JsonProperty("@type")
+ @Column(name = "ftd_type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ @Column(name = "ftd_base_type")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ @Column(name = "ftd_schema_location")
+ private String schemaLocation;
+
+ @JsonProperty("fileLocation")
+ private URI fileLocation;
+
+ @JsonProperty("fileFormat")
+ private String fileFormat;
+
+ @JsonProperty("compressionType")
+ @Embedded
+ private CompressionType compressionType;
+
+ @JsonProperty("retentionPeriod")
+ @Embedded
+ private Duration retentionPeriod;
+
+ @JsonProperty("packingType")
+ @Embedded
+ private PackingType packingType;
+
+ public FileTransferData() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public FileTransferData(String type) {
+ super();
+ this.type = type;
+ }
+
+ public FileTransferData type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public FileTransferData baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public FileTransferData schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public FileTransferData fileLocation(URI fileLocation) {
+ this.fileLocation = fileLocation;
+ return this;
+ }
+
+ /**
+ * Get fileLocation
+ * @return fileLocation
+ */
+ @Valid
+ @Schema(name = "fileLocation", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("fileLocation")
+ public URI getFileLocation() {
+ return fileLocation;
+ }
+
+ public void setFileLocation(URI fileLocation) {
+ this.fileLocation = fileLocation;
+ }
+
+ public FileTransferData fileFormat(String fileFormat) {
+ this.fileFormat = fileFormat;
+ return this;
+ }
+
+ /**
+ * Get fileFormat
+ * @return fileFormat
+ */
+
+ @Schema(name = "fileFormat", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("fileFormat")
+ public String getFileFormat() {
+ return fileFormat;
+ }
+
+ public void setFileFormat(String fileFormat) {
+ this.fileFormat = fileFormat;
+ }
+
+ public FileTransferData compressionType(CompressionType compressionType) {
+ this.compressionType = compressionType;
+ return this;
+ }
+
+ /**
+ * Get compressionType
+ * @return compressionType
+ */
+ @Valid
+ @Schema(name = "compressionType", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("compressionType")
+ public CompressionType getCompressionType() {
+ return compressionType;
+ }
+
+ public void setCompressionType(CompressionType compressionType) {
+ this.compressionType = compressionType;
+ }
+
+ public FileTransferData retentionPeriod(Duration retentionPeriod) {
+ this.retentionPeriod = retentionPeriod;
+ return this;
+ }
+
+ /**
+ * Get retentionPeriod
+ * @return retentionPeriod
+ */
+ @Valid
+ @Schema(name = "retentionPeriod", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("retentionPeriod")
+ public Duration getRetentionPeriod() {
+ return retentionPeriod;
+ }
+
+ public void setRetentionPeriod(Duration retentionPeriod) {
+ this.retentionPeriod = retentionPeriod;
+ }
+
+ public FileTransferData packingType(PackingType packingType) {
+ this.packingType = packingType;
+ return this;
+ }
+
+ /**
+ * Get packingType
+ * @return packingType
+ */
+ @Valid
+ @Schema(name = "packingType", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("packingType")
+ public PackingType getPackingType() {
+ return packingType;
+ }
+
+ public void setPackingType(PackingType packingType) {
+ this.packingType = packingType;
+ }
+
+
+ public FileTransferData transportProtocol(String transportProtocol) {
+ super.transportProtocol(transportProtocol);
+ return this;
+ }
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FileTransferData fileTransferData = (FileTransferData) o;
+ return Objects.equals(this.type, fileTransferData.type) &&
+ Objects.equals(this.baseType, fileTransferData.baseType) &&
+ Objects.equals(this.schemaLocation, fileTransferData.schemaLocation) &&
+ Objects.equals(this.fileLocation, fileTransferData.fileLocation) &&
+ Objects.equals(this.fileFormat, fileTransferData.fileFormat) &&
+ Objects.equals(this.compressionType, fileTransferData.compressionType) &&
+ Objects.equals(this.retentionPeriod, fileTransferData.retentionPeriod) &&
+ Objects.equals(this.packingType, fileTransferData.packingType) &&
+ super.equals(o);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, fileLocation, fileFormat, compressionType, retentionPeriod, packingType, super.hashCode());
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FileTransferData {\n");
+ sb.append(" ").append(toIndentedString(super.toString())).append("\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" fileLocation: ").append(toIndentedString(fileLocation)).append("\n");
+ sb.append(" fileFormat: ").append(toIndentedString(fileFormat)).append("\n");
+ sb.append(" compressionType: ").append(toIndentedString(compressionType)).append("\n");
+ sb.append(" retentionPeriod: ").append(toIndentedString(retentionPeriod)).append("\n");
+ sb.append(" packingType: ").append(toIndentedString(packingType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/FileTransferDataFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/FileTransferDataFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..584093ece2a5ea0478f05f93db39e7a3664ed92f
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/FileTransferDataFVO.java
@@ -0,0 +1,274 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.net.URI;
+import java.util.Objects;
+
+/**
+ * FileTransferDataFVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class FileTransferDataFVO extends ProtocolTransferDataFVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("fileLocation")
+ private URI fileLocation;
+
+ @JsonProperty("fileFormat")
+ private String fileFormat;
+
+ @JsonProperty("compressionType")
+ private CompressionType compressionType;
+
+ @JsonProperty("retentionPeriod")
+ private Duration retentionPeriod;
+
+ @JsonProperty("packingType")
+ private PackingType packingType;
+
+ public FileTransferDataFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public FileTransferDataFVO(String type) {
+ super();
+ this.type = type;
+ }
+
+ public FileTransferDataFVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public FileTransferDataFVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public FileTransferDataFVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public FileTransferDataFVO fileLocation(URI fileLocation) {
+ this.fileLocation = fileLocation;
+ return this;
+ }
+
+ /**
+ * Get fileLocation
+ * @return fileLocation
+ */
+ @Valid
+ @Schema(name = "fileLocation", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("fileLocation")
+ public URI getFileLocation() {
+ return fileLocation;
+ }
+
+ public void setFileLocation(URI fileLocation) {
+ this.fileLocation = fileLocation;
+ }
+
+ public FileTransferDataFVO fileFormat(String fileFormat) {
+ this.fileFormat = fileFormat;
+ return this;
+ }
+
+ /**
+ * Get fileFormat
+ * @return fileFormat
+ */
+
+ @Schema(name = "fileFormat", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("fileFormat")
+ public String getFileFormat() {
+ return fileFormat;
+ }
+
+ public void setFileFormat(String fileFormat) {
+ this.fileFormat = fileFormat;
+ }
+
+ public FileTransferDataFVO compressionType(CompressionType compressionType) {
+ this.compressionType = compressionType;
+ return this;
+ }
+
+ /**
+ * Get compressionType
+ * @return compressionType
+ */
+ @Valid
+ @Schema(name = "compressionType", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("compressionType")
+ public CompressionType getCompressionType() {
+ return compressionType;
+ }
+
+ public void setCompressionType(CompressionType compressionType) {
+ this.compressionType = compressionType;
+ }
+
+ public FileTransferDataFVO retentionPeriod(Duration retentionPeriod) {
+ this.retentionPeriod = retentionPeriod;
+ return this;
+ }
+
+ /**
+ * Get retentionPeriod
+ * @return retentionPeriod
+ */
+ @Valid
+ @Schema(name = "retentionPeriod", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("retentionPeriod")
+ public Duration getRetentionPeriod() {
+ return retentionPeriod;
+ }
+
+ public void setRetentionPeriod(Duration retentionPeriod) {
+ this.retentionPeriod = retentionPeriod;
+ }
+
+ public FileTransferDataFVO packingType(PackingType packingType) {
+ this.packingType = packingType;
+ return this;
+ }
+
+ /**
+ * Get packingType
+ * @return packingType
+ */
+ @Valid
+ @Schema(name = "packingType", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("packingType")
+ public PackingType getPackingType() {
+ return packingType;
+ }
+
+ public void setPackingType(PackingType packingType) {
+ this.packingType = packingType;
+ }
+
+
+ public FileTransferDataFVO transportProtocol(String transportProtocol) {
+ super.transportProtocol(transportProtocol);
+ return this;
+ }
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FileTransferDataFVO fileTransferDataFVO = (FileTransferDataFVO) o;
+ return Objects.equals(this.type, fileTransferDataFVO.type) &&
+ Objects.equals(this.baseType, fileTransferDataFVO.baseType) &&
+ Objects.equals(this.schemaLocation, fileTransferDataFVO.schemaLocation) &&
+ Objects.equals(this.fileLocation, fileTransferDataFVO.fileLocation) &&
+ Objects.equals(this.fileFormat, fileTransferDataFVO.fileFormat) &&
+ Objects.equals(this.compressionType, fileTransferDataFVO.compressionType) &&
+ Objects.equals(this.retentionPeriod, fileTransferDataFVO.retentionPeriod) &&
+ Objects.equals(this.packingType, fileTransferDataFVO.packingType) &&
+ super.equals(o);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, fileLocation, fileFormat, compressionType, retentionPeriod, packingType, super.hashCode());
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FileTransferDataFVO {\n");
+ sb.append(" ").append(toIndentedString(super.toString())).append("\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" fileLocation: ").append(toIndentedString(fileLocation)).append("\n");
+ sb.append(" fileFormat: ").append(toIndentedString(fileFormat)).append("\n");
+ sb.append(" compressionType: ").append(toIndentedString(compressionType)).append("\n");
+ sb.append(" retentionPeriod: ").append(toIndentedString(retentionPeriod)).append("\n");
+ sb.append(" packingType: ").append(toIndentedString(packingType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/FileTransferDataMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/FileTransferDataMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..045e75bfe40e943efcff4c545b6a561781c12c2d
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/FileTransferDataMVO.java
@@ -0,0 +1,274 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.Valid;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.net.URI;
+import java.util.Objects;
+
+/**
+ * FileTransferDataMVO
+ */
+
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class FileTransferDataMVO extends ProtocolTransferData {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("fileLocation")
+ private URI fileLocation;
+
+ @JsonProperty("fileFormat")
+ private String fileFormat;
+
+ @JsonProperty("compressionType")
+ private CompressionType compressionType;
+
+ @JsonProperty("retentionPeriod")
+ private Duration retentionPeriod;
+
+ @JsonProperty("packingType")
+ private PackingType packingType;
+
+ public FileTransferDataMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public FileTransferDataMVO(String type) {
+ super();
+ this.type = type;
+ }
+
+ public FileTransferDataMVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public FileTransferDataMVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public FileTransferDataMVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public FileTransferDataMVO fileLocation(URI fileLocation) {
+ this.fileLocation = fileLocation;
+ return this;
+ }
+
+ /**
+ * Get fileLocation
+ * @return fileLocation
+ */
+ @Valid
+ @Schema(name = "fileLocation", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("fileLocation")
+ public URI getFileLocation() {
+ return fileLocation;
+ }
+
+ public void setFileLocation(URI fileLocation) {
+ this.fileLocation = fileLocation;
+ }
+
+ public FileTransferDataMVO fileFormat(String fileFormat) {
+ this.fileFormat = fileFormat;
+ return this;
+ }
+
+ /**
+ * Get fileFormat
+ * @return fileFormat
+ */
+
+ @Schema(name = "fileFormat", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("fileFormat")
+ public String getFileFormat() {
+ return fileFormat;
+ }
+
+ public void setFileFormat(String fileFormat) {
+ this.fileFormat = fileFormat;
+ }
+
+ public FileTransferDataMVO compressionType(CompressionType compressionType) {
+ this.compressionType = compressionType;
+ return this;
+ }
+
+ /**
+ * Get compressionType
+ * @return compressionType
+ */
+ @Valid
+ @Schema(name = "compressionType", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("compressionType")
+ public CompressionType getCompressionType() {
+ return compressionType;
+ }
+
+ public void setCompressionType(CompressionType compressionType) {
+ this.compressionType = compressionType;
+ }
+
+ public FileTransferDataMVO retentionPeriod(Duration retentionPeriod) {
+ this.retentionPeriod = retentionPeriod;
+ return this;
+ }
+
+ /**
+ * Get retentionPeriod
+ * @return retentionPeriod
+ */
+ @Valid
+ @Schema(name = "retentionPeriod", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("retentionPeriod")
+ public Duration getRetentionPeriod() {
+ return retentionPeriod;
+ }
+
+ public void setRetentionPeriod(Duration retentionPeriod) {
+ this.retentionPeriod = retentionPeriod;
+ }
+
+ public FileTransferDataMVO packingType(PackingType packingType) {
+ this.packingType = packingType;
+ return this;
+ }
+
+ /**
+ * Get packingType
+ * @return packingType
+ */
+ @Valid
+ @Schema(name = "packingType", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("packingType")
+ public PackingType getPackingType() {
+ return packingType;
+ }
+
+ public void setPackingType(PackingType packingType) {
+ this.packingType = packingType;
+ }
+
+
+ public FileTransferDataMVO transportProtocol(String transportProtocol) {
+ super.transportProtocol(transportProtocol);
+ return this;
+ }
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FileTransferDataMVO fileTransferDataMVO = (FileTransferDataMVO) o;
+ return Objects.equals(this.type, fileTransferDataMVO.type) &&
+ Objects.equals(this.baseType, fileTransferDataMVO.baseType) &&
+ Objects.equals(this.schemaLocation, fileTransferDataMVO.schemaLocation) &&
+ Objects.equals(this.fileLocation, fileTransferDataMVO.fileLocation) &&
+ Objects.equals(this.fileFormat, fileTransferDataMVO.fileFormat) &&
+ Objects.equals(this.compressionType, fileTransferDataMVO.compressionType) &&
+ Objects.equals(this.retentionPeriod, fileTransferDataMVO.retentionPeriod) &&
+ Objects.equals(this.packingType, fileTransferDataMVO.packingType) &&
+ super.equals(o);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, fileLocation, fileFormat, compressionType, retentionPeriod, packingType, super.hashCode());
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FileTransferDataMVO {\n");
+ sb.append(" ").append(toIndentedString(super.toString())).append("\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" fileLocation: ").append(toIndentedString(fileLocation)).append("\n");
+ sb.append(" fileFormat: ").append(toIndentedString(fileFormat)).append("\n");
+ sb.append(" compressionType: ").append(toIndentedString(compressionType)).append("\n");
+ sb.append(" retentionPeriod: ").append(toIndentedString(retentionPeriod)).append("\n");
+ sb.append(" packingType: ").append(toIndentedString(packingType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/Granularity.java b/src/main/java/org/etsi/osl/tmf/pm628/model/Granularity.java
new file mode 100644
index 0000000000000000000000000000000000000000..d99923467c5e0d6e2f741191cab09972191d2bd0
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/Granularity.java
@@ -0,0 +1,59 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+import javax.annotation.Generated;
+
+/**
+ * Sampling rate of the collection or production of performance indicators.
+ */
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public enum Granularity {
+
+ G_1MN("g_1mn"),
+
+ G_5MN("g_5mn"),
+
+ G_15MN("g_15mn"),
+
+ G_30MN("g_30mn"),
+
+ G_1H("g_1h"),
+
+ G_24H("g_24h"),
+
+ G_1M("g_1m"),
+
+ G_1Y("g_1y"),
+
+ NA("na");
+
+ private String value;
+
+ Granularity(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static Granularity fromValue(String value) {
+ for (Granularity b : Granularity.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/Hub.java b/src/main/java/org/etsi/osl/tmf/pm628/model/Hub.java
new file mode 100644
index 0000000000000000000000000000000000000000..c6fb880b493d513e21f797e6e67c881126edafd8
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/Hub.java
@@ -0,0 +1,233 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * Sets the communication endpoint address the service instance must use to deliver notification information
+ */
+
+@Schema(name = "Hub", description = "Sets the communication endpoint address the service instance must use to deliver notification information")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class Hub {
+
+ private String atType;
+
+ private String atBaseType;
+
+ private String atSchemaLocation;
+
+ private String href;
+
+ private String id;
+
+ private String callback;
+
+ private String query;
+
+ public Hub() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public Hub(String atType, String callback) {
+ this.atType = atType;
+ this.callback = callback;
+ }
+
+ public Hub atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return atType
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ public Hub atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public Hub atSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return atSchemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ public Hub href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public Hub id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Id of the listener
+ * @return id
+ */
+
+ @Schema(name = "id", description = "Id of the listener", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Hub callback(String callback) {
+ this.callback = callback;
+ return this;
+ }
+
+ /**
+ * The callback being registered.
+ * @return callback
+ */
+ @NotNull
+ @Schema(name = "callback", description = "The callback being registered.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("callback")
+ public String getCallback() {
+ return callback;
+ }
+
+ public void setCallback(String callback) {
+ this.callback = callback;
+ }
+
+ public Hub query(String query) {
+ this.query = query;
+ return this;
+ }
+
+ /**
+ * additional data to be passed
+ * @return query
+ */
+
+ @Schema(name = "query", description = "additional data to be passed", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("query")
+ public String getQuery() {
+ return query;
+ }
+
+ public void setQuery(String query) {
+ this.query = query;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Hub hub = (Hub) o;
+ return Objects.equals(this.atType, hub.atType) &&
+ Objects.equals(this.atBaseType, hub.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, hub.atSchemaLocation) &&
+ Objects.equals(this.href, hub.href) &&
+ Objects.equals(this.id, hub.id) &&
+ Objects.equals(this.callback, hub.callback) &&
+ Objects.equals(this.query, hub.query);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(atType, atBaseType, atSchemaLocation, href, id, callback, query);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Hub {\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" callback: ").append(toIndentedString(callback)).append("\n");
+ sb.append(" query: ").append(toIndentedString(query)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/HubFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/HubFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..095d800c1b29108ad03c8a1c199a149031564437
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/HubFVO.java
@@ -0,0 +1,187 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * Sets the communication endpoint address the service instance must use to deliver notification information
+ */
+
+@Schema(name = "Hub_FVO", description = "Sets the communication endpoint address the service instance must use to deliver notification information")
+@JsonTypeName("Hub_FVO")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class HubFVO {
+
+ private String atType;
+
+ private String atBaseType;
+
+ private String atSchemaLocation;
+
+ private String callback;
+
+ private String query;
+
+ public HubFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public HubFVO(String atType, String callback) {
+ this.atType = atType;
+ this.callback = callback;
+ }
+
+ public HubFVO atType(String atType) {
+ this.atType = atType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return atType
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getAtType() {
+ return atType;
+ }
+
+ public void setAtType(String atType) {
+ this.atType = atType;
+ }
+
+ public HubFVO atBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return atBaseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getAtBaseType() {
+ return atBaseType;
+ }
+
+ public void setAtBaseType(String atBaseType) {
+ this.atBaseType = atBaseType;
+ }
+
+ public HubFVO atSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return atSchemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getAtSchemaLocation() {
+ return atSchemaLocation;
+ }
+
+ public void setAtSchemaLocation(String atSchemaLocation) {
+ this.atSchemaLocation = atSchemaLocation;
+ }
+
+ public HubFVO callback(String callback) {
+ this.callback = callback;
+ return this;
+ }
+
+ /**
+ * The callback being registered.
+ * @return callback
+ */
+ @NotNull
+ @Schema(name = "callback", description = "The callback being registered.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("callback")
+ public String getCallback() {
+ return callback;
+ }
+
+ public void setCallback(String callback) {
+ this.callback = callback;
+ }
+
+ public HubFVO query(String query) {
+ this.query = query;
+ return this;
+ }
+
+ /**
+ * additional data to be passed
+ * @return query
+ */
+
+ @Schema(name = "query", description = "additional data to be passed", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("query")
+ public String getQuery() {
+ return query;
+ }
+
+ public void setQuery(String query) {
+ this.query = query;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ HubFVO hubFVO = (HubFVO) o;
+ return Objects.equals(this.atType, hubFVO.atType) &&
+ Objects.equals(this.atBaseType, hubFVO.atBaseType) &&
+ Objects.equals(this.atSchemaLocation, hubFVO.atSchemaLocation) &&
+ Objects.equals(this.callback, hubFVO.callback) &&
+ Objects.equals(this.query, hubFVO.query);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(atType, atBaseType, atSchemaLocation, callback, query);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class HubFVO {\n");
+ sb.append(" atType: ").append(toIndentedString(atType)).append("\n");
+ sb.append(" atBaseType: ").append(toIndentedString(atBaseType)).append("\n");
+ sb.append(" atSchemaLocation: ").append(toIndentedString(atSchemaLocation)).append("\n");
+ sb.append(" callback: ").append(toIndentedString(callback)).append("\n");
+ sb.append(" query: ").append(toIndentedString(query)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/IndicatorType.java b/src/main/java/org/etsi/osl/tmf/pm628/model/IndicatorType.java
new file mode 100644
index 0000000000000000000000000000000000000000..c62d49db87893ff188b472bea703fa679159ed6d
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/IndicatorType.java
@@ -0,0 +1,49 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+import javax.annotation.Generated;
+
+/**
+ * This is enumeration for Indicator Type
+ */
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public enum IndicatorType {
+
+ STRING("string"),
+
+ INT("int"),
+
+ FLOAT("float"),
+
+ DOUBLE("double");
+
+ private String value;
+
+ IndicatorType(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static IndicatorType fromValue(String value) {
+ for (IndicatorType b : IndicatorType.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/IntentRef.java b/src/main/java/org/etsi/osl/tmf/pm628/model/IntentRef.java
new file mode 100644
index 0000000000000000000000000000000000000000..96950052e94fb0d0abdcbe92c89bacbf92557700
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/IntentRef.java
@@ -0,0 +1,251 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.persistence.Column;
+import jakarta.persistence.Embeddable;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * Intent reference, for when Intent is used by other entities
+ */
+
+@Schema(name = "IntentRef", description = "Intent reference, for when Intent is used by other entities")
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+@Embeddable
+public class IntentRef {
+
+ @JsonProperty("@type")
+ @Column(name = "ir_type")
+ protected String type;
+
+ @JsonProperty("@baseType")
+ @Column(name = "ir_base_type")
+ protected String baseType;
+
+ @JsonProperty("@schemaLocation")
+ @Column(name = "ir_schema_location")
+ protected String schemaLocation;
+
+ @JsonProperty("href")
+ @Column(name = "ir_href")
+ protected String href;
+
+ @JsonProperty("id")
+ @Column(name = "ir_id")
+ protected String id;
+
+ @JsonProperty("name")
+ @Column(name = "ir_name")
+ protected String name;
+
+ @JsonProperty("@referredType")
+ @Column(name = "ir_referred_type")
+ private String referredType;
+
+ public IntentRef() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public IntentRef(String type, String id) {
+ this.type = type;
+ this.id = id;
+ }
+
+ public IntentRef type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public IntentRef baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public IntentRef schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public IntentRef href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * The URI of the referred entity.
+ * @return href
+ */
+
+ @Schema(name = "href", description = "The URI of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public IntentRef id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * The identifier of the referred entity.
+ * @return id
+ */
+ @NotNull
+ @Schema(name = "id", description = "The identifier of the referred entity.", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public IntentRef name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name of the referred entity.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public IntentRef referredType(String referredType) {
+ this.referredType = referredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ * @return referredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getReferredType() {
+ return referredType;
+ }
+
+ public void setReferredType(String referredType) {
+ this.referredType = referredType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ IntentRef intentRef = (IntentRef) o;
+ return Objects.equals(this.type, intentRef.type) &&
+ Objects.equals(this.baseType, intentRef.baseType) &&
+ Objects.equals(this.schemaLocation, intentRef.schemaLocation) &&
+ Objects.equals(this.href, intentRef.href) &&
+ Objects.equals(this.id, intentRef.id) &&
+ Objects.equals(this.name, intentRef.name) &&
+ Objects.equals(this.referredType, intentRef.referredType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, href, id, name, referredType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class IntentRef {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" referredType: ").append(toIndentedString(referredType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/IntentRefFVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/IntentRefFVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..da9f4a57d44b04be2f6191f508058985b5b7b86e
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/IntentRefFVO.java
@@ -0,0 +1,240 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * Intent reference, for when Intent is used by other entities
+ */
+
+@Schema(name = "IntentRef_FVO", description = "Intent reference, for when Intent is used by other entities")
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class IntentRefFVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("href")
+ private String href;
+
+ @JsonProperty("id")
+ private String id;
+
+ @JsonProperty("name")
+ private String name;
+
+ @JsonProperty("@referredType")
+ private String referredType;
+
+ public IntentRefFVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public IntentRefFVO(String type) {
+ this.type = type;
+ }
+
+ public IntentRefFVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public IntentRefFVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public IntentRefFVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public IntentRefFVO href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public IntentRefFVO id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * unique identifier
+ * @return id
+ */
+
+ @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public IntentRefFVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name of the referred entity.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public IntentRefFVO referredType(String referredType) {
+ this.referredType = referredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ * @return referredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getReferredType() {
+ return referredType;
+ }
+
+ public void setReferredType(String referredType) {
+ this.referredType = referredType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ IntentRefFVO intentRefFVO = (IntentRefFVO) o;
+ return Objects.equals(this.type, intentRefFVO.type) &&
+ Objects.equals(this.baseType, intentRefFVO.baseType) &&
+ Objects.equals(this.schemaLocation, intentRefFVO.schemaLocation) &&
+ Objects.equals(this.href, intentRefFVO.href) &&
+ Objects.equals(this.id, intentRefFVO.id) &&
+ Objects.equals(this.name, intentRefFVO.name) &&
+ Objects.equals(this.referredType, intentRefFVO.referredType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, href, id, name, referredType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class IntentRefFVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" referredType: ").append(toIndentedString(referredType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/IntentRefMVO.java b/src/main/java/org/etsi/osl/tmf/pm628/model/IntentRefMVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..37c224da2bcbf0ae86f16054dd3abb93fa2df664
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/IntentRefMVO.java
@@ -0,0 +1,240 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+
+import javax.annotation.Generated;
+import java.util.Objects;
+
+/**
+ * Intent reference, for when Intent is used by other entities
+ */
+
+@Schema(name = "IntentRef_MVO", description = "Intent reference, for when Intent is used by other entities")
+
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class IntentRefMVO {
+
+ @JsonProperty("@type")
+ private String type;
+
+ @JsonProperty("@baseType")
+ private String baseType;
+
+ @JsonProperty("@schemaLocation")
+ private String schemaLocation;
+
+ @JsonProperty("href")
+ private String href;
+
+ @JsonProperty("id")
+ private String id;
+
+ @JsonProperty("name")
+ private String name;
+
+ @JsonProperty("@referredType")
+ private String referredType;
+
+ public IntentRefMVO() {
+ super();
+ }
+
+ /**
+ * Constructor with only required parameters
+ */
+ public IntentRefMVO(String type) {
+ this.type = type;
+ }
+
+ public IntentRefMVO type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the sub-class Extensible name
+ * @return type
+ */
+ @NotNull
+ @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JsonProperty("@type")
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public IntentRefMVO baseType(String baseType) {
+ this.baseType = baseType;
+ return this;
+ }
+
+ /**
+ * When sub-classing, this defines the super-class
+ * @return baseType
+ */
+
+ @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@baseType")
+ public String getBaseType() {
+ return baseType;
+ }
+
+ public void setBaseType(String baseType) {
+ this.baseType = baseType;
+ }
+
+ public IntentRefMVO schemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ return this;
+ }
+
+ /**
+ * A URI to a JSON-Schema file that defines additional attributes and relationships
+ * @return schemaLocation
+ */
+
+ @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@schemaLocation")
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ public void setSchemaLocation(String schemaLocation) {
+ this.schemaLocation = schemaLocation;
+ }
+
+ public IntentRefMVO href(String href) {
+ this.href = href;
+ return this;
+ }
+
+ /**
+ * Hyperlink reference
+ * @return href
+ */
+
+ @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("href")
+ public String getHref() {
+ return href;
+ }
+
+ public void setHref(String href) {
+ this.href = href;
+ }
+
+ public IntentRefMVO id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * The identifier of the referred entity.
+ * @return id
+ */
+
+ @Schema(name = "id", description = "The identifier of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public IntentRefMVO name(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Name of the referred entity.
+ * @return name
+ */
+
+ @Schema(name = "name", description = "Name of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public IntentRefMVO referredType(String referredType) {
+ this.referredType = referredType;
+ return this;
+ }
+
+ /**
+ * The actual type of the target instance when needed for disambiguation.
+ * @return referredType
+ */
+
+ @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonProperty("@referredType")
+ public String getReferredType() {
+ return referredType;
+ }
+
+ public void setReferredType(String referredType) {
+ this.referredType = referredType;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ IntentRefMVO intentRefMVO = (IntentRefMVO) o;
+ return Objects.equals(this.type, intentRefMVO.type) &&
+ Objects.equals(this.baseType, intentRefMVO.baseType) &&
+ Objects.equals(this.schemaLocation, intentRefMVO.schemaLocation) &&
+ Objects.equals(this.href, intentRefMVO.href) &&
+ Objects.equals(this.id, intentRefMVO.id) &&
+ Objects.equals(this.name, intentRefMVO.name) &&
+ Objects.equals(this.referredType, intentRefMVO.referredType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, baseType, schemaLocation, href, id, name, referredType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class IntentRefMVO {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
+ sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
+ sb.append(" href: ").append(toIndentedString(href)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" referredType: ").append(toIndentedString(referredType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+
diff --git a/src/main/java/org/etsi/osl/tmf/pm628/model/JsonPatch.java b/src/main/java/org/etsi/osl/tmf/pm628/model/JsonPatch.java
new file mode 100644
index 0000000000000000000000000000000000000000..7401daaf8b15bc3b793841de45b2328697b75a68
--- /dev/null
+++ b/src/main/java/org/etsi/osl/tmf/pm628/model/JsonPatch.java
@@ -0,0 +1,219 @@
+package org.etsi.osl.tmf.pm628.model;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonValue;
+import io.swagger.v3.oas.annotations.media.Schema;
+import jakarta.validation.constraints.NotNull;
+import org.openapitools.jackson.nullable.JsonNullable;
+
+import javax.annotation.Generated;
+import java.util.Arrays;
+import java.util.Objects;
+
+/**
+ * A JSONPatch document as defined by RFC 6902
+ */
+
+@Schema(name = "JsonPatch", description = "A JSONPatch document as defined by RFC 6902")
+@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-05-15T07:30:16.936523289Z[Etc/UTC]", comments = "Generator version: 7.6.0-SNAPSHOT")
+public class JsonPatch {
+
+ /**
+ * The operation to be performed
+ */
+ public enum OpEnum {
+ ADD("add"),
+
+ REMOVE("remove"),
+
+ REPLACE("replace"),
+
+ MOVE("move"),
+
+ COPY("copy"),
+
+ TEST("test");
+
+ private String value;
+
+ OpEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static OpEnum fromValue(String value) {
+ for (OpEnum b : OpEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ private OpEnum op;
+
+ private String path;
+
+ private JsonNullable