diff --git a/pom.xml b/pom.xml
index ca6ca6ed092f9fa321d971631c3154840f293f7a..f112fd238b79ebc39c58adf3e78b481b70c18544 100644
--- a/pom.xml
+++ b/pom.xml
@@ -193,6 +193,16 @@
org.etsi.osl.model.nfv
${project.version}
+
+ org.etsi.osl
+ org.etsi.osl.model.tmf
+ ${project.version}
+
+
+ org.etsi.osl
+ org.etsi.osl.model.k8s
+ ${project.version}
+
org.etsi.osl
org.etsi.osl.centrallog.client
diff --git a/src/main/java/org/etsi/osl/domain/model/DomainModelDefinition.java b/src/main/java/org/etsi/osl/domain/model/DomainModelDefinition.java
deleted file mode 100644
index 7e5f6d6ec43b0f8efd8d84e353fc819cecd6d1b0..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/domain/model/DomainModelDefinition.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package org.etsi.osl.domain.model;
-
-import lombok.AllArgsConstructor;
-import lombok.Getter;
-import lombok.Setter;
-
-/**
- * @author ctranoris
- */
-
-@Getter
-@Setter
-@AllArgsConstructor
-public class DomainModelDefinition {
-
- //instance variables
- protected String uuid;
- protected String name;
- protected String version;
- protected String description;
- protected String category;
-
-
-
-}
diff --git a/src/main/java/org/etsi/osl/domain/model/ITMFRCM634_ModelTransformer.java b/src/main/java/org/etsi/osl/domain/model/ITMFRCM634_ModelTransformer.java
deleted file mode 100644
index 3eb1340ca6f4dec0dd0ee4dac7ead9d1f8d293c9..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/domain/model/ITMFRCM634_ModelTransformer.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package org.etsi.osl.domain.model;
-
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecification;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCreate;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationUpdate;
-
-/**
- * @author ctranoris
- *
- * Transforms the PoJo class to/from the equivalent TMF model
- */
-public interface ITMFRCM634_ModelTransformer {
-
-
- ResourceSpecificationCreate toRSpecCreate_InitRepo();
-
-
- default ResourceSpecificationCreate toRSpecCreate() {
- return null;
- }
-
- default ResourceSpecificationUpdate toRSpecUpdate() {
- return null;
- }
-
- /**
- * loads the class fields from this model
- * @param rSpec
- */
- DomainModelDefinition fromRSpec( ResourceSpecification rSpec ) ;
-
-}
diff --git a/src/main/java/org/etsi/osl/domain/model/ITMFRI639_ModelTransformer.java b/src/main/java/org/etsi/osl/domain/model/ITMFRI639_ModelTransformer.java
deleted file mode 100644
index 0ebcd095184d0469f0e28763bf14608949806d26..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/domain/model/ITMFRI639_ModelTransformer.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package org.etsi.osl.domain.model;
-
-import org.etsi.osl.tmf.ri639.model.Resource;
-import org.etsi.osl.tmf.ri639.model.ResourceCreate;
-import org.etsi.osl.tmf.ri639.model.ResourceUpdate;
-
-/**
- * @author ctranoris
- *
- * Transforms the PoJo class to/from the equivalent TMF model
- */
-public interface ITMFRI639_ModelTransformer {
-
-
-
-
- default ResourceCreate toResourceCreate() throws Exception {
- return null;
- };
-
- default ResourceUpdate toResourceUpdate() throws Exception {
- return null;
- };
-
- /**
- * loads the class fields from this model
- * @param rSpec
- */
- default void fromResource( Resource rSpec ) {
-
- }
-
-
-}
diff --git a/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesCRDProperty.java b/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesCRDProperty.java
deleted file mode 100644
index f67d484e478e0892441a40cbd97a286e01d72c91..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesCRDProperty.java
+++ /dev/null
@@ -1,35 +0,0 @@
-package org.etsi.osl.domain.model.kubernetes;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import lombok.Builder;
-import lombok.Getter;
-import lombok.Setter;
-
-/**
- * @author ctranoris
- */
-@Getter
-@Setter
-@Builder
-public class KubernetesCRDProperty {
-
- String name;
- String valueType;
- String defaultValue;
- String description;
- Map properties;
-
- public Map getProperties() {
- if ( properties == null) {
- this.properties = new HashMap<>();
- }
- return properties;
- }
-
-
-
-
-
-}
diff --git a/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesCRDV1.java b/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesCRDV1.java
deleted file mode 100644
index 07c17ac6462ea1f52f07414e216532d9eedc2da2..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesCRDV1.java
+++ /dev/null
@@ -1,244 +0,0 @@
-package org.etsi.osl.domain.model.kubernetes;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.etsi.osl.domain.model.DomainModelDefinition;
-import org.etsi.osl.domain.model.ITMFRCM634_ModelTransformer;
-import org.etsi.osl.domain.model.ITMFRI639_ModelTransformer;
-import org.etsi.osl.tmf.common.model.ELifecycle;
-import org.etsi.osl.tmf.common.model.EValueType;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecification;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCreate;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationRef;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationUpdate;
-import org.etsi.osl.tmf.ri639.model.ResourceCreate;
-import org.etsi.osl.tmf.ri639.model.ResourceOperationalStateType;
-import org.etsi.osl.tmf.ri639.model.ResourceStatusType;
-import org.etsi.osl.tmf.ri639.model.ResourceUpdate;
-import lombok.Builder;
-import lombok.Getter;
-import lombok.Setter;
-
-/**
- * @author ctranoris
- */
-@Getter
-@Setter
-public class KubernetesCRDV1 extends DomainModelDefinition
- implements ITMFRCM634_ModelTransformer, ITMFRI639_ModelTransformer {
-
- public static final String OSL_KUBCRD_RSPEC_NAME = "kubernetes-crd.openslice.io";
- public static final String OSL_KUBCRD_RSPEC_VERSION = "0.0.3";
- public static final String OSL_KUBCRD_RSPEC_CATEGORY = "KubernetesCRD-apiextensions.k8s.io/v1";
- public static final String OSL_KUBCRD_RESOURCE_CATEGORY = "KubernetesCRD-apiextensions.k8s.io/v1";
- public static final String OSL_KUBCRD_RSPEC_TYPE = "LogicalResourceSpecification";
- public static final String OSL_KUBCRD_RSPEC_DESCRIPTION = "This Specification is used to describe a generic KubernetesCRD";
-
- private String osl_KUBCRD_RSPEC_UUID = null; //this is assigned by the system through the DB for a specific instance
-
- private String clusterMasterURL;
- private String currentContextCluster;
- private String fullResourceName;
- private String kind;
- private String apiGroup;
- private String UID;
- private String metadata;
- private String yaml;
- private String json;
- private Map properties;
- private Map additionalProperties;
- private String cr_spec;
- private String statusCheckFieldName;
- private String statusCheckValueStandby;
- private String statusCheckValueAlarm;
- private String statusCheckValueAvailable;
- private String statusCheckValueReserved;
- private String statusCheckValueUnknown;
- private String statusCheckValueSuspended;
-
-
- @Builder
- public KubernetesCRDV1(String osl_KUBCRD_RSPEC_UUID, String uuid, String name, String version, String description, String category,
- String clusterMasterURL, String currentContextCluster, String fullResourceName,
- String kind, String apiGroup, String uID,
- String metadata,
- String yaml,
- String json) {
- super(uuid, name, version, description, category);
- this.osl_KUBCRD_RSPEC_UUID = osl_KUBCRD_RSPEC_UUID;
- this.clusterMasterURL = clusterMasterURL;
- this.currentContextCluster = currentContextCluster;
- this.fullResourceName = fullResourceName;
- this.kind = kind;
- this.apiGroup = apiGroup;
- this.UID = uID;
- this.metadata = metadata;
- this.yaml = yaml;
- this.json = json;
- this.properties = new HashMap<>();
- this.additionalProperties = new HashMap<>();
- }
-
-
-
- @Override
- public ResourceSpecificationCreate toRSpecCreate_InitRepo() {
-
- ResourceSpecificationCreate rsc = this.toRSpecCreate();
- rsc.setName( OSL_KUBCRD_RSPEC_NAME );
- rsc.setCategory( OSL_KUBCRD_RSPEC_CATEGORY );
- rsc.setVersion(OSL_KUBCRD_RSPEC_VERSION);
- rsc.setDescription( OSL_KUBCRD_RSPEC_DESCRIPTION );
- rsc.setType( OSL_KUBCRD_RSPEC_TYPE );
-
-
-
- return rsc;
- }
-
- @Override
- public ResourceSpecificationCreate toRSpecCreate() {
-
- ResourceSpecificationCreate rsc = new ResourceSpecificationCreate();
- rsc.setName( this.name );
- rsc.setCategory( OSL_KUBCRD_RSPEC_CATEGORY );
- rsc.setVersion( this.version );
- rsc.setDescription( this.version );
- rsc.setType( OSL_KUBCRD_RSPEC_TYPE );
-
- rsc.setLifecycleStatus( ELifecycle.ACTIVE.getValue() );
- rsc.addResourceSpecificationCharacteristicItemShort("clusterMasterURL", this.clusterMasterURL, EValueType.TEXT.getValue(), "URL of cluster", false);
- rsc.addResourceSpecificationCharacteristicItemShort("currentContextCluster", this.currentContextCluster, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("fullResourceName", this.fullResourceName, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("Kind", this.kind, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("apiGroup", this.apiGroup, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("UID", this.UID, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("metadata", this.metadata, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("yaml", this.yaml, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("json", this.json, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_SPEC", "", EValueType.TEXT.getValue(), "Used for providing the json Custom Resource description to apply", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECK_FIELD", "", EValueType.TEXT.getValue(), "Used for providing the field that need to be checked for the resource status", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECKVAL_STANDBY", "", EValueType.TEXT.getValue(), "Used for providing the equivalent value from resource to signal the standby status", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECKVAL_ALARM", "", EValueType.TEXT.getValue(), "Used for providing the equivalent value from resource to signal the alarm status", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECKVAL_AVAILABLE", "", EValueType.TEXT.getValue(), "Used for providing the equivalent value from resource to signal the available status", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECKVAL_RESERVED", "", EValueType.TEXT.getValue(), "Used for providing the equivalent value from resource to signal the reserved status", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECKVAL_UNKNOWN", "", EValueType.TEXT.getValue(), "Used for providing the equivalent value from resource to signal the unknown status", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECKVAL_SUSPENDED", "", EValueType.TEXT.getValue(), "Used for providing the equivalent value from resource to signal the suspended status", false);
-
-// rsc.addResourceSpecificationCharacteristicItemShort( "properties", "", EValueType.SET.getValue());
-// rsc.addResourceSpecificationCharacteristicItemShort( "additionalProperties", "", EValueType.SET.getValue());
- if (this.properties != null)
- this.properties.forEach((kPropName, vProVal) -> {
-
- EValueType etype;
- if ( vProVal.getValueType().equalsIgnoreCase("boolean")) {
- etype = EValueType.BOOLEAN;
- } else if ( vProVal.getValueType().equalsIgnoreCase("integer")) {
- etype = EValueType.INTEGER;
- } else if ( vProVal.getValueType().equalsIgnoreCase("object")) {
- etype = EValueType.OBJECT;
- } else
- etype = EValueType.TEXT;
-
- rsc.addResourceSpecificationCharacteristicItemShort(kPropName , vProVal.getDefaultValue(), etype.getValue(), vProVal.getDescription(), false);
-
- });
-
- if (this.additionalProperties != null ) {
- this.additionalProperties.forEach((kPropName, vProVal) -> {
- rsc.addResourceSpecificationCharacteristicItemShort("additionalProperty." + kPropName, vProVal.getDefaultValue(), EValueType.TEXT.getValue(), vProVal.getDescription(), false);
-
- });
- }
-
- return rsc;
- }
-
- @Override
- public ResourceSpecificationUpdate toRSpecUpdate() {
- return this.toRSpecCreate();
- }
-
- @Override
- public KubernetesCRDV1 fromRSpec(ResourceSpecification rSpec) {
- this.osl_KUBCRD_RSPEC_UUID = rSpec.getUuid();
- return this;
- }
-
- @Override
- public ResourceCreate toResourceCreate() {
-
- if (osl_KUBCRD_RSPEC_UUID == null) {
- return null;
- }
-
- ResourceSpecificationRef rSpecRef = new ResourceSpecificationRef();
- rSpecRef.setId( osl_KUBCRD_RSPEC_UUID );
- rSpecRef.setName( OSL_KUBCRD_RSPEC_NAME );
- rSpecRef.setVersion( OSL_KUBCRD_RSPEC_VERSION );
-
- ResourceCreate rs = new ResourceCreate();
- rs.name( this.name )
- .category( OSL_KUBCRD_RESOURCE_CATEGORY )
- .description( this.description )
- .resourceStatus( ResourceStatusType.AVAILABLE )
- .operationalState( ResourceOperationalStateType.ENABLE )
- .resourceSpecification( rSpecRef )
- .resourceVersion( this.version);
-
- rs.addResourceCharacteristicItemShort("clusterMasterURL", this.clusterMasterURL, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("currentContextCluster", this.currentContextCluster, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("fullResourceName", this.fullResourceName, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("Kind", this.kind, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("apiGroup", this.apiGroup, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("UID", this.UID, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("metadata", this.metadata, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("yaml", this.yaml, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("json", this.json, EValueType.TEXT.getValue());
-
- rs.addResourceCharacteristicItemShort("_CR_SPEC", this.cr_spec, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECK_FIELD", this.statusCheckFieldName, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECKVAL_STANDBY", this.statusCheckValueStandby, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECKVAL_ALARM", this.statusCheckValueAlarm, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECKVAL_AVAILABLE", this.statusCheckValueAvailable, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECKVAL_RESERVED", this.statusCheckValueReserved, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECKVAL_UNKNOWN", this.statusCheckValueUnknown, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECKVAL_SUSPENDED", this.statusCheckValueSuspended, EValueType.TEXT.getValue());
-
-
-
- if (this.properties != null)
- this.properties.forEach((kPropName, vProVal) -> {
-
- EValueType etype;
- if ( vProVal.getValueType().equalsIgnoreCase("boolean")) {
- etype = EValueType.BOOLEAN;
- } else if ( vProVal.getValueType().equalsIgnoreCase("integer")) {
- etype = EValueType.INTEGER;
- } else if ( vProVal.getValueType().equalsIgnoreCase("object")) {
- etype = EValueType.OBJECT;
- } else
- etype = EValueType.TEXT;
-
- rs.addResourceCharacteristicItemShort(kPropName , "", etype.getValue());
-
- });
-
- if (this.additionalProperties != null ) {
- this.additionalProperties.forEach((kPropName, vProVal) -> {
- rs.addResourceCharacteristicItemShort("additionalProperty." + kPropName, "", EValueType.TEXT.getValue());
-
- });
- }
-
-
- return rs;
- }
-
- @Override
- public ResourceUpdate toResourceUpdate() {
-
- return this.toResourceCreate();
- }
-
-}
diff --git a/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesCRV1.java b/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesCRV1.java
deleted file mode 100644
index ec06b718e09ebd177c8ccebd8a39853d13680240..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesCRV1.java
+++ /dev/null
@@ -1,219 +0,0 @@
-package org.etsi.osl.domain.model.kubernetes;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.etsi.osl.domain.model.DomainModelDefinition;
-import org.etsi.osl.domain.model.ITMFRCM634_ModelTransformer;
-import org.etsi.osl.domain.model.ITMFRI639_ModelTransformer;
-import org.etsi.osl.tmf.common.model.ELifecycle;
-import org.etsi.osl.tmf.common.model.EValueType;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecification;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCreate;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationRef;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationUpdate;
-import org.etsi.osl.tmf.ri639.model.ResourceCreate;
-import org.etsi.osl.tmf.ri639.model.ResourceOperationalStateType;
-import org.etsi.osl.tmf.ri639.model.ResourceStatusType;
-import org.etsi.osl.tmf.ri639.model.ResourceUpdate;
-import lombok.Builder;
-import lombok.Getter;
-import lombok.Setter;
-
-/**
- * @author ctranoris
- */
-@Getter
-@Setter
-public class KubernetesCRV1 extends DomainModelDefinition
- implements ITMFRCM634_ModelTransformer, ITMFRI639_ModelTransformer {
-
- public static final String OSL_KUBCRV1_RSPEC_NAME = "kubernetes-cr-v1.openslice.io";
- public static final String OSL_KUBCRV1_RSPEC_VERSION = "0.0.4";
- public static final String OSL_KUBCRV1_RSPEC_CATEGORY = "KubernetesCRV1-apiextensions.k8s.io/v1";
- public static final String OSL_KUBCRV1_RSPEC_TYPE = "LogicalResourceSpecification";
- public static final String OSL_KUBCRV1_RSPEC_DESCRIPTION = "This Specification is used to describe a generic KubernetesCRV1";
-
- private String osl_KUBCRV1_RSPEC_UUID = null; //this is assigned by the system through the DB for a specific instance
-
- private String clusterMasterURL;
- private String currentContextCluster;
- private String fullResourceName;
- private String kind;
- private String apiGroup;
- private String namespace;
- private String UID;
- private String metadata;
- private String yaml;
- private String json;
- private Map properties;
- private Map additionalProperties;
- private String cr_spec_applied;
- private String statusCheckFieldName;
- private String statusCheckValueStandby;
- private String statusCheckValueAlarm;
- private String statusCheckValueAvailable;
- private String statusCheckValueReserved;
- private String statusCheckValueUnknown;
- private String statusCheckValueSuspended;
- private ResourceStatusType statusValue;
-
- @Builder
- public KubernetesCRV1(String osl_KUBCRV1_RSPEC_UUID, String uuid, String name, String version, String description, String category,
- String clusterMasterURL, String currentContextCluster, String fullResourceName, String namespace,
- String kind, String apiGroup, String uID, String metadata, ResourceStatusType statusValue,
- String yaml,
- String json) {
- super(uuid, name, version, description, category);
- this.osl_KUBCRV1_RSPEC_UUID = osl_KUBCRV1_RSPEC_UUID;
- this.clusterMasterURL = clusterMasterURL;
- this.currentContextCluster = currentContextCluster;
- this.fullResourceName = fullResourceName;
- this.kind = kind;
- this.apiGroup = apiGroup;
- this.namespace = namespace;
- this.UID = uID;
- this.metadata = metadata;
- this.yaml = yaml;
- this.json = json;
- this.statusValue = statusValue;
- this.properties = new HashMap<>();
- this.additionalProperties = new HashMap<>();
- }
-
-
-
- @Override
- public ResourceSpecificationCreate toRSpecCreate_InitRepo() {
-
- ResourceSpecificationCreate rsc = toRSpecCreate();
- rsc.setName( OSL_KUBCRV1_RSPEC_NAME );
- rsc.setCategory( OSL_KUBCRV1_RSPEC_CATEGORY );
- rsc.setVersion(OSL_KUBCRV1_RSPEC_VERSION);
- rsc.setDescription( OSL_KUBCRV1_RSPEC_DESCRIPTION );
- rsc.setType( OSL_KUBCRV1_RSPEC_TYPE );
-
- return rsc;
- }
-
-
- @Override
- public ResourceSpecificationCreate toRSpecCreate() {
-
- ResourceSpecificationCreate rsc = new ResourceSpecificationCreate();
- rsc.setName( this.name );
- rsc.setCategory( OSL_KUBCRV1_RSPEC_CATEGORY );
- rsc.setVersion(this.version);
- rsc.setDescription( this.description );
- rsc.setType( OSL_KUBCRV1_RSPEC_TYPE );
-
- rsc.setLifecycleStatus( ELifecycle.ACTIVE.getValue() );
- rsc.addResourceSpecificationCharacteristicItemShort( "clusterMasterURL", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "currentContextCluster", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "fullResourceName", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "Kind", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "apiGroup", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "UID", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "namespace", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "metadata", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "yaml", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "json", "", EValueType.TEXT.getValue(), "", false);
-
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_SPEC", "", EValueType.TEXT.getValue(), "Used for providing the json Custom Resource description to apply", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_SPEC_APPLIED", "", EValueType.TEXT.getValue(), "Used for providing the json Custom Resource description as applied", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECK_FIELD", "", EValueType.TEXT.getValue(), "Used for providing the field that need to be checked for the resource status", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECKVAL_STANDBY", "", EValueType.TEXT.getValue(), "Used for providing the equivalent value from resource to signal the standby status", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECKVAL_ALARM", "", EValueType.TEXT.getValue(), "Used for providing the equivalent value from resource to signal the alarm status", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECKVAL_AVAILABLE", "", EValueType.TEXT.getValue(), "Used for providing the equivalent value from resource to signal the available status", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECKVAL_RESERVED", "", EValueType.TEXT.getValue(), "Used for providing the equivalent value from resource to signal the reserved status", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECKVAL_UNKNOWN", "", EValueType.TEXT.getValue(), "Used for providing the equivalent value from resource to signal the unknown status", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "_CR_CHECKVAL_SUSPENDED", "", EValueType.TEXT.getValue(), "Used for providing the equivalent value from resource to signal the suspended status", false);
-
-// rsc.addResourceSpecificationCharacteristicItemShort( "properties", "", EValueType.SET.getValue());
-// rsc.addResourceSpecificationCharacteristicItemShort( "additionalProperties", "", EValueType.SET.getValue());
-
-
- return rsc;
- }
-
- @Override
- public ResourceSpecificationUpdate toRSpecUpdate() {
- return this.toRSpecCreate();
- }
-
- @Override
- public KubernetesCRV1 fromRSpec(ResourceSpecification rSpec) {
- osl_KUBCRV1_RSPEC_UUID = rSpec.getUuid();
- return this;
- }
-
- @Override
- public ResourceCreate toResourceCreate() {
-
- if (osl_KUBCRV1_RSPEC_UUID == null) {
- return null;
- }
-
- ResourceSpecificationRef rSpecRef = new ResourceSpecificationRef();
- rSpecRef.setId( osl_KUBCRV1_RSPEC_UUID );
- rSpecRef.setName( OSL_KUBCRV1_RSPEC_NAME );
- rSpecRef.setVersion( OSL_KUBCRV1_RSPEC_VERSION );
-
- ResourceCreate rs = new ResourceCreate();
- rs.name( this.name )
- .category( this.category )
- .description( this.description )
-
- .resourceStatus( ResourceStatusType.RESERVED )
-
- .operationalState( ResourceOperationalStateType.ENABLE )
- .resourceSpecification( rSpecRef )
- .resourceVersion( this.version);
-
- rs.addResourceCharacteristicItemShort("clusterMasterURL", this.clusterMasterURL, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("currentContextCluster", this.currentContextCluster, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("fullResourceName", this.fullResourceName, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("Kind", this.kind, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("apiGroup", this.apiGroup, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("apiVersion", this.version , EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("UID", this.UID, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("namespace", this.namespace, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("metadata", this.metadata, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("yaml", this.yaml, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("json", this.json, EValueType.TEXT.getValue());
-
-
- rs.addResourceCharacteristicItemShort("_CR_SPEC_APPLIED", this.cr_spec_applied, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECK_FIELD", this.statusCheckFieldName, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECKVAL_STANDBY", this.statusCheckValueStandby, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECKVAL_ALARM", this.statusCheckValueAlarm, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECKVAL_AVAILABLE", this.statusCheckValueAvailable, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECKVAL_RESERVED", this.statusCheckValueReserved, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECKVAL_UNKNOWN", this.statusCheckValueUnknown, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("_CR_CHECKVAL_SUSPENDED", this.statusCheckValueSuspended, EValueType.TEXT.getValue());
-
- rs.resourceStatus( this.statusValue );
-
- if (this.properties != null)
- this.properties.forEach((kPropName, vProVal) -> {
- rs.addResourceCharacteristicItemShort(kPropName , vProVal, EValueType.TEXT.getValue());
-
- });
-
- if (this.additionalProperties != null ) {
- this.additionalProperties.forEach((kPropName, vProVal) -> {
- rs.addResourceCharacteristicItemShort(kPropName, vProVal, EValueType.TEXT.getValue());
-
- });
- }
-
-
- return rs;
- }
-
- @Override
- public ResourceUpdate toResourceUpdate() {
-
- return this.toResourceCreate();
- }
-
-}
diff --git a/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesContextDefinition.java b/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesContextDefinition.java
deleted file mode 100644
index c4f6a01987e8efe01f00b13e345b202ddda564f8..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesContextDefinition.java
+++ /dev/null
@@ -1,155 +0,0 @@
-package org.etsi.osl.domain.model.kubernetes;
-
-import org.etsi.osl.domain.model.DomainModelDefinition;
-import org.etsi.osl.domain.model.ITMFRCM634_ModelTransformer;
-import org.etsi.osl.domain.model.ITMFRI639_ModelTransformer;
-import org.etsi.osl.tmf.common.model.ELifecycle;
-import org.etsi.osl.tmf.common.model.EValueType;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecification;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCreate;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationRef;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationUpdate;
-import org.etsi.osl.tmf.ri639.model.ResourceCreate;
-import org.etsi.osl.tmf.ri639.model.ResourceOperationalStateType;
-import org.etsi.osl.tmf.ri639.model.ResourceStatusType;
-import org.etsi.osl.tmf.ri639.model.ResourceUpdate;
-import lombok.Builder;
-import lombok.Getter;
-import lombok.Setter;
-
-/**
- * @author ctranoris
- */
-@Getter
-@Setter
-public class KubernetesContextDefinition
- extends DomainModelDefinition
- implements ITMFRCM634_ModelTransformer, ITMFRI639_ModelTransformer {
-
-
- public static final String OSL_KUBD_RSPEC_NAME = "kubernetes-context-definition.openslice.io";
- public static final String OSL_KUBD_RSPEC_VERSION = "0.0.1";
- public static final String OSL_KUBD_RSPEC_CATEGORY = "KubernetesContextDefinition";
- public static final String OSL_KUBD_RESOURCE_CATEGORY = "KubernetesContextDefinition";
- public static final String OSL_KUBD_RSPEC_TYPE = "LogicalResourceSpecification";
- public static final String OSL_KUBD_RSPEC_DESCRIPTION = "This Specification is used to describe a KubernetesClient";
-
- private String osl_KUBD_SPEC_UUID = null; //this is assigned by the system through the DB for a specific instance
-
- //properties of an instance
- private String masterURL;
- private String currentContextName;
- private String currentContextCluster;
- private String currentContextUser;
- private String clusterVersion;
-
-
- @Builder
- public KubernetesContextDefinition(String osl_KUBD_SPEC_UUID, String uuid, String name, String version, String description, String category,
- String masterURL, String currentContextName, String currentContextCluster, String currentContextUser,
- String clusterVersion) {
- super(uuid, name, version, description, category);
- this.osl_KUBD_SPEC_UUID = osl_KUBD_SPEC_UUID;
- this.masterURL = masterURL;
- this.currentContextName = currentContextName;
- this.currentContextCluster = currentContextCluster;
- this.currentContextUser = currentContextUser;
- this.clusterVersion = clusterVersion;
- }
-
-
- @Override
- public ResourceSpecificationCreate toRSpecCreate_InitRepo() {
- ResourceSpecificationCreate rsc = this.toRSpecCreate();
- rsc.setName( OSL_KUBD_RSPEC_NAME );
- rsc.setVersion( OSL_KUBD_RSPEC_VERSION );
- rsc.setCategory( OSL_KUBD_RSPEC_CATEGORY );
- rsc.setDescription( OSL_KUBD_RSPEC_DESCRIPTION );
- rsc.setType( OSL_KUBD_RSPEC_TYPE );
- rsc.setLifecycleStatus( ELifecycle.ACTIVE.getValue() );
-
- return rsc;
-
- }
-
- @Override
- public ResourceSpecificationCreate toRSpecCreate() {
- ResourceSpecificationCreate rsc = new ResourceSpecificationCreate();
- rsc.setName( this.name );
- rsc.setVersion( this.version );
- rsc.setCategory( OSL_KUBD_RSPEC_CATEGORY );
- rsc.setDescription( this.description );
- rsc.setType( OSL_KUBD_RSPEC_TYPE );
- rsc.setLifecycleStatus( ELifecycle.ACTIVE.getValue() );
- rsc.addResourceSpecificationCharacteristicItemShort( "masterURL", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "resourceVersion", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "currentContextName", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "currentContextCluster", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "currentContextUser", "", EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort( "clusterVersion", "", EValueType.TEXT.getValue(), "", false);
- return rsc;
-
- }
-
- @Override
- public ResourceSpecificationUpdate toRSpecUpdate() {
- return this.toRSpecCreate();
- }
-
- /* we care only for the ID of the specification from the stored model. The definition will be static
- * (non-Javadoc)
- * @see org.etsi.osl.domain.model.ITMFRCM634_ModelTransformer#fromRSpec(org.etsi.osl.tmf.rcm634.model.ResourceSpecification)
- */
- @Override
- public KubernetesContextDefinition fromRSpec(ResourceSpecification rSpec) {
- osl_KUBD_SPEC_UUID = rSpec.getUuid();
- return this;
- }
-
-
- /*
- * returns Null if OSL_KUBD_RSPEC_UUID is not initialized
- * (non-Javadoc)
- * @see org.etsi.osl.domain.model.ITMFRI639_ModelTransformer#toResourceCreate()
- */
- @Override
- public ResourceCreate toResourceCreate() throws Exception {
- if (this.osl_KUBD_SPEC_UUID == null) {
- throw new Exception( "osl_UUID is null. Resource cannot be created without referring a Resource specification" );
-
- }
-
- ResourceSpecificationRef rSpecRef = new ResourceSpecificationRef();
- rSpecRef.setId( this.osl_KUBD_SPEC_UUID );
- rSpecRef.setName( OSL_KUBD_RSPEC_NAME );
- rSpecRef.setVersion( OSL_KUBD_RSPEC_VERSION );
-
- ResourceCreate rs = new ResourceCreate();
- rs.setName( this.name );
- rs.setResourceStatus( ResourceStatusType.AVAILABLE );
- rs.setOperationalState( ResourceOperationalStateType.ENABLE);
- rs.setCategory( OSL_KUBD_RESOURCE_CATEGORY );
- rs.setResourceSpecification(rSpecRef);
- rs.resourceVersion( this.clusterVersion );
-
- rs.addResourceCharacteristicItemShort("masterUrl", this.masterURL, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("currentContextName", this.currentContextName , EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("currentContextCluster", this.currentContextCluster , EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("currentContextUser", this.currentContextUser , EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("clusterVersion", this.clusterVersion , EValueType.TEXT.getValue());
-
-
-
-
- return rs;
- }
-
- @Override
- public ResourceUpdate toResourceUpdate() throws Exception {
- return this.toResourceCreate();
- }
-
-
-
-
-}
diff --git a/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesSecret.java b/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesSecret.java
deleted file mode 100644
index 820c777f39fcc275e8d3eea9d6b822313cd057cc..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/domain/model/kubernetes/KubernetesSecret.java
+++ /dev/null
@@ -1,213 +0,0 @@
-package org.etsi.osl.domain.model.kubernetes;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.etsi.osl.domain.model.DomainModelDefinition;
-import org.etsi.osl.domain.model.ITMFRCM634_ModelTransformer;
-import org.etsi.osl.domain.model.ITMFRI639_ModelTransformer;
-import org.etsi.osl.tmf.common.model.ELifecycle;
-import org.etsi.osl.tmf.common.model.EValueType;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecification;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCreate;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationRef;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationUpdate;
-import org.etsi.osl.tmf.ri639.model.ResourceCreate;
-import org.etsi.osl.tmf.ri639.model.ResourceOperationalStateType;
-import org.etsi.osl.tmf.ri639.model.ResourceStatusType;
-import org.etsi.osl.tmf.ri639.model.ResourceUpdate;
-import lombok.Builder;
-import lombok.Getter;
-import lombok.Setter;
-
-/**
- * @author ctranoris
- */
-@Getter
-@Setter
-public class KubernetesSecret extends DomainModelDefinition
- implements ITMFRCM634_ModelTransformer, ITMFRI639_ModelTransformer {
-
- public static final String OSL_KUBSECRET_RSPEC_NAME = "kubernetes-secret.openslice.io";
- public static final String OSL_KUBSECRET_RSPEC_VERSION = "0.0.3";
- public static final String OSL_KUBSECRET_RSPEC_CATEGORY = "Secret/Kubernetes/v1";
- public static final String OSL_KUBSECRET_RESOURCE_CATEGORY = "Secret/Kubernetes/v1";
- public static final String OSL_KUBSECRET_RSPEC_TYPE = "LogicalResourceSpecification";
- public static final String OSL_KUBSECRET_RSPEC_DESCRIPTION = "This Specification is used to describe a generic Kubernetes Secret";
-
- private String osl_KUBCRD_RSPEC_UUID = null; //this is assigned by the system through the DB for a specific instance
-
- private String clusterMasterURL;
- private String currentContextCluster;
- private String fullResourceName;
- private String kind;
- private String apiGroup;
- private String UID;
- private String metadata;
- private String yaml;
- private String json;
- private String namespace;
-
-
- private Map data;
- private String dataObj;
- private Map properties;
-
-
- @Builder
- public KubernetesSecret(String osl_KUBCRD_RSPEC_UUID, String uuid, String name, String version, String description, String category,
- String clusterMasterURL, String currentContextCluster, String fullResourceName, String namespace,
- String kind, String apiGroup, String uID,
- String metadata,
- String yaml,
- String json) {
- super(uuid, name, version, description, category);
- this.osl_KUBCRD_RSPEC_UUID = osl_KUBCRD_RSPEC_UUID;
- this.clusterMasterURL = clusterMasterURL;
- this.currentContextCluster = currentContextCluster;
- this.fullResourceName = fullResourceName;
- this.kind = kind;
- this.apiGroup = apiGroup;
- this.namespace = namespace;
- this.UID = uID;
- this.metadata = metadata;
- this.yaml = yaml;
- this.json = json;
- this.properties = new HashMap<>();
- this.data = new HashMap<>();
- this.category = OSL_KUBSECRET_RSPEC_CATEGORY;
- }
-
-
-
- @Override
- public ResourceSpecificationCreate toRSpecCreate_InitRepo() {
-
- ResourceSpecificationCreate rsc = this.toRSpecCreate();
- rsc.setName( OSL_KUBSECRET_RSPEC_NAME );
- rsc.setCategory( OSL_KUBSECRET_RSPEC_CATEGORY );
- rsc.setVersion(OSL_KUBSECRET_RSPEC_VERSION);
- rsc.setDescription( OSL_KUBSECRET_RSPEC_DESCRIPTION );
- rsc.setType( OSL_KUBSECRET_RSPEC_TYPE );
-
-
-
- return rsc;
- }
-
- @Override
- public ResourceSpecificationCreate toRSpecCreate() {
-
- ResourceSpecificationCreate rsc = new ResourceSpecificationCreate();
- rsc.setName( this.name );
- rsc.setCategory( OSL_KUBSECRET_RSPEC_CATEGORY );
- rsc.setVersion( this.version );
- rsc.setDescription( this.version );
- rsc.setType( OSL_KUBSECRET_RSPEC_TYPE );
-
- rsc.setLifecycleStatus( ELifecycle.ACTIVE.getValue() );
- rsc.addResourceSpecificationCharacteristicItemShort("clusterMasterURL", this.clusterMasterURL, EValueType.TEXT.getValue(), "URL of cluster", false);
- rsc.addResourceSpecificationCharacteristicItemShort("currentContextCluster", this.currentContextCluster, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("fullResourceName", this.fullResourceName, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("Kind", this.kind, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("apiGroup", this.apiGroup, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("UID", this.UID, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("metadata", this.metadata, EValueType.OBJECT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("yaml", this.yaml, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("json", this.json, EValueType.TEXT.getValue(), "", false);
- rsc.addResourceSpecificationCharacteristicItemShort("data", this.dataObj, EValueType.OBJECT.getValue(), "", false);
-
- if (this.properties != null)
- this.properties.forEach((kPropName, vProVal) -> {
- EValueType etype;
- etype = EValueType.TEXT;
- rsc.addResourceSpecificationCharacteristicItemShort(kPropName , vProVal, etype.getValue(), "", false);
-
- });
- if (this.data != null)
- this.data.forEach((kPropName, vProVal) -> {
- EValueType etype;
- etype = EValueType.TEXT;
- rsc.addResourceSpecificationCharacteristicItemShort(kPropName , vProVal, etype.getValue(), "", false);
-
- });
-
-
-
- return rsc;
- }
-
- @Override
- public ResourceSpecificationUpdate toRSpecUpdate() {
- return this.toRSpecCreate();
- }
-
- @Override
- public KubernetesSecret fromRSpec(ResourceSpecification rSpec) {
- this.osl_KUBCRD_RSPEC_UUID = rSpec.getUuid();
- return this;
- }
-
- @Override
- public ResourceCreate toResourceCreate() {
-
- if (osl_KUBCRD_RSPEC_UUID == null) {
- return null;
- }
-
- ResourceSpecificationRef rSpecRef = new ResourceSpecificationRef();
- rSpecRef.setId( osl_KUBCRD_RSPEC_UUID );
- rSpecRef.setName( OSL_KUBSECRET_RSPEC_NAME );
- rSpecRef.setVersion( OSL_KUBSECRET_RSPEC_VERSION );
-
- ResourceCreate rs = new ResourceCreate();
- rs.name( this.name )
- .category( OSL_KUBSECRET_RESOURCE_CATEGORY )
- .description( this.description )
- .resourceStatus( ResourceStatusType.AVAILABLE )
- .operationalState( ResourceOperationalStateType.ENABLE )
- .resourceSpecification( rSpecRef )
- .resourceVersion( this.version);
-
- rs.addResourceCharacteristicItemShort("clusterMasterURL", this.clusterMasterURL, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("currentContextCluster", this.currentContextCluster, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("fullResourceName", this.fullResourceName, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("Kind", this.kind, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("apiGroup", this.apiGroup, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("UID", this.UID, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("metadata", this.metadata, EValueType.OBJECT.getValue());
- rs.addResourceCharacteristicItemShort("yaml", this.yaml, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("json", this.json, EValueType.TEXT.getValue());
- rs.addResourceCharacteristicItemShort("data", this.dataObj, EValueType.OBJECT.getValue());
-
-
-
-
- if (this.properties != null)
- this.properties.forEach((kPropName, vProVal) -> {
- EValueType etype;
- etype = EValueType.TEXT;
-
- rs.addResourceCharacteristicItemShort(kPropName , vProVal, etype.getValue());
-
- });
- if (this.data != null)
- this.data.forEach((kPropName, vProVal) -> {
- EValueType etype;
- etype = EValueType.TEXT;
- rs.addResourceCharacteristicItemShort(kPropName , vProVal, etype.getValue());
-
- });
-
-
-
-
- return rs;
- }
-
- @Override
- public ResourceUpdate toResourceUpdate() {
-
- return this.toResourceCreate();
- }
-
-}
diff --git a/src/main/java/org/etsi/osl/sd/model/ServiceDescriptor.java b/src/main/java/org/etsi/osl/sd/model/ServiceDescriptor.java
deleted file mode 100644
index 94e7296af69c0259db61d49ec601eae2992357e9..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/sd/model/ServiceDescriptor.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.sd.model;
-
-import java.util.HashSet;
-import java.util.Set;
-import org.etsi.osl.tmf.scm633.model.ServiceSpecification;
-import org.hibernate.annotations.GenericGenerator;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.CascadeType;
-import jakarta.persistence.Entity;
-import jakarta.persistence.GeneratedValue;
-import jakarta.persistence.Id;
-import jakarta.persistence.OneToMany;
-import jakarta.validation.Valid;
-
-/**
- * This model will hold information that will help later on service orchestration.
- * It should be attached to entities that we need to orchestrate in general, like {@link ServiceSpecification}
- *
- * @author ctranoris
- *
- */
-@Schema(description = "This model will hold information that will help later on service orchestration.")
-@Validated
-@Entity(name = "ServiceDescriptor")
-public class ServiceDescriptor {
-
- @Id
- @GeneratedValue(generator = "uuid")
- @GenericGenerator(name = "uuid", strategy = "uuid2")
- protected String uuid = null;
-
-
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- Set metadata = new HashSet<>();
-
-
- /**
- * references the root entity ID of this SD
- */
- private String rootEntityID;
-
- /**
- * references the root entity ID of this SD
- */
- private String rootEntityType;
-
-
- public ServiceDescriptor() {
-
- }
-
-
- /**
- * @return the metadata
- */
- public Set getMetadata() {
- return metadata;
- }
-
-
- /**
- * @param metadata the metadata to set
- */
- public void setMetadata(Set metadata) {
- this.metadata = metadata;
- }
-
-
- /**
- * @return the uuid
- */
- public String getUuid() {
- return uuid;
- }
-
-
- /**
- * @param uuid the uuid to set
- */
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
-
-
- /**
- * @return the rootEntityID
- */
- public String getRootEntityID() {
- return rootEntityID;
- }
-
-
- /**
- * @param rootEntityID the rootEntityID to set
- */
- public void setRootEntityID(String rootEntityID) {
- this.rootEntityID = rootEntityID;
- }
-
-
- /**
- * @return the rootEntityType
- */
- public String getRootEntityType() {
- return rootEntityType;
- }
-
-
- /**
- * @param rootEntityType the rootEntityType to set
- */
- public void setRootEntityType(String rootEntityType) {
- this.rootEntityType = rootEntityType;
- }
-
-
-
-}
diff --git a/src/main/java/org/etsi/osl/sd/model/ServiceDescriptorAttr.java b/src/main/java/org/etsi/osl/sd/model/ServiceDescriptorAttr.java
deleted file mode 100644
index 364dd46a3e203624af2fd63481985e8a2dc08193..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/sd/model/ServiceDescriptorAttr.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.sd.model;
-
-import org.etsi.osl.tmf.scm633.model.ServiceSpecification;
-import org.hibernate.annotations.GenericGenerator;
-import jakarta.persistence.Entity;
-import jakarta.persistence.GeneratedValue;
-import jakarta.persistence.Id;
-
-/**
- * This model will hold information that will help later on service
- * orchestration. It should be attached to entities that we need to orchestrate
- * in general, like {@link ServiceSpecification}
- *
- * @author ctranoris
- *
- */
-@Entity(name = "ServiceDescriptorAttr")
-public class ServiceDescriptorAttr {
-
- @Id
- @GeneratedValue(generator = "uuid")
- @GenericGenerator(name = "uuid", strategy = "uuid2")
- protected String uuid = null;
-
- private String name;
-
- private String value;
-
- public ServiceDescriptorAttr() {
-
- }
-
- public ServiceDescriptorAttr(String name, String value) {
- super();
- this.name = name;
- this.value = value;
- }
-
- /**
- * @return the name
- */
- public String getName() {
- return name;
- }
-
- /**
- * @param name the name to set
- */
- public void setName(String name) {
- this.name = name;
- }
-
- /**
- * @return the value
- */
- public String getValue() {
- return value;
- }
-
- /**
- * @param value the value to set
- */
- public void setValue(String value) {
- this.value = value;
- }
-
- /**
- * @return the uuid
- */
- public String getUuid() {
- return uuid;
- }
-
- /**
- * @param uuid the uuid to set
- */
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
-
-}
diff --git a/src/main/java/org/etsi/osl/tmf/BootstrapResources.java b/src/main/java/org/etsi/osl/tmf/BootstrapResources.java
index 7b4432f4df650633beb585161b6b1cf76511a064..dacfb02b6c0f9c82d758949409ef662b163cadaf 100644
--- a/src/main/java/org/etsi/osl/tmf/BootstrapResources.java
+++ b/src/main/java/org/etsi/osl/tmf/BootstrapResources.java
@@ -19,28 +19,20 @@
*/
package org.etsi.osl.tmf;
-import java.util.Collections;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
+import com.fasterxml.jackson.databind.ObjectMapper;
import org.etsi.osl.domain.model.kubernetes.KubernetesCRDV1;
import org.etsi.osl.domain.model.kubernetes.KubernetesCRV1;
import org.etsi.osl.domain.model.kubernetes.KubernetesContextDefinition;
import org.etsi.osl.domain.model.kubernetes.KubernetesSecret;
-import org.etsi.osl.tmf.common.model.BaseRootNamedEntity;
-import org.etsi.osl.tmf.rcm634.model.ResourceCandidate;
-import org.etsi.osl.tmf.rcm634.model.ResourceCandidateCreate;
import org.etsi.osl.tmf.rcm634.model.ResourceCandidateUpdate;
import org.etsi.osl.tmf.rcm634.model.ResourceCatalog;
import org.etsi.osl.tmf.rcm634.model.ResourceCatalogCreate;
-import org.etsi.osl.tmf.rcm634.model.ResourceCatalogUpdate;
import org.etsi.osl.tmf.rcm634.model.ResourceCategory;
import org.etsi.osl.tmf.rcm634.model.ResourceCategoryCreate;
import org.etsi.osl.tmf.rcm634.model.ResourceCategoryRef;
import org.etsi.osl.tmf.rcm634.model.ResourceSpecification;
import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCreate;
import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationRef;
-import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationRelationship;
import org.etsi.osl.tmf.rcm634.repo.ResourceCatalogRepository;
import org.etsi.osl.tmf.rcm634.repo.ResourceSpecificationRepository;
import org.etsi.osl.tmf.rcm634.reposervices.ResourceCandidateRepoService;
@@ -48,12 +40,9 @@ import org.etsi.osl.tmf.rcm634.reposervices.ResourceCatalogRepoService;
import org.etsi.osl.tmf.rcm634.reposervices.ResourceCategoryRepoService;
import org.etsi.osl.tmf.rcm634.reposervices.ResourceSpecificationRepoService;
import org.etsi.osl.tmf.ri639.reposervices.ResourceRepoService;
-import org.etsi.osl.tmf.scm633.model.ServiceSpecification;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
-
-import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.annotation.PostConstruct;
@Service
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarms.java b/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarms.java
deleted file mode 100644
index 7749774ca769f97a0bd90fc20e24d36d8eb4f9d4..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarms.java
+++ /dev/null
@@ -1,292 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.HashSet;
-import java.util.Objects;
-import java.util.Set;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.CascadeType;
-import jakarta.persistence.Entity;
-import jakarta.persistence.OneToMany;
-import jakarta.persistence.Table;
-import jakarta.validation.Valid;
-
-/**
- * Task resource for the acknowledge alarms operation
- */
-@Schema(description = "Task resource for the acknowledge alarms operation")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMAckAlarms")
-@Table(name = "AMAckAlarms")
-public class AckAlarms extends BaseRootEntity {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("ackSystemId")
- private String ackSystemId = null;
-
- private OffsetDateTime ackTime = null;
-
- @JsonProperty("ackUserId")
- private String ackUserId = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("ackedAlarm")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set ackedAlarm = new HashSet<>();
-
- @JsonProperty("alarmPattern")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set alarmPattern = new HashSet<>();
-
- /**
- * @return the id
- */
- public String getId() {
- if (uuid != null) {
- id = uuid;
- }
- return id;
- }
-
-
-
- public AckAlarms ackSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- return this;
- }
-
- /**
- * Name of the acknowledging system
- *
- * @return ackSystemId
- **/
- @Schema(description = "Name of the acknowledging system")
-
- public String getAckSystemId() {
- return ackSystemId;
- }
-
- public void setAckSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- }
-
- public AckAlarms ackTime(OffsetDateTime ackTime) {
- this.ackTime = ackTime;
- return this;
- }
-
- /**
- * Time of the acknowledgement
- *
- * @return ackTime
- **/
- @Schema(description = "Time of the acknowledgement")
-
- @Valid
- public OffsetDateTime getAckTime() {
- return ackTime;
- }
-
- public void setAckTime(OffsetDateTime ackTime) {
- this.ackTime = ackTime;
- }
-
-
- @JsonProperty("ackTime")
- public String getAckTimeStr() {
- if (this.ackTime != null) {
- return this.ackTime.toString();
- } else {
- return null;
- }
- }
-
- public AckAlarms ackUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- return this;
- }
-
- /**
- * Name of the acknowledging user
- *
- * @return ackUserId
- **/
- @Schema(description = "Name of the acknowledging user")
-
- public String getAckUserId() {
- return ackUserId;
- }
-
- public void setAckUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- }
-
- public AckAlarms state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current state of the operation task
- *
- * @return state
- **/
- @Schema(description = "Current state of the operation task")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public AckAlarms ackedAlarm(Set ackedAlarm) {
- this.ackedAlarm = ackedAlarm;
- return this;
- }
-
- public AckAlarms addAckedAlarmItem(AlarmRefOrValue ackedAlarmItem) {
- if (this.ackedAlarm == null) {
- this.ackedAlarm = new HashSet<>();
- }
- this.ackedAlarm.add(ackedAlarmItem);
- return this;
- }
-
- /**
- * The successfully acknowledged alarms
- *
- * @return ackedAlarm
- **/
- @Schema(description = "The successfully acknowledged alarms")
- @Valid
- public Set getAckedAlarm() {
- return ackedAlarm;
- }
-
- public void setAckedAlarm(Set ackedAlarm) {
- this.ackedAlarm = ackedAlarm;
- }
-
- public AckAlarms alarmPattern(Set alarmPattern) {
- this.alarmPattern = alarmPattern;
- return this;
- }
-
- public AckAlarms addAlarmPatternItem(Alarm alarmPatternItem) {
- if (this.alarmPattern == null) {
- this.alarmPattern = new HashSet<>();
- }
- this.alarmPattern.add(alarmPatternItem);
- return this;
- }
-
- /**
- * Alarm patterns to match target alarms. An alarm will match if all of the
- * sttributes in any of the patterns compare equal to those attributes of the
- * alarm.
- *
- * @return alarmPattern
- **/
- @Schema(description = "Alarm patterns to match target alarms. An alarm will match if all of the sttributes in any of the patterns compare equal to those attributes of the alarm.")
- @Valid
- public Set getAlarmPattern() {
- return alarmPattern;
- }
-
- public void setAlarmPattern(Set alarmPattern) {
- this.alarmPattern = alarmPattern;
- }
-
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AckAlarms ackAlarms = (AckAlarms) o;
- return Objects.equals(this.id, ackAlarms.id) && Objects.equals(this.href, ackAlarms.href)
- && Objects.equals(this.ackSystemId, ackAlarms.ackSystemId)
- && Objects.equals(this.ackTime, ackAlarms.ackTime)
- && Objects.equals(this.ackUserId, ackAlarms.ackUserId) && Objects.equals(this.state, ackAlarms.state)
- && Objects.equals(this.ackedAlarm, ackAlarms.ackedAlarm)
- && Objects.equals(this.alarmPattern, ackAlarms.alarmPattern)
- && Objects.equals(this.baseType, ackAlarms.baseType)
- && Objects.equals(this.schemaLocation, ackAlarms.schemaLocation)
- && Objects.equals(this.type, ackAlarms.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, ackSystemId, ackTime, ackUserId, state, ackedAlarm, alarmPattern, baseType,
- schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AckAlarms {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" ackSystemId: ").append(toIndentedString(ackSystemId)).append("\n");
- sb.append(" ackTime: ").append(toIndentedString(ackTime)).append("\n");
- sb.append(" ackUserId: ").append(toIndentedString(ackUserId)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" ackedAlarm: ").append(toIndentedString(ackedAlarm)).append("\n");
- sb.append(" alarmPattern: ").append(toIndentedString(alarmPattern)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsCreate.java b/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsCreate.java
deleted file mode 100644
index 2171d8369b43a6dbd4559515a2f74611a6cb7d00..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsCreate.java
+++ /dev/null
@@ -1,314 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-import jakarta.validation.constraints.NotNull;
-import jakarta.validation.constraints.Size;
-
-/**
- * Task resource for the acknowledge alarms operation Skipped properties: id,href
- */
-@Schema(description = "Task resource for the acknowledge alarms operation Skipped properties: id,href")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AckAlarmsCreate {
- @JsonProperty("ackSystemId")
- private String ackSystemId = null;
-
- @JsonProperty("ackTime")
- private OffsetDateTime ackTime = null;
-
- @JsonProperty("ackUserId")
- private String ackUserId = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("ackedAlarm")
- @Valid
- private List ackedAlarm = null;
-
- @JsonProperty("alarmPattern")
- @Valid
- private List alarmPattern = new ArrayList<>();
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public AckAlarmsCreate ackSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- return this;
- }
-
- /**
- * Name of the acknowledging system
- * @return ackSystemId
- **/
- @Schema(description = "Name of the acknowledging system")
- @NotNull
-
- public String getAckSystemId() {
- return ackSystemId;
- }
-
- public void setAckSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- }
-
- public AckAlarmsCreate ackTime(OffsetDateTime ackTime) {
- this.ackTime = ackTime;
- return this;
- }
-
- /**
- * Time of the acknowledgement
- * @return ackTime
- **/
- @Schema(description = "Time of the acknowledgement")
-
- @Valid
- public OffsetDateTime getAckTime() {
- return ackTime;
- }
-
- public void setAckTime(OffsetDateTime ackTime) {
- this.ackTime = ackTime;
- }
-
- public AckAlarmsCreate ackUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- return this;
- }
-
- /**
- * Name of the acknowledging user
- * @return ackUserId
- **/
- @Schema(description = "Name of the acknowledging user")
- @NotNull
-
- public String getAckUserId() {
- return ackUserId;
- }
-
- public void setAckUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- }
-
- public AckAlarmsCreate state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current state of the operation task
- * @return state
- **/
- @Schema(description = "Current state of the operation task")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public AckAlarmsCreate ackedAlarm(List ackedAlarm) {
- this.ackedAlarm = ackedAlarm;
- return this;
- }
-
- public AckAlarmsCreate addAckedAlarmItem(AlarmRefOrValue ackedAlarmItem) {
- if (this.ackedAlarm == null) {
- this.ackedAlarm = new ArrayList<>();
- }
- this.ackedAlarm.add(ackedAlarmItem);
- return this;
- }
-
- /**
- * The successfully acknowledged alarms
- * @return ackedAlarm
- **/
- @Schema(description = "The successfully acknowledged alarms")
- @Valid
- public List getAckedAlarm() {
- return ackedAlarm;
- }
-
- public void setAckedAlarm(List ackedAlarm) {
- this.ackedAlarm = ackedAlarm;
- }
-
- public AckAlarmsCreate alarmPattern(List alarmPattern) {
- this.alarmPattern = alarmPattern;
- return this;
- }
-
- public AckAlarmsCreate addAlarmPatternItem(Alarm alarmPatternItem) {
- this.alarmPattern.add(alarmPatternItem);
- return this;
- }
-
- /**
- * Alarm patterns to match target alarms. An alarm will match if all of the sttributes in any of the patterns compare equal to those attributes of the alarm.
- * @return alarmPattern
- **/
- @Schema(description = "Alarm patterns to match target alarms. An alarm will match if all of the sttributes in any of the patterns compare equal to those attributes of the alarm.")
- @NotNull
- @Valid
- @Size(min=1) public List getAlarmPattern() {
- return alarmPattern;
- }
-
- public void setAlarmPattern(List alarmPattern) {
- this.alarmPattern = alarmPattern;
- }
-
- public AckAlarmsCreate baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * When sub-classing, this defines the super-class
- * @return baseType
- **/
- @Schema(description = "When sub-classing, this defines the super-class")
-
- public String getAtBaseType() {
- return baseType;
- }
-
- public void setAtBaseType(String baseType) {
- this.baseType = baseType;
- }
-
- public AckAlarmsCreate schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A URI to a JSON-Schema file that defines additional attributes and relationships
- * @return schemaLocation
- **/
- @Schema(description = "A URI to a JSON-Schema file that defines additional attributes and relationships")
-
- public String getAtSchemaLocation() {
- return schemaLocation;
- }
-
- public void setAtSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public AckAlarmsCreate type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * When sub-classing, this defines the sub-class entity name
- * @return type
- **/
- @Schema(description = "When sub-classing, this defines the sub-class entity name")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AckAlarmsCreate ackAlarmsCreate = (AckAlarmsCreate) o;
- return Objects.equals(this.ackSystemId, ackAlarmsCreate.ackSystemId) &&
- Objects.equals(this.ackTime, ackAlarmsCreate.ackTime) &&
- Objects.equals(this.ackUserId, ackAlarmsCreate.ackUserId) &&
- Objects.equals(this.state, ackAlarmsCreate.state) &&
- Objects.equals(this.ackedAlarm, ackAlarmsCreate.ackedAlarm) &&
- Objects.equals(this.alarmPattern, ackAlarmsCreate.alarmPattern) &&
- Objects.equals(this.baseType, ackAlarmsCreate.baseType) &&
- Objects.equals(this.schemaLocation, ackAlarmsCreate.schemaLocation) &&
- Objects.equals(this.type, ackAlarmsCreate.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(ackSystemId, ackTime, ackUserId, state, ackedAlarm, alarmPattern, baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AckAlarmsCreate {\n");
-
- sb.append(" ackSystemId: ").append(toIndentedString(ackSystemId)).append("\n");
- sb.append(" ackTime: ").append(toIndentedString(ackTime)).append("\n");
- sb.append(" ackUserId: ").append(toIndentedString(ackUserId)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" ackedAlarm: ").append(toIndentedString(ackedAlarm)).append("\n");
- sb.append(" alarmPattern: ").append(toIndentedString(alarmPattern)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsCreateEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsCreateEvent.java
deleted file mode 100644
index a515722e59b347cbfcff3ad4556a05b07b2774e5..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsCreateEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AckAlarmsCreateEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private AckAlarmsCreateEventPayload event = null;
-
- public AckAlarmsCreateEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public AckAlarmsCreateEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public AckAlarmsCreateEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public AckAlarmsCreateEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public AckAlarmsCreateEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public AckAlarmsCreateEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public AckAlarmsCreateEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public AckAlarmsCreateEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public AckAlarmsCreateEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public AckAlarmsCreateEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public AckAlarmsCreateEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public AckAlarmsCreateEvent event(AckAlarmsCreateEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public AckAlarmsCreateEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(AckAlarmsCreateEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AckAlarmsCreateEvent ackAlarmsCreateEvent = (AckAlarmsCreateEvent) o;
- return Objects.equals(this.id, ackAlarmsCreateEvent.id) &&
- Objects.equals(this.href, ackAlarmsCreateEvent.href) &&
- Objects.equals(this.eventId, ackAlarmsCreateEvent.eventId) &&
- Objects.equals(this.eventTime, ackAlarmsCreateEvent.eventTime) &&
- Objects.equals(this.eventType, ackAlarmsCreateEvent.eventType) &&
- Objects.equals(this.correlationId, ackAlarmsCreateEvent.correlationId) &&
- Objects.equals(this.domain, ackAlarmsCreateEvent.domain) &&
- Objects.equals(this.title, ackAlarmsCreateEvent.title) &&
- Objects.equals(this.description, ackAlarmsCreateEvent.description) &&
- Objects.equals(this.priority, ackAlarmsCreateEvent.priority) &&
- Objects.equals(this.timeOcurred, ackAlarmsCreateEvent.timeOcurred) &&
- Objects.equals(this.event, ackAlarmsCreateEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AckAlarmsCreateEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsCreateEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsCreateEventPayload.java
deleted file mode 100644
index 788d11c3fc82f0df9a09f02100cf8e13ed37be06..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsCreateEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AckAlarmsCreateEventPayload {
- @JsonProperty("ackAlarms")
- private AckAlarms ackAlarms = null;
-
- public AckAlarmsCreateEventPayload ackAlarms(AckAlarms ackAlarms) {
- this.ackAlarms = ackAlarms;
- return this;
- }
-
- /**
- * Get ackAlarms
- * @return ackAlarms
- **/
- @Schema(description = "")
-
- @Valid
- public AckAlarms getAckAlarms() {
- return ackAlarms;
- }
-
- public void setAckAlarms(AckAlarms ackAlarms) {
- this.ackAlarms = ackAlarms;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AckAlarmsCreateEventPayload ackAlarmsCreateEventPayload = (AckAlarmsCreateEventPayload) o;
- return Objects.equals(this.ackAlarms, ackAlarmsCreateEventPayload.ackAlarms);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(ackAlarms);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AckAlarmsCreateEventPayload {\n");
-
- sb.append(" ackAlarms: ").append(toIndentedString(ackAlarms)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsStateChangeEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsStateChangeEvent.java
deleted file mode 100644
index 96006442c17eb33529772637204c455d3a8c9e47..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsStateChangeEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AckAlarmsStateChangeEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private AckAlarmsStateChangeEventPayload event = null;
-
- public AckAlarmsStateChangeEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public AckAlarmsStateChangeEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public AckAlarmsStateChangeEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public AckAlarmsStateChangeEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public AckAlarmsStateChangeEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public AckAlarmsStateChangeEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public AckAlarmsStateChangeEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public AckAlarmsStateChangeEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public AckAlarmsStateChangeEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public AckAlarmsStateChangeEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public AckAlarmsStateChangeEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public AckAlarmsStateChangeEvent event(AckAlarmsStateChangeEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public AckAlarmsStateChangeEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(AckAlarmsStateChangeEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AckAlarmsStateChangeEvent ackAlarmsStateChangeEvent = (AckAlarmsStateChangeEvent) o;
- return Objects.equals(this.id, ackAlarmsStateChangeEvent.id) &&
- Objects.equals(this.href, ackAlarmsStateChangeEvent.href) &&
- Objects.equals(this.eventId, ackAlarmsStateChangeEvent.eventId) &&
- Objects.equals(this.eventTime, ackAlarmsStateChangeEvent.eventTime) &&
- Objects.equals(this.eventType, ackAlarmsStateChangeEvent.eventType) &&
- Objects.equals(this.correlationId, ackAlarmsStateChangeEvent.correlationId) &&
- Objects.equals(this.domain, ackAlarmsStateChangeEvent.domain) &&
- Objects.equals(this.title, ackAlarmsStateChangeEvent.title) &&
- Objects.equals(this.description, ackAlarmsStateChangeEvent.description) &&
- Objects.equals(this.priority, ackAlarmsStateChangeEvent.priority) &&
- Objects.equals(this.timeOcurred, ackAlarmsStateChangeEvent.timeOcurred) &&
- Objects.equals(this.event, ackAlarmsStateChangeEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AckAlarmsStateChangeEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsStateChangeEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsStateChangeEventPayload.java
deleted file mode 100644
index 16c385e95415be9c63e6941ec4fae1a042191fa4..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AckAlarmsStateChangeEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AckAlarmsStateChangeEventPayload {
- @JsonProperty("ackAlarms")
- private AckAlarms ackAlarms = null;
-
- public AckAlarmsStateChangeEventPayload ackAlarms(AckAlarms ackAlarms) {
- this.ackAlarms = ackAlarms;
- return this;
- }
-
- /**
- * Get ackAlarms
- * @return ackAlarms
- **/
- @Schema(description = "")
-
- @Valid
- public AckAlarms getAckAlarms() {
- return ackAlarms;
- }
-
- public void setAckAlarms(AckAlarms ackAlarms) {
- this.ackAlarms = ackAlarms;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AckAlarmsStateChangeEventPayload ackAlarmsStateChangeEventPayload = (AckAlarmsStateChangeEventPayload) o;
- return Objects.equals(this.ackAlarms, ackAlarmsStateChangeEventPayload.ackAlarms);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(ackAlarms);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AckAlarmsStateChangeEventPayload {\n");
-
- sb.append(" ackAlarms: ").append(toIndentedString(ackAlarms)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AffectedService.java b/src/main/java/org/etsi/osl/tmf/am642/model/AffectedService.java
deleted file mode 100644
index a6110ff67ea6509b4b19e472e63cadade81cf043..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AffectedService.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootEntity;
-import org.springframework.validation.annotation.Validated;
-import jakarta.persistence.Entity;
-import jakarta.persistence.Table;
-
-/**
- * AffectedService
- */
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMAffectedService")
-@Table(name = "AMAffectedService")
-public class AffectedService extends BaseRootEntity {
- @JsonProperty("id")
- private String id = null;
-
- public void setId(String anid) {
-
- this.id = anid;
- }
-
- /**
- * @return the id
- */
- public String getId() {
-
- return id;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AffectedService affectedService = (AffectedService) o;
- return Objects.equals(this.id, affectedService.id) && Objects.equals(this.href, affectedService.href)
- && Objects.equals(this.baseType, affectedService.baseType)
- && Objects.equals(this.schemaLocation, affectedService.schemaLocation)
- && Objects.equals(this.type, affectedService.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AffectedService {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/Alarm.java b/src/main/java/org/etsi/osl/tmf/am642/model/Alarm.java
deleted file mode 100644
index b86f34435adf13858692f3203271665b23c2c42d..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/Alarm.java
+++ /dev/null
@@ -1,1067 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.HashSet;
-import java.util.Objects;
-import java.util.Set;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.CascadeType;
-import jakarta.persistence.Column;
-import jakarta.persistence.Entity;
-import jakarta.persistence.Lob;
-import jakarta.persistence.OneToMany;
-import jakarta.persistence.OneToOne;
-import jakarta.persistence.Table;
-import jakarta.validation.Valid;
-
-/**
- * This resource represents an alarm supporting the information model defined in
- * ITU-T X.733.
- */
-@Schema(description = "This resource represents an alarm supporting the information model defined in ITU-T X.733.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-
-@Entity(name = "AMAlarm")
-@Table(name = "AMAlarm")
-public class Alarm extends BaseRootEntity {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("ackState")
- private String ackState = null;
-
- @JsonProperty("ackSystemId")
- private String ackSystemId = null;
-
- @JsonProperty("ackUserId")
- private String ackUserId = null;
-
- private OffsetDateTime alarmChangedTime = null;
-
- private OffsetDateTime alarmClearedTime = null;
-
- @JsonProperty("alarmDetails")
- @Lob
- @Column(name = "LALARMDETAILS", columnDefinition = "LONGTEXT")
- private String alarmDetails = null;
-
- @JsonProperty("alarmEscalation")
- private Boolean alarmEscalation = null;
-
- private OffsetDateTime alarmRaisedTime = null;
-
- private OffsetDateTime alarmReportingTime = null;
-
- @JsonProperty("alarmType")
- private String alarmType = null;
-
- @JsonProperty("alarmedObjectType")
- private String alarmedObjectType = null;
-
- @JsonProperty("clearSystemId")
- private String clearSystemId = null;
-
- @JsonProperty("clearUserId")
- private String clearUserId = null;
-
- @JsonProperty("externalAlarmId")
- private String externalAlarmId = null;
-
- @JsonProperty("isRootCause")
- private Boolean isRootCause = null;
-
- @JsonProperty("perceivedSeverity")
- private String perceivedSeverity = null;
-
- @JsonProperty("plannedOutageIndicator")
- private String plannedOutageIndicator = null;
-
- @JsonProperty("probableCause")
- private String probableCause = null;
-
- @JsonProperty("proposedRepairedActions")
- private String proposedRepairedActions = null;
-
- @JsonProperty("reportingSystemId")
- private String reportingSystemId = null;
-
- @JsonProperty("serviceAffecting")
- private Boolean serviceAffecting = null;
-
- @JsonProperty("sourceSystemId")
- private String sourceSystemId = null;
-
- @JsonProperty("specificProblem")
- @Lob
- @Column(name = "LSPECIFICPROB", columnDefinition = "LONGTEXT")
- private String specificProblem = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("affectedService")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set affectedService = new HashSet<>();
-
- @JsonProperty("alarmedObject")
- @OneToOne(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private AlarmedObject alarmedObject = null;
-
- @JsonProperty("comment")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set comment = new HashSet<>();
-
- @JsonProperty("correlatedAlarm")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set correlatedAlarm = new HashSet<>();
-
- @JsonProperty("crossedThresholdInformation")
- @OneToOne(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private CrossedThresholdInformation crossedThresholdInformation = null;
-
- @JsonProperty("parentAlarm")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set parentAlarm = new HashSet<>();
-
- @JsonProperty("place")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set place = new HashSet<>();
-
-
-
- /**
- * @return the id
- */
- public String getId() {
- if (uuid != null) {
- id = uuid;
- }
- return id;
- }
-
- public Alarm href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * A reference to the alarm.
- *
- * @return href
- **/
- @Schema(description = "A reference to the alarm.")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public Alarm ackState(String ackState) {
- this.ackState = ackState;
- return this;
- }
-
- /**
- * Provides the Acknowledgement State of the alarm
- *
- * @return ackState
- **/
- @Schema(description = "Provides the Acknowledgement State of the alarm")
-
- public String getAckState() {
- return ackState;
- }
-
- public void setAckState(String ackState) {
- this.ackState = ackState;
- }
-
- public Alarm ackSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- return this;
- }
-
- /**
- * Provides the name of the system that last changed the ackState of an alarm,
- * i.e. acknowledged or unacknowledged the alarm.
- *
- * @return ackSystemId
- **/
- @Schema(description = "Provides the name of the system that last changed the ackState of an alarm, i.e. acknowledged or unacknowledged the alarm.")
-
- public String getAckSystemId() {
- return ackSystemId;
- }
-
- public void setAckSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- }
-
- public Alarm ackUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- return this;
- }
-
- /**
- * Provides the id of the user who has last changed the ack state of the alarm,
- * i.e. acknowledged or unacknowledged the alarm.
- *
- * @return ackUserId
- **/
- @Schema(description = "Provides the id of the user who has last changed the ack state of the alarm, i.e. acknowledged or unacknowledged the alarm.")
-
- public String getAckUserId() {
- return ackUserId;
- }
-
- public void setAckUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- }
-
- public Alarm alarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- return this;
- }
-
- /**
- * Indicates the last date and time when the alarm is changed on the
- * alarm-owning system. Any change to the alarm whether coming from the alarmed
- * resource, or triggered by a change from the client is changing this time.
- *
- * @return alarmChangedTime
- **/
- @Schema(description = "Indicates the last date and time when the alarm is changed on the alarm-owning system. Any change to the alarm whether coming from the alarmed resource, or triggered by a change from the client is changing this time.")
-
- @Valid
- public OffsetDateTime getAlarmChangedTime() {
- return alarmChangedTime;
- }
-
- public void setAlarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- }
-
- public void setAlarmChangedTime(String alarmChangedTime) {
- if ( alarmChangedTime != null) {
- this.alarmChangedTime = OffsetDateTime.parse( alarmChangedTime );
-
- }
- }
-
- @JsonProperty("alarmChangedTime")
- public String getAlarmChangedTimeStr() {
- if (this.alarmChangedTime != null) {
- return this.alarmChangedTime.toString();
- } else {
- return null;
- }
- }
-
- public Alarm alarmClearedTime(OffsetDateTime alarmClearedTime) {
- this.alarmClearedTime = alarmClearedTime;
- return this;
- }
-
-
-
-
-
-
-
- /**
- * Indicates the time (as a date + time) at which the alarm is cleared at the
- * source.
- *
- * @return alarmClearedTime
- **/
- @Schema(description = "Indicates the time (as a date + time) at which the alarm is cleared at the source. ")
-
- @Valid
- public OffsetDateTime getAlarmClearedTime() {
- return alarmClearedTime;
- }
-
- public void setAlarmClearedTime(OffsetDateTime alarmClearedTime) {
- this.alarmClearedTime = alarmClearedTime;
- }
-
- public void setAlarmClearedTime(String alarmClearedTime) {
- if ( alarmClearedTime != null) {
- this.alarmClearedTime = OffsetDateTime.parse( alarmClearedTime );
- }
- }
-
-
- @JsonProperty("alarmClearedTime")
- public String getAlarmClearedTimeStr() {
- if (this.alarmClearedTime != null) {
- return this.alarmClearedTime.toString();
- } else {
- return null;
- }
- }
-
- public Alarm alarmDetails(String alarmDetails) {
- this.alarmDetails = alarmDetails;
- return this;
- }
-
- /**
- * Contains further information on the alarm.
- *
- * @return alarmDetails
- **/
- @Schema(description = "Contains further information on the alarm.")
-
- public String getAlarmDetails() {
- return alarmDetails;
- }
-
- public void setAlarmDetails(String alarmDetails) {
- this.alarmDetails = alarmDetails;
- }
-
- public Alarm alarmEscalation(Boolean alarmEscalation) {
- this.alarmEscalation = alarmEscalation;
- return this;
- }
-
- /**
- * Indicates if this alarm has been escalated or not.
- *
- * @return alarmEscalation
- **/
- @Schema(description = "Indicates if this alarm has been escalated or not. ")
-
- public Boolean isAlarmEscalation() {
- return alarmEscalation;
- }
-
- public void setAlarmEscalation(Boolean alarmEscalation) {
- this.alarmEscalation = alarmEscalation;
- }
-
- public Alarm alarmRaisedTime(OffsetDateTime alarmRaisedTime) {
- this.alarmRaisedTime = alarmRaisedTime;
- return this;
- }
-
- /**
- * Indicates the time (as a date + time) at which the alarm occurred at its
- * source.
- *
- * @return alarmRaisedTime
- **/
- @Schema(description = "Indicates the time (as a date + time) at which the alarm occurred at its source.")
-
- @Valid
- public OffsetDateTime getAlarmRaisedTime() {
- return alarmRaisedTime;
- }
-
- public void setAlarmRaisedTime(OffsetDateTime alarmRaisedTime) {
- this.alarmRaisedTime = alarmRaisedTime;
- }
-
- public void setAlarmRaisedTime(String alarmRaisedTime) {
-
- if ( alarmRaisedTime != null) {
- this.alarmRaisedTime = OffsetDateTime.parse( alarmRaisedTime );
-
- }
- }
-
-
- @JsonProperty("alarmRaisedTime")
- public String getAlarmRaisedTimeStr() {
- if (this.alarmRaisedTime != null) {
- return this.alarmRaisedTime.toString();
- } else {
- return null;
- }
- }
-
-
-
- public Alarm alarmReportingTime(OffsetDateTime alarmReportingTime) {
- this.alarmReportingTime = alarmReportingTime;
- return this;
- }
-
- /**
- * Indicates the time (as a date + time) at which the alarm was reported by the
- * owning OSS. It might be different from the alarmRaisedTime. For instance, if
- * the alarm list is maintained by an EMS, the alarmRaisedtime would be the time
- * the alarm was detected by the NE, while the alarmReportingTime would be the
- * time this alarm was stored in the alarm list of the EMS.
- *
- * @return alarmReportingTime
- **/
- @Schema(description = "Indicates the time (as a date + time) at which the alarm was reported by the owning OSS. It might be different from the alarmRaisedTime. For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would be the time the alarm was detected by the NE, while the alarmReportingTime would be the time this alarm was stored in the alarm list of the EMS.")
-
- @Valid
- public OffsetDateTime getAlarmReportingTime() {
- return alarmReportingTime;
- }
-
- public void setAlarmReportingTime(OffsetDateTime alarmReportingTime) {
- this.alarmReportingTime = alarmReportingTime;
- }
-
-
- public void setAlarmReportingTime(String alarmReportingTime) {
- if ( alarmReportingTime != null) {
- this.alarmReportingTime = OffsetDateTime.parse( alarmReportingTime );
-
- }
- }
-
- @JsonProperty("alarmReportingTime")
- public String getAlarmReportingTimeStr() {
- if (this.alarmReportingTime != null) {
- return this.alarmReportingTime.toString();
- } else {
- return null;
- }
- }
-
-
- public Alarm alarmType(String alarmType) {
- this.alarmType = alarmType;
- return this;
- }
-
- /**
- * Categorize the alarm. Should be one of the values defined in X.733 8.1.1 or
- * 3GPP TS 32.111-2 Annex A: Communications Alarm Processing Error Alarm
- * Environmental Alarm Quality of Service Alarm Equipment Alarm Integrity
- * Violation Operational Violation Physical Violation Security Service or
- * Mechanism Violation Time Domain Violation
- *
- * @return alarmType
- **/
- @Schema(description = "Categorize the alarm. Should be one of the values defined in X.733 8.1.1 or 3GPP TS 32.111-2 Annex A: Communications Alarm Processing Error Alarm Environmental Alarm Quality of Service Alarm Equipment Alarm Integrity Violation Operational Violation Physical Violation Security Service or Mechanism Violation Time Domain Violation")
-
- public String getAlarmType() {
- return alarmType;
- }
-
- public void setAlarmType(String alarmType) {
- this.alarmType = alarmType;
- }
-
- public Alarm alarmedObjectType(String alarmedObjectType) {
- this.alarmedObjectType = alarmedObjectType;
- return this;
- }
-
- /**
- * The type (class) of the managed object associated with the event.
- *
- * @return alarmedObjectType
- **/
- @Schema(description = "The type (class) of the managed object associated with the event.")
-
- public String getAlarmedObjectType() {
- return alarmedObjectType;
- }
-
- public void setAlarmedObjectType(String alarmedObjectType) {
- this.alarmedObjectType = alarmedObjectType;
- }
-
- public Alarm clearSystemId(String clearSystemId) {
- this.clearSystemId = clearSystemId;
- return this;
- }
-
- /**
- * Provides the id of the system where the user who invoked the alarmCleared
- * operation is located.
- *
- * @return clearSystemId
- **/
- @Schema(description = "Provides the id of the system where the user who invoked the alarmCleared operation is located. ")
-
- public String getClearSystemId() {
- return clearSystemId;
- }
-
- public void setClearSystemId(String clearSystemId) {
- this.clearSystemId = clearSystemId;
- }
-
- public Alarm clearUserId(String clearUserId) {
- this.clearUserId = clearUserId;
- return this;
- }
-
- /**
- * Provides the id of the user who invoked the alarmCleared operation
- *
- * @return clearUserId
- **/
- @Schema(description = "Provides the id of the user who invoked the alarmCleared operation")
-
- public String getClearUserId() {
- return clearUserId;
- }
-
- public void setClearUserId(String clearUserId) {
- this.clearUserId = clearUserId;
- }
-
- public Alarm externalAlarmId(String externalAlarmId) {
- this.externalAlarmId = externalAlarmId;
- return this;
- }
-
- /**
- * An identifier of the alarm in the source system.
- *
- * @return externalAlarmId
- **/
- @Schema(description = "An identifier of the alarm in the source system.")
-
- public String getExternalAlarmId() {
- return externalAlarmId;
- }
-
- public void setExternalAlarmId(String externalAlarmId) {
- this.externalAlarmId = externalAlarmId;
- }
-
- public Alarm isRootCause(Boolean isRootCause) {
- this.isRootCause = isRootCause;
- return this;
- }
-
- /**
- * Indicates whether the alarm is a root cause alarm..
- *
- * @return isRootCause
- **/
- @Schema(description = "Indicates whether the alarm is a root cause alarm.. ")
-
- public Boolean isIsRootCause() {
- return isRootCause;
- }
-
- public void setIsRootCause(Boolean isRootCause) {
- this.isRootCause = isRootCause;
- }
-
- public Alarm perceivedSeverity(String perceivedSeverity) {
- this.perceivedSeverity = perceivedSeverity;
- return this;
- }
-
- /**
- * Lists the possible severities that can be allocated to an Alarm. The values
- * are consistent with ITU-T Recommendation X.733. Once an alarm has been
- * cleared, its perceived severity is set to 'cleared' and can no longer be set.
- *
- * @return perceivedSeverity
- **/
- @Schema(description = "Lists the possible severities that can be allocated to an Alarm. The values are consistent with ITU-T Recommendation X.733. Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no longer be set.")
-
- public String getPerceivedSeverity() {
- return perceivedSeverity;
- }
-
- public void setPerceivedSeverity(String perceivedSeverity) {
- this.perceivedSeverity = perceivedSeverity;
- }
-
- public Alarm plannedOutageIndicator(String plannedOutageIndicator) {
- this.plannedOutageIndicator = plannedOutageIndicator;
- return this;
- }
-
- /**
- * Indicates that the Managed Object (related to this alarm) is in planned
- * outage (in planned maintenance, or out-of-service).
- *
- * @return plannedOutageIndicator
- **/
- @Schema(description = "Indicates that the Managed Object (related to this alarm) is in planned outage (in planned maintenance, or out-of-service). ")
-
- public String getPlannedOutageIndicator() {
- return plannedOutageIndicator;
- }
-
- public void setPlannedOutageIndicator(String plannedOutageIndicator) {
- this.plannedOutageIndicator = plannedOutageIndicator;
- }
-
- public Alarm probableCause(String probableCause) {
- this.probableCause = probableCause;
- return this;
- }
-
- /**
- * Provides the probable cause of the alarm. The values are consistent with
- * ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
- *
- * @return probableCause
- **/
- @Schema(description = "Provides the probable cause of the alarm. The values are consistent with ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.")
-
- public String getProbableCause() {
- return probableCause;
- }
-
- public void setProbableCause(String probableCause) {
- this.probableCause = probableCause;
- }
-
- public Alarm proposedRepairedActions(String proposedRepairedActions) {
- this.proposedRepairedActions = proposedRepairedActions;
- return this;
- }
-
- /**
- * Indicates proposed repair actions, if known to the system emitting the alarm.
- *
- * @return proposedRepairedActions
- **/
- @Schema(description = "Indicates proposed repair actions, if known to the system emitting the alarm.")
-
- public String getProposedRepairedActions() {
- return proposedRepairedActions;
- }
-
- public void setProposedRepairedActions(String proposedRepairedActions) {
- this.proposedRepairedActions = proposedRepairedActions;
- }
-
- public Alarm reportingSystemId(String reportingSystemId) {
- this.reportingSystemId = reportingSystemId;
- return this;
- }
-
- /**
- * Reporting system identity.
- *
- * @return reportingSystemId
- **/
- @Schema(description = "Reporting system identity.")
-
- public String getReportingSystemId() {
- return reportingSystemId;
- }
-
- public void setReportingSystemId(String reportingSystemId) {
- this.reportingSystemId = reportingSystemId;
- }
-
- public Alarm serviceAffecting(Boolean serviceAffecting) {
- this.serviceAffecting = serviceAffecting;
- return this;
- }
-
- /**
- * Indicates whether the alarm affects service or not.
- *
- * @return serviceAffecting
- **/
- @Schema(description = "Indicates whether the alarm affects service or not.")
-
- public Boolean isServiceAffecting() {
- return serviceAffecting;
- }
-
- public void setServiceAffecting(Boolean serviceAffecting) {
- this.serviceAffecting = serviceAffecting;
- }
-
- public Alarm sourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- return this;
- }
-
- /**
- * Source system identity.
- *
- * @return sourceSystemId
- **/
- @Schema(description = "Source system identity.")
-
- public String getSourceSystemId() {
- return sourceSystemId;
- }
-
- public void setSourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- }
-
- public Alarm specificProblem(String specificProblem) {
- this.specificProblem = specificProblem;
- return this;
- }
-
- /**
- * Provides more specific information about the alarm.
- *
- * @return specificProblem
- **/
- @Schema(description = "Provides more specific information about the alarm.")
-
- public String getSpecificProblem() {
- return specificProblem;
- }
-
- public void setSpecificProblem(String specificProblem) {
- this.specificProblem = specificProblem;
- }
-
- public Alarm state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Defines the alarm state during its life cycle
- *
- * @return state
- **/
- @Schema(description = "Defines the alarm state during its life cycle")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public Alarm affectedService(Set affectedService) {
- this.affectedService = affectedService;
- return this;
- }
-
- public Alarm addAffectedServiceItem(AffectedService affectedServiceItem) {
- if (this.affectedService == null) {
- this.affectedService = new HashSet<>();
- }
- this.affectedService.add(affectedServiceItem);
- return this;
- }
-
- /**
- * Get affectedService
- *
- * @return affectedService
- **/
- @Schema(description = "")
- @Valid
- public Set getAffectedService() {
- return affectedService;
- }
-
- public void setAffectedService(Set affectedService) {
- this.affectedService = affectedService;
- }
-
- public Alarm alarmedObject(AlarmedObject alarmedObject) {
- this.alarmedObject = alarmedObject;
- return this;
- }
-
- /**
- * Get alarmedObject
- *
- * @return alarmedObject
- **/
- @Schema(description = "")
-
- @Valid
- public AlarmedObject getAlarmedObject() {
- return alarmedObject;
- }
-
- public void setAlarmedObject(AlarmedObject alarmedObject) {
- this.alarmedObject = alarmedObject;
- }
-
- public Alarm comment(Set comment) {
- this.comment = comment;
- return this;
- }
-
- public Alarm addCommentItem(Comment commentItem) {
- if (this.comment == null) {
- this.comment = new HashSet<>();
- }
- this.comment.add(commentItem);
- return this;
- }
-
- /**
- * Get comment
- *
- * @return comment
- **/
- @Schema(description = "")
- @Valid
- public Set getComment() {
- return comment;
- }
-
- public void setComment(Set comment) {
- this.comment = comment;
- }
-
- public Alarm correlatedAlarm(Set correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- return this;
- }
-
- public Alarm addCorrelatedAlarmItem(AlarmRef correlatedAlarmItem) {
- if (this.correlatedAlarm == null) {
- this.correlatedAlarm = new HashSet<>();
- }
- this.correlatedAlarm.add(correlatedAlarmItem);
- return this;
- }
-
- /**
- * Get correlatedAlarm
- *
- * @return correlatedAlarm
- **/
- @Schema(description = "")
- @Valid
- public Set getCorrelatedAlarm() {
- return correlatedAlarm;
- }
-
- public void setCorrelatedAlarm(Set correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- }
-
- public Alarm crossedThresholdInformation(CrossedThresholdInformation crossedThresholdInformation) {
- this.crossedThresholdInformation = crossedThresholdInformation;
- return this;
- }
-
- /**
- * Get crossedThresholdInformation
- *
- * @return crossedThresholdInformation
- **/
- @Schema(description = "")
-
- @Valid
- public CrossedThresholdInformation getCrossedThresholdInformation() {
- return crossedThresholdInformation;
- }
-
- public void setCrossedThresholdInformation(CrossedThresholdInformation crossedThresholdInformation) {
- this.crossedThresholdInformation = crossedThresholdInformation;
- }
-
- public Alarm parentAlarm(Set parentAlarm) {
- this.parentAlarm = parentAlarm;
- return this;
- }
-
- public Alarm addParentAlarmItem(AlarmRef parentAlarmItem) {
- if (this.parentAlarm == null) {
- this.parentAlarm = new HashSet<>();
- }
- this.parentAlarm.add(parentAlarmItem);
- return this;
- }
-
- /**
- * Get parentAlarm
- *
- * @return parentAlarm
- **/
- @Schema(description = "")
- @Valid
- public Set getParentAlarm() {
- return parentAlarm;
- }
-
- public void setParentAlarm(Set parentAlarm) {
- this.parentAlarm = parentAlarm;
- }
-
- public Alarm place(Set place) {
- this.place = place;
- return this;
- }
-
- public Alarm addPlaceItem(RelatedPlaceRefOrValue placeItem) {
- if (this.place == null) {
- this.place = new HashSet<>();
- }
- this.place.add(placeItem);
- return this;
- }
-
- /**
- * Get place
- *
- * @return place
- **/
- @Schema(description = "")
- @Valid
- public Set getPlace() {
- return place;
- }
-
- public void setPlace(Set place) {
- this.place = place;
- }
-
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- Alarm alarm = (Alarm) o;
- return Objects.equals(this.id, alarm.id) && Objects.equals(this.href, alarm.href)
- && Objects.equals(this.ackState, alarm.ackState) && Objects.equals(this.ackSystemId, alarm.ackSystemId)
- && Objects.equals(this.ackUserId, alarm.ackUserId)
- && Objects.equals(this.alarmChangedTime, alarm.alarmChangedTime)
- && Objects.equals(this.alarmClearedTime, alarm.alarmClearedTime)
- && Objects.equals(this.alarmDetails, alarm.alarmDetails)
- && Objects.equals(this.alarmEscalation, alarm.alarmEscalation)
- && Objects.equals(this.alarmRaisedTime, alarm.alarmRaisedTime)
- && Objects.equals(this.alarmReportingTime, alarm.alarmReportingTime)
- && Objects.equals(this.alarmType, alarm.alarmType)
- && Objects.equals(this.alarmedObjectType, alarm.alarmedObjectType)
- && Objects.equals(this.clearSystemId, alarm.clearSystemId)
- && Objects.equals(this.clearUserId, alarm.clearUserId)
- && Objects.equals(this.externalAlarmId, alarm.externalAlarmId)
- && Objects.equals(this.isRootCause, alarm.isRootCause)
- && Objects.equals(this.perceivedSeverity, alarm.perceivedSeverity)
- && Objects.equals(this.plannedOutageIndicator, alarm.plannedOutageIndicator)
- && Objects.equals(this.probableCause, alarm.probableCause)
- && Objects.equals(this.proposedRepairedActions, alarm.proposedRepairedActions)
- && Objects.equals(this.reportingSystemId, alarm.reportingSystemId)
- && Objects.equals(this.serviceAffecting, alarm.serviceAffecting)
- && Objects.equals(this.sourceSystemId, alarm.sourceSystemId)
- && Objects.equals(this.specificProblem, alarm.specificProblem)
- && Objects.equals(this.state, alarm.state)
- && Objects.equals(this.affectedService, alarm.affectedService)
- && Objects.equals(this.alarmedObject, alarm.alarmedObject)
- && Objects.equals(this.comment, alarm.comment)
- && Objects.equals(this.correlatedAlarm, alarm.correlatedAlarm)
- && Objects.equals(this.crossedThresholdInformation, alarm.crossedThresholdInformation)
- && Objects.equals(this.parentAlarm, alarm.parentAlarm) && Objects.equals(this.place, alarm.place)
- && Objects.equals(this.baseType, alarm.baseType)
- && Objects.equals(this.schemaLocation, alarm.schemaLocation)
- && Objects.equals(this.type, alarm.type);
- }
-
-// @Override
-// public int hashCode() {
-// return Objects.hash(id, href, ackState, ackSystemId, ackUserId, alarmChangedTime, alarmClearedTime,
-// alarmDetails, alarmEscalation, alarmRaisedTime, alarmReportingTime, alarmType, alarmedObjectType,
-// clearSystemId, clearUserId, externalAlarmId, isRootCause, perceivedSeverity, plannedOutageIndicator,
-// probableCause, proposedRepairedActions, reportingSystemId, serviceAffecting, sourceSystemId,
-// specificProblem, state, affectedService, alarmedObject, comment, correlatedAlarm,
-// crossedThresholdInformation, parentAlarm, place, baseType, schemaLocation, type);
-// }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class Alarm {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" ackState: ").append(toIndentedString(ackState)).append("\n");
- sb.append(" ackSystemId: ").append(toIndentedString(ackSystemId)).append("\n");
- sb.append(" ackUserId: ").append(toIndentedString(ackUserId)).append("\n");
- sb.append(" alarmChangedTime: ").append(toIndentedString(alarmChangedTime)).append("\n");
- sb.append(" alarmClearedTime: ").append(toIndentedString(alarmClearedTime)).append("\n");
- sb.append(" alarmDetails: ").append(toIndentedString(alarmDetails)).append("\n");
- sb.append(" alarmEscalation: ").append(toIndentedString(alarmEscalation)).append("\n");
- sb.append(" alarmRaisedTime: ").append(toIndentedString(alarmRaisedTime)).append("\n");
- sb.append(" alarmReportingTime: ").append(toIndentedString(alarmReportingTime)).append("\n");
- sb.append(" alarmType: ").append(toIndentedString(alarmType)).append("\n");
- sb.append(" alarmedObjectType: ").append(toIndentedString(alarmedObjectType)).append("\n");
- sb.append(" clearSystemId: ").append(toIndentedString(clearSystemId)).append("\n");
- sb.append(" clearUserId: ").append(toIndentedString(clearUserId)).append("\n");
- sb.append(" externalAlarmId: ").append(toIndentedString(externalAlarmId)).append("\n");
- sb.append(" isRootCause: ").append(toIndentedString(isRootCause)).append("\n");
- sb.append(" perceivedSeverity: ").append(toIndentedString(perceivedSeverity)).append("\n");
- sb.append(" plannedOutageIndicator: ").append(toIndentedString(plannedOutageIndicator)).append("\n");
- sb.append(" probableCause: ").append(toIndentedString(probableCause)).append("\n");
- sb.append(" proposedRepairedActions: ").append(toIndentedString(proposedRepairedActions)).append("\n");
- sb.append(" reportingSystemId: ").append(toIndentedString(reportingSystemId)).append("\n");
- sb.append(" serviceAffecting: ").append(toIndentedString(serviceAffecting)).append("\n");
- sb.append(" sourceSystemId: ").append(toIndentedString(sourceSystemId)).append("\n");
- sb.append(" specificProblem: ").append(toIndentedString(specificProblem)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" affectedService: ").append(toIndentedString(affectedService)).append("\n");
- sb.append(" alarmedObject: ").append(toIndentedString(alarmedObject)).append("\n");
- sb.append(" comment: ").append(toIndentedString(comment)).append("\n");
- sb.append(" correlatedAlarm: ").append(toIndentedString(correlatedAlarm)).append("\n");
- sb.append(" crossedThresholdInformation: ").append(toIndentedString(crossedThresholdInformation))
- .append("\n");
- sb.append(" parentAlarm: ").append(toIndentedString(parentAlarm)).append("\n");
- sb.append(" place: ").append(toIndentedString(place)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmAttributeValueChangeEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmAttributeValueChangeEvent.java
deleted file mode 100644
index 87c66a8e7a2f23eef19f986ccc187c8cd3a85713..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmAttributeValueChangeEvent.java
+++ /dev/null
@@ -1,342 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AlarmAttributeValueChangeEvent {
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("fieldPath")
- private String fieldPath = null;
-
- @JsonProperty("event")
- private AlarmAttributeValueChangeEventPayload event = null;
-
- public AlarmAttributeValueChangeEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public AlarmAttributeValueChangeEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public AlarmAttributeValueChangeEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public AlarmAttributeValueChangeEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public AlarmAttributeValueChangeEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public AlarmAttributeValueChangeEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public AlarmAttributeValueChangeEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public AlarmAttributeValueChangeEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public AlarmAttributeValueChangeEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public AlarmAttributeValueChangeEvent fieldPath(String fieldPath) {
- this.fieldPath = fieldPath;
- return this;
- }
-
- /**
- * The path identifying the object field concerned by this notification.
- * @return fieldPath
- **/
- @Schema(description = "The path identifying the object field concerned by this notification.")
-
- public String getFieldPath() {
- return fieldPath;
- }
-
- public void setFieldPath(String fieldPath) {
- this.fieldPath = fieldPath;
- }
-
- public AlarmAttributeValueChangeEvent event(AlarmAttributeValueChangeEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public AlarmAttributeValueChangeEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(AlarmAttributeValueChangeEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmAttributeValueChangeEvent alarmAttributeValueChangeEvent = (AlarmAttributeValueChangeEvent) o;
- return Objects.equals(this.eventId, alarmAttributeValueChangeEvent.eventId) &&
- Objects.equals(this.eventTime, alarmAttributeValueChangeEvent.eventTime) &&
- Objects.equals(this.eventType, alarmAttributeValueChangeEvent.eventType) &&
- Objects.equals(this.correlationId, alarmAttributeValueChangeEvent.correlationId) &&
- Objects.equals(this.domain, alarmAttributeValueChangeEvent.domain) &&
- Objects.equals(this.title, alarmAttributeValueChangeEvent.title) &&
- Objects.equals(this.description, alarmAttributeValueChangeEvent.description) &&
- Objects.equals(this.priority, alarmAttributeValueChangeEvent.priority) &&
- Objects.equals(this.timeOcurred, alarmAttributeValueChangeEvent.timeOcurred) &&
- Objects.equals(this.fieldPath, alarmAttributeValueChangeEvent.fieldPath) &&
- Objects.equals(this.event, alarmAttributeValueChangeEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, fieldPath, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmAttributeValueChangeEvent {\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(" fieldPath: ").append(toIndentedString(fieldPath)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmAttributeValueChangeEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmAttributeValueChangeEventPayload.java
deleted file mode 100644
index 092af2f4c7c9327af5cb18b18a10438222b04132..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmAttributeValueChangeEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AlarmAttributeValueChangeEventPayload {
- @JsonProperty("alarm")
- private Alarm alarm = null;
-
- public AlarmAttributeValueChangeEventPayload alarm(Alarm alarm) {
- this.alarm = alarm;
- return this;
- }
-
- /**
- * Get alarm
- * @return alarm
- **/
- @Schema(description = "")
-
- @Valid
- public Alarm getAlarm() {
- return alarm;
- }
-
- public void setAlarm(Alarm alarm) {
- this.alarm = alarm;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmAttributeValueChangeEventPayload alarmAttributeValueChangeEventPayload = (AlarmAttributeValueChangeEventPayload) o;
- return Objects.equals(this.alarm, alarmAttributeValueChangeEventPayload.alarm);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(alarm);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmAttributeValueChangeEventPayload {\n");
-
- sb.append(" alarm: ").append(toIndentedString(alarm)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmCreate.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmCreate.java
deleted file mode 100644
index 22e01c6c29215cd69383b7092169df8aa33ece03..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmCreate.java
+++ /dev/null
@@ -1,210 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-import jakarta.validation.constraints.NotNull;
-
-/**
- * This resource represents an alarm supporting the information model defined in
- * ITU-T X.733. Skipped properties: id,href
- */
-@Schema(description = "This resource represents an alarm supporting the information model defined in ITU-T X.733. Skipped properties: id,href")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AlarmCreate extends AlarmUpdate {
-
- private OffsetDateTime alarmRaisedTime = null;
-
- @JsonProperty("sourceSystemId")
- private String sourceSystemId = null;
-
- /**
- * Indicates the time (as a date + time) at which the alarm occurred at its
- * source.
- *
- * @return alarmRaisedTime
- **/
- @Schema(description = "Indicates the time (as a date + time) at which the alarm occurred at its source.")
- @NotNull
-
- @Valid
- public OffsetDateTime getAlarmRaisedTime() {
- return alarmRaisedTime;
- }
-
- public void setAlarmRaisedTime(OffsetDateTime alarmRaisedTime) {
- this.alarmRaisedTime = alarmRaisedTime;
- }
-
- @JsonProperty("alarmRaisedTime")
- public String getAlarmRaisedTimeStr() {
- if (this.alarmRaisedTime != null) {
- return this.alarmRaisedTime.toString();
- } else {
- return null;
- }
- }
-
- public void setAlarmRaisedTime(String aalarmRaisedTime) {
- if (aalarmRaisedTime != null) {
- this.alarmRaisedTime = OffsetDateTime.parse(aalarmRaisedTime);
- }
-
- }
-
- public AlarmCreate sourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- return this;
- }
-
- /**
- * Source system identity.
- *
- * @return sourceSystemId
- **/
- @Schema(description = "Source system identity.")
- @NotNull
-
- public String getSourceSystemId() {
- return sourceSystemId;
- }
-
- public void setSourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmCreate alarmCreate = (AlarmCreate) o;
- return Objects.equals(this.ackState, alarmCreate.ackState)
- && Objects.equals(this.ackSystemId, alarmCreate.ackSystemId)
- && Objects.equals(this.ackUserId, alarmCreate.ackUserId)
- && Objects.equals(this.alarmChangedTime, alarmCreate.alarmChangedTime)
- && Objects.equals(this.alarmClearedTime, alarmCreate.alarmClearedTime)
- && Objects.equals(this.alarmDetails, alarmCreate.alarmDetails)
- && Objects.equals(this.alarmEscalation, alarmCreate.alarmEscalation)
- && Objects.equals(this.alarmRaisedTime, alarmCreate.alarmRaisedTime)
- && Objects.equals(this.alarmReportingTime, alarmCreate.alarmReportingTime)
- && Objects.equals(this.alarmType, alarmCreate.alarmType)
- && Objects.equals(this.alarmedObjectType, alarmCreate.alarmedObjectType)
- && Objects.equals(this.clearSystemId, alarmCreate.clearSystemId)
- && Objects.equals(this.clearUserId, alarmCreate.clearUserId)
- && Objects.equals(this.externalAlarmId, alarmCreate.externalAlarmId)
- && Objects.equals(this.isRootCause, alarmCreate.isRootCause)
- && Objects.equals(this.perceivedSeverity, alarmCreate.perceivedSeverity)
- && Objects.equals(this.plannedOutageIndicator, alarmCreate.plannedOutageIndicator)
- && Objects.equals(this.probableCause, alarmCreate.probableCause)
- && Objects.equals(this.proposedRepairedActions, alarmCreate.proposedRepairedActions)
- && Objects.equals(this.reportingSystemId, alarmCreate.reportingSystemId)
- && Objects.equals(this.serviceAffecting, alarmCreate.serviceAffecting)
- && Objects.equals(this.sourceSystemId, alarmCreate.sourceSystemId)
- && Objects.equals(this.specificProblem, alarmCreate.specificProblem)
- && Objects.equals(this.state, alarmCreate.state)
- && Objects.equals(this.affectedService, alarmCreate.affectedService)
- && Objects.equals(this.alarmedObject, alarmCreate.alarmedObject)
- && Objects.equals(this.comment, alarmCreate.comment)
- && Objects.equals(this.correlatedAlarm, alarmCreate.correlatedAlarm)
- && Objects.equals(this.crossedThresholdInformation, alarmCreate.crossedThresholdInformation)
- && Objects.equals(this.parentAlarm, alarmCreate.parentAlarm)
- && Objects.equals(this.place, alarmCreate.place) && Objects.equals(this.baseType, alarmCreate.baseType)
- && Objects.equals(this.schemaLocation, alarmCreate.schemaLocation)
- && Objects.equals(this.type, alarmCreate.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(ackState, ackSystemId, ackUserId, alarmChangedTime, alarmClearedTime, alarmDetails,
- alarmEscalation, alarmRaisedTime, alarmReportingTime, alarmType, alarmedObjectType, clearSystemId,
- clearUserId, externalAlarmId, isRootCause, perceivedSeverity, plannedOutageIndicator, probableCause,
- proposedRepairedActions, reportingSystemId, serviceAffecting, sourceSystemId, specificProblem, state,
- affectedService, alarmedObject, comment, correlatedAlarm, crossedThresholdInformation, parentAlarm,
- place, baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmCreate {\n");
-
- sb.append(" ackState: ").append(toIndentedString(ackState)).append("\n");
- sb.append(" ackSystemId: ").append(toIndentedString(ackSystemId)).append("\n");
- sb.append(" ackUserId: ").append(toIndentedString(ackUserId)).append("\n");
- sb.append(" alarmChangedTime: ").append(toIndentedString(alarmChangedTime)).append("\n");
- sb.append(" alarmClearedTime: ").append(toIndentedString(alarmClearedTime)).append("\n");
- sb.append(" alarmDetails: ").append(toIndentedString(alarmDetails)).append("\n");
- sb.append(" alarmEscalation: ").append(toIndentedString(alarmEscalation)).append("\n");
- sb.append(" alarmRaisedTime: ").append(toIndentedString(alarmRaisedTime)).append("\n");
- sb.append(" alarmReportingTime: ").append(toIndentedString(alarmReportingTime)).append("\n");
- sb.append(" alarmType: ").append(toIndentedString(alarmType)).append("\n");
- sb.append(" alarmedObjectType: ").append(toIndentedString(alarmedObjectType)).append("\n");
- sb.append(" clearSystemId: ").append(toIndentedString(clearSystemId)).append("\n");
- sb.append(" clearUserId: ").append(toIndentedString(clearUserId)).append("\n");
- sb.append(" externalAlarmId: ").append(toIndentedString(externalAlarmId)).append("\n");
- sb.append(" isRootCause: ").append(toIndentedString(isRootCause)).append("\n");
- sb.append(" perceivedSeverity: ").append(toIndentedString(perceivedSeverity)).append("\n");
- sb.append(" plannedOutageIndicator: ").append(toIndentedString(plannedOutageIndicator)).append("\n");
- sb.append(" probableCause: ").append(toIndentedString(probableCause)).append("\n");
- sb.append(" proposedRepairedActions: ").append(toIndentedString(proposedRepairedActions)).append("\n");
- sb.append(" reportingSystemId: ").append(toIndentedString(reportingSystemId)).append("\n");
- sb.append(" serviceAffecting: ").append(toIndentedString(serviceAffecting)).append("\n");
- sb.append(" sourceSystemId: ").append(toIndentedString(sourceSystemId)).append("\n");
- sb.append(" specificProblem: ").append(toIndentedString(specificProblem)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" affectedService: ").append(toIndentedString(affectedService)).append("\n");
- sb.append(" alarmedObject: ").append(toIndentedString(alarmedObject)).append("\n");
- sb.append(" comment: ").append(toIndentedString(comment)).append("\n");
- sb.append(" correlatedAlarm: ").append(toIndentedString(correlatedAlarm)).append("\n");
- sb.append(" crossedThresholdInformation: ").append(toIndentedString(crossedThresholdInformation))
- .append("\n");
- sb.append(" parentAlarm: ").append(toIndentedString(parentAlarm)).append("\n");
- sb.append(" place: ").append(toIndentedString(place)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmCreateEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmCreateEvent.java
deleted file mode 100644
index e1297e483f4907bd655651f7eb46b8b08cc90ea8..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmCreateEvent.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.OpensliceEvent;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AlarmCreateEvent extends OpensliceEvent {
-
-
- @JsonProperty("event")
- private AlarmCreateEventPayload event = null;
-
-
-
- public AlarmCreateEvent event(AlarmCreateEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public AlarmCreateEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(AlarmCreateEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmCreateEvent alarmCreateEvent = (AlarmCreateEvent) o;
- return Objects.equals(this.id, alarmCreateEvent.id) &&
- Objects.equals(this.href, alarmCreateEvent.href) &&
- Objects.equals(this.eventId, alarmCreateEvent.eventId) &&
- Objects.equals(this.eventTime, alarmCreateEvent.eventTime) &&
- Objects.equals(this.eventType, alarmCreateEvent.eventType) &&
- Objects.equals(this.correlationId, alarmCreateEvent.correlationId) &&
- Objects.equals(this.domain, alarmCreateEvent.domain) &&
- Objects.equals(this.title, alarmCreateEvent.title) &&
- Objects.equals(this.description, alarmCreateEvent.description) &&
- Objects.equals(this.priority, alarmCreateEvent.priority) &&
- Objects.equals(this.timeOcurred, alarmCreateEvent.timeOcurred) &&
- Objects.equals(this.event, alarmCreateEvent.event);
- }
-
-// @Override
-// public int hashCode() {
-// return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
-// }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmCreateEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmCreateEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmCreateEventPayload.java
deleted file mode 100644
index 7a499c94e1acb84528d73914e87bb8042d1c1712..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmCreateEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AlarmCreateEventPayload {
- @JsonProperty("alarm")
- private Alarm alarm = null;
-
- public AlarmCreateEventPayload alarm(Alarm alarm) {
- this.alarm = alarm;
- return this;
- }
-
- /**
- * Get alarm
- * @return alarm
- **/
- @Schema(description = "")
-
- @Valid
- public Alarm getAlarm() {
- return alarm;
- }
-
- public void setAlarm(Alarm alarm) {
- this.alarm = alarm;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmCreateEventPayload alarmCreateEventPayload = (AlarmCreateEventPayload) o;
- return Objects.equals(this.alarm, alarmCreateEventPayload.alarm);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(alarm);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmCreateEventPayload {\n");
-
- sb.append(" alarm: ").append(toIndentedString(alarm)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmDeleteEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmDeleteEvent.java
deleted file mode 100644
index 38d5a4ddeefa9ff8147efd3e5d06f81cb0881c95..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmDeleteEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AlarmDeleteEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private AlarmDeleteEventPayload event = null;
-
- public AlarmDeleteEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public AlarmDeleteEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public AlarmDeleteEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public AlarmDeleteEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public AlarmDeleteEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public AlarmDeleteEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public AlarmDeleteEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public AlarmDeleteEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public AlarmDeleteEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public AlarmDeleteEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public AlarmDeleteEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public AlarmDeleteEvent event(AlarmDeleteEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public AlarmDeleteEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(AlarmDeleteEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmDeleteEvent alarmDeleteEvent = (AlarmDeleteEvent) o;
- return Objects.equals(this.id, alarmDeleteEvent.id) &&
- Objects.equals(this.href, alarmDeleteEvent.href) &&
- Objects.equals(this.eventId, alarmDeleteEvent.eventId) &&
- Objects.equals(this.eventTime, alarmDeleteEvent.eventTime) &&
- Objects.equals(this.eventType, alarmDeleteEvent.eventType) &&
- Objects.equals(this.correlationId, alarmDeleteEvent.correlationId) &&
- Objects.equals(this.domain, alarmDeleteEvent.domain) &&
- Objects.equals(this.title, alarmDeleteEvent.title) &&
- Objects.equals(this.description, alarmDeleteEvent.description) &&
- Objects.equals(this.priority, alarmDeleteEvent.priority) &&
- Objects.equals(this.timeOcurred, alarmDeleteEvent.timeOcurred) &&
- Objects.equals(this.event, alarmDeleteEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmDeleteEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmDeleteEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmDeleteEventPayload.java
deleted file mode 100644
index f9ce09e70692d6d1f0eb3f6e25850cd2f114736d..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmDeleteEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AlarmDeleteEventPayload {
- @JsonProperty("alarm")
- private Alarm alarm = null;
-
- public AlarmDeleteEventPayload alarm(Alarm alarm) {
- this.alarm = alarm;
- return this;
- }
-
- /**
- * Get alarm
- * @return alarm
- **/
- @Schema(description = "")
-
- @Valid
- public Alarm getAlarm() {
- return alarm;
- }
-
- public void setAlarm(Alarm alarm) {
- this.alarm = alarm;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmDeleteEventPayload alarmDeleteEventPayload = (AlarmDeleteEventPayload) o;
- return Objects.equals(this.alarm, alarmDeleteEventPayload.alarm);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(alarm);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmDeleteEventPayload {\n");
-
- sb.append(" alarm: ").append(toIndentedString(alarm)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmRef.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmRef.java
deleted file mode 100644
index e62ef125ffe305abfbe618d13af6c8c5e1ce31ab..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmRef.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootNamedEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.Entity;
-import jakarta.persistence.Table;
-
-/**
- * AlarmRef
- */
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMAlarmRef")
-@Table(name = "AMAlarmRef")
-public class AlarmRef extends BaseRootNamedEntity {
- @JsonProperty("id")
- private String id = null;
-
-
-
- @JsonProperty("@referredType")
- private String _atReferredType = null;
-
-
- /**
- * @return the id
- */
- public String getId() {
- if (uuid != null) {
- id = uuid;
- }
- return id;
- }
-
-
-
- public AlarmRef _atReferredType(String _atReferredType) {
- this._atReferredType = _atReferredType;
- return this;
- }
-
- /**
- * The actual type of the target instance when needed for disambiguation.
- *
- * @return _atReferredType
- **/
- @Schema(description = "The actual type of the target instance when needed for disambiguation.")
-
- public String getAtReferredType() {
- return _atReferredType;
- }
-
- public void setAtReferredType(String _atReferredType) {
- this._atReferredType = _atReferredType;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmRef alarmRef = (AlarmRef) o;
- return Objects.equals(this.id, alarmRef.id) && Objects.equals(this.href, alarmRef.href)
- && Objects.equals(this.name, alarmRef.name) && Objects.equals(this.baseType, alarmRef.baseType)
- && Objects.equals(this.schemaLocation, alarmRef.schemaLocation)
- && Objects.equals(this.type, alarmRef.type)
- && Objects.equals(this._atReferredType, alarmRef._atReferredType);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, name, baseType, schemaLocation, type, _atReferredType);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmRef {\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(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmRefOrValue.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmRefOrValue.java
deleted file mode 100644
index f09201996192314f82e550eaa0852675252c3399..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmRefOrValue.java
+++ /dev/null
@@ -1,1054 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.HashSet;
-import java.util.Objects;
-import java.util.Set;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootNamedEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.CascadeType;
-import jakarta.persistence.Entity;
-import jakarta.persistence.OneToMany;
-import jakarta.persistence.OneToOne;
-import jakarta.persistence.Table;
-import jakarta.validation.Valid;
-
-/**
- * An alarm defined by reference or value. The polymorphic
- * attributes @type, @schemaLocation & @referredType are related to the
- * alarm entity and not the RelatedAlarmRefOrValue class itself
- */
-@Schema(description = "An alarm defined by reference or value. The polymorphic attributes @type, @schemaLocation & @referredType are related to the alarm entity and not the RelatedAlarmRefOrValue class itself")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMAlarmRefOrVal")
-@Table(name = "AMAlarmRefOrVal")
-public class AlarmRefOrValue extends BaseRootNamedEntity {
-
- @JsonProperty("id")
- private Integer id = null;
-
- @JsonProperty("ackState")
- private String ackState = null;
-
- @JsonProperty("ackSystemId")
- private String ackSystemId = null;
-
- @JsonProperty("ackUserId")
- private String ackUserId = null;
-
- private OffsetDateTime alarmChangedTime = null;
-
- private OffsetDateTime alarmClearedTime = null;
-
- @JsonProperty("alarmDetails")
- private String alarmDetails = null;
-
- @JsonProperty("alarmEscalation")
- private Boolean alarmEscalation = null;
-
- private OffsetDateTime alarmRaisedTime = null;
-
- private OffsetDateTime alarmReportingTime = null;
-
- @JsonProperty("alarmType")
- private String alarmType = null;
-
- @JsonProperty("alarmedObjectType")
- private String alarmedObjectType = null;
-
- @JsonProperty("clearSystemId")
- private String clearSystemId = null;
-
- @JsonProperty("clearUserId")
- private String clearUserId = null;
-
- @JsonProperty("externalAlarmId")
- private String externalAlarmId = null;
-
- @JsonProperty("isRootCause")
- private Boolean isRootCause = null;
-
- @JsonProperty("perceivedSeverity")
- private String perceivedSeverity = null;
-
- @JsonProperty("plannedOutageIndicator")
- private String plannedOutageIndicator = null;
-
- @JsonProperty("probableCause")
- private String probableCause = null;
-
- @JsonProperty("proposedRepairedActions")
- private String proposedRepairedActions = null;
-
- @JsonProperty("reportingSystemId")
- private String reportingSystemId = null;
-
- @JsonProperty("serviceAffecting")
- private Boolean serviceAffecting = null;
-
- @JsonProperty("sourceSystemId")
- private String sourceSystemId = null;
-
- @JsonProperty("specificProblem")
- private String specificProblem = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("affectedService")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set affectedService = new HashSet<>();
-
- @JsonProperty("alarmedObject")
- @OneToOne(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private AlarmedObject alarmedObject = null;
-
- @JsonProperty("comment")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set comment = new HashSet<>();
-
- @JsonProperty("correlatedAlarm")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set correlatedAlarm = new HashSet<>();
-
- @JsonProperty("crossedThresholdInformation")
- @OneToOne(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private CrossedThresholdInformation crossedThresholdInformation = null;
-
- @JsonProperty("parentAlarm")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set parentAlarm = new HashSet<>();
-
- @JsonProperty("place")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set place = new HashSet<>();
-
- @JsonProperty("@referredType")
- private String _atReferredType = null;
-
- public AlarmRefOrValue id(Integer id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the alarm, determined by the alarm owning system
- *
- * @return id
- **/
- @Schema(description = "Identifier of the alarm, determined by the alarm owning system")
-
- public Integer getId() {
- return id;
- }
-
- public void setId(Integer id) {
- this.id = id;
- }
-
- public AlarmRefOrValue href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * A reference to the alarm.
- *
- * @return href
- **/
- @Schema(description = "A reference to the alarm.")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public AlarmRefOrValue ackState(String ackState) {
- this.ackState = ackState;
- return this;
- }
-
- /**
- * Provides the Acknowledgement State of the alarm
- *
- * @return ackState
- **/
- @Schema(description = "Provides the Acknowledgement State of the alarm")
-
- public String getAckState() {
- return ackState;
- }
-
- public void setAckState(String ackState) {
- this.ackState = ackState;
- }
-
- public AlarmRefOrValue ackSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- return this;
- }
-
- /**
- * Provides the name of the system that last changed the ackState of an alarm,
- * i.e. acknowledged or unacknowledged the alarm.
- *
- * @return ackSystemId
- **/
- @Schema(description = "Provides the name of the system that last changed the ackState of an alarm, i.e. acknowledged or unacknowledged the alarm.")
-
- public String getAckSystemId() {
- return ackSystemId;
- }
-
- public void setAckSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- }
-
- public AlarmRefOrValue ackUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- return this;
- }
-
- /**
- * Provides the id of the user who has last changed the ack state of the alarm,
- * i.e. acknowledged or unacknowledged the alarm.
- *
- * @return ackUserId
- **/
- @Schema(description = "Provides the id of the user who has last changed the ack state of the alarm, i.e. acknowledged or unacknowledged the alarm.")
-
- public String getAckUserId() {
- return ackUserId;
- }
-
- public void setAckUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- }
-
- public AlarmRefOrValue alarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- return this;
- }
-
- /**
- * Indicates the last date and time when the alarm is changed on the
- * alarm-owning system. Any change to the alarm whether coming from the alarmed
- * resource, or triggered by a change from the client is changing this time.
- *
- * @return alarmChangedTime
- **/
- @Schema(description = "Indicates the last date and time when the alarm is changed on the alarm-owning system. Any change to the alarm whether coming from the alarmed resource, or triggered by a change from the client is changing this time.")
-
- @Valid
- public OffsetDateTime getAlarmChangedTime() {
- return alarmChangedTime;
- }
-
- public void setAlarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- }
-
- @JsonProperty("alarmChangedTime")
- public String getAlarmChangedTimeStr() {
- if (this.alarmChangedTime != null) {
- return this.alarmChangedTime.toString();
- } else {
- return null;
- }
- }
-
- public AlarmRefOrValue alarmClearedTime(OffsetDateTime alarmClearedTime) {
- this.alarmClearedTime = alarmClearedTime;
- return this;
- }
-
- /**
- * Indicates the time (as a date + time) at which the alarm is cleared at the
- * source.
- *
- * @return alarmClearedTime
- **/
- @Schema(description = "Indicates the time (as a date + time) at which the alarm is cleared at the source. ")
-
- @Valid
- public OffsetDateTime getAlarmClearedTime() {
- return alarmClearedTime;
- }
-
- public void setAlarmClearedTime(OffsetDateTime alarmClearedTime) {
- this.alarmClearedTime = alarmClearedTime;
- }
-
- @JsonProperty("alarmClearedTime")
- public String getAlarmClearedTimeStr() {
- if (this.alarmClearedTime != null) {
- return this.alarmClearedTime.toString();
- } else {
- return null;
- }
- }
-
- public AlarmRefOrValue alarmDetails(String alarmDetails) {
- this.alarmDetails = alarmDetails;
- return this;
- }
-
- /**
- * Contains further information on the alarm.
- *
- * @return alarmDetails
- **/
- @Schema(description = "Contains further information on the alarm.")
-
- public String getAlarmDetails() {
- return alarmDetails;
- }
-
- public void setAlarmDetails(String alarmDetails) {
- this.alarmDetails = alarmDetails;
- }
-
- public AlarmRefOrValue alarmEscalation(Boolean alarmEscalation) {
- this.alarmEscalation = alarmEscalation;
- return this;
- }
-
- /**
- * Indicates if this alarm has been escalated or not.
- *
- * @return alarmEscalation
- **/
- @Schema(description = "Indicates if this alarm has been escalated or not. ")
-
- public Boolean isAlarmEscalation() {
- return alarmEscalation;
- }
-
- public void setAlarmEscalation(Boolean alarmEscalation) {
- this.alarmEscalation = alarmEscalation;
- }
-
- public AlarmRefOrValue alarmRaisedTime(OffsetDateTime alarmRaisedTime) {
- this.alarmRaisedTime = alarmRaisedTime;
- return this;
- }
-
- /**
- * Indicates the time (as a date + time) at which the alarm occurred at its
- * source.
- *
- * @return alarmRaisedTime
- **/
- @Schema(description = "Indicates the time (as a date + time) at which the alarm occurred at its source.")
-
- @Valid
- public OffsetDateTime getAlarmRaisedTime() {
- return alarmRaisedTime;
- }
-
- public void setAlarmRaisedTime(OffsetDateTime alarmRaisedTime) {
- this.alarmRaisedTime = alarmRaisedTime;
- }
-
- @JsonProperty("alarmRaisedTime")
- public String getAlarmRaisedTimeStr() {
- if (this.alarmRaisedTime != null) {
- return this.alarmRaisedTime.toString();
- } else {
- return null;
- }
- }
-
- public AlarmRefOrValue alarmReportingTime(OffsetDateTime alarmReportingTime) {
- this.alarmReportingTime = alarmReportingTime;
- return this;
- }
-
- /**
- * Indicates the time (as a date + time) at which the alarm was reported by the
- * owning OSS. It might be different from the alarmRaisedTime. For instance, if
- * the alarm list is maintained by an EMS, the alarmRaisedtime would be the time
- * the alarm was detected by the NE, while the alarmReportingTime would be the
- * time this alarm was stored in the alarm list of the EMS.
- *
- * @return alarmReportingTime
- **/
- @Schema(description = "Indicates the time (as a date + time) at which the alarm was reported by the owning OSS. It might be different from the alarmRaisedTime. For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would be the time the alarm was detected by the NE, while the alarmReportingTime would be the time this alarm was stored in the alarm list of the EMS.")
-
- @Valid
- public OffsetDateTime getAlarmReportingTime() {
- return alarmReportingTime;
- }
-
- public void setAlarmReportingTime(OffsetDateTime alarmReportingTime) {
- this.alarmReportingTime = alarmReportingTime;
- }
-
- @JsonProperty("alarmReportingTime")
- public String getAlarmReportingTimeStr() {
- if (this.alarmReportingTime != null) {
- return this.alarmReportingTime.toString();
- } else {
- return null;
- }
- }
-
- public AlarmRefOrValue alarmType(String alarmType) {
- this.alarmType = alarmType;
- return this;
- }
-
- /**
- * Categorize the alarm. Should be one of the values defined in X.733 8.1.1 or
- * 3GPP TS 32.111-2 Annex A: Communications Alarm Processing Error Alarm
- * Environmental Alarm Quality of Service Alarm Equipment Alarm Integrity
- * Violation Operational Violation Physical Violation Security Service or
- * Mechanism Violation Time Domain Violation
- *
- * @return alarmType
- **/
- @Schema(description = "Categorize the alarm. Should be one of the values defined in X.733 8.1.1 or 3GPP TS 32.111-2 Annex A: Communications Alarm Processing Error Alarm Environmental Alarm Quality of Service Alarm Equipment Alarm Integrity Violation Operational Violation Physical Violation Security Service or Mechanism Violation Time Domain Violation")
-
- public String getAlarmType() {
- return alarmType;
- }
-
- public void setAlarmType(String alarmType) {
- this.alarmType = alarmType;
- }
-
- public AlarmRefOrValue alarmedObjectType(String alarmedObjectType) {
- this.alarmedObjectType = alarmedObjectType;
- return this;
- }
-
- /**
- * The type (class) of the managed object associated with the event.
- *
- * @return alarmedObjectType
- **/
- @Schema(description = "The type (class) of the managed object associated with the event.")
-
- public String getAlarmedObjectType() {
- return alarmedObjectType;
- }
-
- public void setAlarmedObjectType(String alarmedObjectType) {
- this.alarmedObjectType = alarmedObjectType;
- }
-
- public AlarmRefOrValue clearSystemId(String clearSystemId) {
- this.clearSystemId = clearSystemId;
- return this;
- }
-
- /**
- * Provides the id of the system where the user who invoked the alarmCleared
- * operation is located.
- *
- * @return clearSystemId
- **/
- @Schema(description = "Provides the id of the system where the user who invoked the alarmCleared operation is located. ")
-
- public String getClearSystemId() {
- return clearSystemId;
- }
-
- public void setClearSystemId(String clearSystemId) {
- this.clearSystemId = clearSystemId;
- }
-
- public AlarmRefOrValue clearUserId(String clearUserId) {
- this.clearUserId = clearUserId;
- return this;
- }
-
- /**
- * Provides the id of the user who invoked the alarmCleared operation
- *
- * @return clearUserId
- **/
- @Schema(description = "Provides the id of the user who invoked the alarmCleared operation")
-
- public String getClearUserId() {
- return clearUserId;
- }
-
- public void setClearUserId(String clearUserId) {
- this.clearUserId = clearUserId;
- }
-
- public AlarmRefOrValue externalAlarmId(String externalAlarmId) {
- this.externalAlarmId = externalAlarmId;
- return this;
- }
-
- /**
- * An identifier of the alarm in the source system.
- *
- * @return externalAlarmId
- **/
- @Schema(description = "An identifier of the alarm in the source system.")
-
- public String getExternalAlarmId() {
- return externalAlarmId;
- }
-
- public void setExternalAlarmId(String externalAlarmId) {
- this.externalAlarmId = externalAlarmId;
- }
-
- public AlarmRefOrValue isRootCause(Boolean isRootCause) {
- this.isRootCause = isRootCause;
- return this;
- }
-
- /**
- * Indicates whether the alarm is a root cause alarm..
- *
- * @return isRootCause
- **/
- @Schema(description = "Indicates whether the alarm is a root cause alarm.. ")
-
- public Boolean isIsRootCause() {
- return isRootCause;
- }
-
- public void setIsRootCause(Boolean isRootCause) {
- this.isRootCause = isRootCause;
- }
-
- public AlarmRefOrValue perceivedSeverity(String perceivedSeverity) {
- this.perceivedSeverity = perceivedSeverity;
- return this;
- }
-
- /**
- * Lists the possible severities that can be allocated to an Alarm. The values
- * are consistent with ITU-T Recommendation X.733. Once an alarm has been
- * cleared, its perceived severity is set to 'cleared' and can no longer be set.
- *
- * @return perceivedSeverity
- **/
- @Schema(description = "Lists the possible severities that can be allocated to an Alarm. The values are consistent with ITU-T Recommendation X.733. Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no longer be set.")
-
- public String getPerceivedSeverity() {
- return perceivedSeverity;
- }
-
- public void setPerceivedSeverity(String perceivedSeverity) {
- this.perceivedSeverity = perceivedSeverity;
- }
-
- public AlarmRefOrValue plannedOutageIndicator(String plannedOutageIndicator) {
- this.plannedOutageIndicator = plannedOutageIndicator;
- return this;
- }
-
- /**
- * Indicates that the Managed Object (related to this alarm) is in planned
- * outage (in planned maintenance, or out-of-service).
- *
- * @return plannedOutageIndicator
- **/
- @Schema(description = "Indicates that the Managed Object (related to this alarm) is in planned outage (in planned maintenance, or out-of-service). ")
-
- public String getPlannedOutageIndicator() {
- return plannedOutageIndicator;
- }
-
- public void setPlannedOutageIndicator(String plannedOutageIndicator) {
- this.plannedOutageIndicator = plannedOutageIndicator;
- }
-
- public AlarmRefOrValue probableCause(String probableCause) {
- this.probableCause = probableCause;
- return this;
- }
-
- /**
- * Provides the probable cause of the alarm. The values are consistent with
- * ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
- *
- * @return probableCause
- **/
- @Schema(description = "Provides the probable cause of the alarm. The values are consistent with ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.")
-
- public String getProbableCause() {
- return probableCause;
- }
-
- public void setProbableCause(String probableCause) {
- this.probableCause = probableCause;
- }
-
- public AlarmRefOrValue proposedRepairedActions(String proposedRepairedActions) {
- this.proposedRepairedActions = proposedRepairedActions;
- return this;
- }
-
- /**
- * Indicates proposed repair actions, if known to the system emitting the alarm.
- *
- * @return proposedRepairedActions
- **/
- @Schema(description = "Indicates proposed repair actions, if known to the system emitting the alarm.")
-
- public String getProposedRepairedActions() {
- return proposedRepairedActions;
- }
-
- public void setProposedRepairedActions(String proposedRepairedActions) {
- this.proposedRepairedActions = proposedRepairedActions;
- }
-
- public AlarmRefOrValue reportingSystemId(String reportingSystemId) {
- this.reportingSystemId = reportingSystemId;
- return this;
- }
-
- /**
- * Reporting system identity.
- *
- * @return reportingSystemId
- **/
- @Schema(description = "Reporting system identity.")
-
- public String getReportingSystemId() {
- return reportingSystemId;
- }
-
- public void setReportingSystemId(String reportingSystemId) {
- this.reportingSystemId = reportingSystemId;
- }
-
- public AlarmRefOrValue serviceAffecting(Boolean serviceAffecting) {
- this.serviceAffecting = serviceAffecting;
- return this;
- }
-
- /**
- * Indicates whether the alarm affects service or not.
- *
- * @return serviceAffecting
- **/
- @Schema(description = "Indicates whether the alarm affects service or not.")
-
- public Boolean isServiceAffecting() {
- return serviceAffecting;
- }
-
- public void setServiceAffecting(Boolean serviceAffecting) {
- this.serviceAffecting = serviceAffecting;
- }
-
- public AlarmRefOrValue sourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- return this;
- }
-
- /**
- * Source system identity.
- *
- * @return sourceSystemId
- **/
- @Schema(description = "Source system identity.")
-
- public String getSourceSystemId() {
- return sourceSystemId;
- }
-
- public void setSourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- }
-
- public AlarmRefOrValue specificProblem(String specificProblem) {
- this.specificProblem = specificProblem;
- return this;
- }
-
- /**
- * Provides more specific information about the alarm.
- *
- * @return specificProblem
- **/
- @Schema(description = "Provides more specific information about the alarm.")
-
- public String getSpecificProblem() {
- return specificProblem;
- }
-
- public void setSpecificProblem(String specificProblem) {
- this.specificProblem = specificProblem;
- }
-
- public AlarmRefOrValue state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Defines the alarm state during its life cycle
- *
- * @return state
- **/
- @Schema(description = "Defines the alarm state during its life cycle")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public AlarmRefOrValue affectedService(Set affectedService) {
- this.affectedService = affectedService;
- return this;
- }
-
- public AlarmRefOrValue addAffectedServiceItem(AffectedService affectedServiceItem) {
- if (this.affectedService == null) {
- this.affectedService = new HashSet<>();
- }
- this.affectedService.add(affectedServiceItem);
- return this;
- }
-
- /**
- * Get affectedService
- *
- * @return affectedService
- **/
- @Schema(description = "")
- @Valid
- public Set getAffectedService() {
- return affectedService;
- }
-
- public void setAffectedService(Set affectedService) {
- this.affectedService = affectedService;
- }
-
- public AlarmRefOrValue alarmedObject(AlarmedObject alarmedObject) {
- this.alarmedObject = alarmedObject;
- return this;
- }
-
- /**
- * Get alarmedObject
- *
- * @return alarmedObject
- **/
- @Schema(description = "")
-
- @Valid
- public AlarmedObject getAlarmedObject() {
- return alarmedObject;
- }
-
- public void setAlarmedObject(AlarmedObject alarmedObject) {
- this.alarmedObject = alarmedObject;
- }
-
- public AlarmRefOrValue comment(Set comment) {
- this.comment = comment;
- return this;
- }
-
- public AlarmRefOrValue addCommentItem(Comment commentItem) {
- if (this.comment == null) {
- this.comment = new HashSet<>();
- }
- this.comment.add(commentItem);
- return this;
- }
-
- /**
- * Get comment
- *
- * @return comment
- **/
- @Schema(description = "")
- @Valid
- public Set getComment() {
- return comment;
- }
-
- public void setComment(Set comment) {
- this.comment = comment;
- }
-
- public AlarmRefOrValue correlatedAlarm(Set correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- return this;
- }
-
- public AlarmRefOrValue addCorrelatedAlarmItem(AlarmRef correlatedAlarmItem) {
- if (this.correlatedAlarm == null) {
- this.correlatedAlarm = new HashSet<>();
- }
- this.correlatedAlarm.add(correlatedAlarmItem);
- return this;
- }
-
- /**
- * Get correlatedAlarm
- *
- * @return correlatedAlarm
- **/
- @Schema(description = "")
- @Valid
- public Set getCorrelatedAlarm() {
- return correlatedAlarm;
- }
-
- public void setCorrelatedAlarm(Set correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- }
-
- public AlarmRefOrValue crossedThresholdInformation(CrossedThresholdInformation crossedThresholdInformation) {
- this.crossedThresholdInformation = crossedThresholdInformation;
- return this;
- }
-
- /**
- * Get crossedThresholdInformation
- *
- * @return crossedThresholdInformation
- **/
- @Schema(description = "")
-
- @Valid
- public CrossedThresholdInformation getCrossedThresholdInformation() {
- return crossedThresholdInformation;
- }
-
- public void setCrossedThresholdInformation(CrossedThresholdInformation crossedThresholdInformation) {
- this.crossedThresholdInformation = crossedThresholdInformation;
- }
-
- public AlarmRefOrValue parentAlarm(Set parentAlarm) {
- this.parentAlarm = parentAlarm;
- return this;
- }
-
- public AlarmRefOrValue addParentAlarmItem(AlarmRef parentAlarmItem) {
- if (this.parentAlarm == null) {
- this.parentAlarm = new HashSet<>();
- }
- this.parentAlarm.add(parentAlarmItem);
- return this;
- }
-
- /**
- * Get parentAlarm
- *
- * @return parentAlarm
- **/
- @Schema(description = "")
- @Valid
- public Set getParentAlarm() {
- return parentAlarm;
- }
-
- public void setParentAlarm(Set parentAlarm) {
- this.parentAlarm = parentAlarm;
- }
-
- public AlarmRefOrValue place(Set place) {
- this.place = place;
- return this;
- }
-
- public AlarmRefOrValue addPlaceItem(RelatedPlaceRefOrValue placeItem) {
- if (this.place == null) {
- this.place = new HashSet<>();
- }
- this.place.add(placeItem);
- return this;
- }
-
- /**
- * Get place
- *
- * @return place
- **/
- @Schema(description = "")
- @Valid
- public Set getPlace() {
- return place;
- }
-
- public void setPlace(Set place) {
- this.place = place;
- }
-
- public AlarmRefOrValue _atReferredType(String _atReferredType) {
- this._atReferredType = _atReferredType;
- return this;
- }
-
- /**
- * The actual type of the target instance when needed for disambiguation.
- *
- * @return _atReferredType
- **/
- @Schema(description = "The actual type of the target instance when needed for disambiguation.")
-
- public String getAtReferredType() {
- return _atReferredType;
- }
-
- public void setAtReferredType(String _atReferredType) {
- this._atReferredType = _atReferredType;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmRefOrValue alarmRefOrValue = (AlarmRefOrValue) o;
- return Objects.equals(this.id, alarmRefOrValue.id) && Objects.equals(this.href, alarmRefOrValue.href)
- && Objects.equals(this.ackState, alarmRefOrValue.ackState)
- && Objects.equals(this.ackSystemId, alarmRefOrValue.ackSystemId)
- && Objects.equals(this.ackUserId, alarmRefOrValue.ackUserId)
- && Objects.equals(this.alarmChangedTime, alarmRefOrValue.alarmChangedTime)
- && Objects.equals(this.alarmClearedTime, alarmRefOrValue.alarmClearedTime)
- && Objects.equals(this.alarmDetails, alarmRefOrValue.alarmDetails)
- && Objects.equals(this.alarmEscalation, alarmRefOrValue.alarmEscalation)
- && Objects.equals(this.alarmRaisedTime, alarmRefOrValue.alarmRaisedTime)
- && Objects.equals(this.alarmReportingTime, alarmRefOrValue.alarmReportingTime)
- && Objects.equals(this.alarmType, alarmRefOrValue.alarmType)
- && Objects.equals(this.alarmedObjectType, alarmRefOrValue.alarmedObjectType)
- && Objects.equals(this.clearSystemId, alarmRefOrValue.clearSystemId)
- && Objects.equals(this.clearUserId, alarmRefOrValue.clearUserId)
- && Objects.equals(this.externalAlarmId, alarmRefOrValue.externalAlarmId)
- && Objects.equals(this.isRootCause, alarmRefOrValue.isRootCause)
- && Objects.equals(this.name, alarmRefOrValue.name)
- && Objects.equals(this.perceivedSeverity, alarmRefOrValue.perceivedSeverity)
- && Objects.equals(this.plannedOutageIndicator, alarmRefOrValue.plannedOutageIndicator)
- && Objects.equals(this.probableCause, alarmRefOrValue.probableCause)
- && Objects.equals(this.proposedRepairedActions, alarmRefOrValue.proposedRepairedActions)
- && Objects.equals(this.reportingSystemId, alarmRefOrValue.reportingSystemId)
- && Objects.equals(this.serviceAffecting, alarmRefOrValue.serviceAffecting)
- && Objects.equals(this.sourceSystemId, alarmRefOrValue.sourceSystemId)
- && Objects.equals(this.specificProblem, alarmRefOrValue.specificProblem)
- && Objects.equals(this.state, alarmRefOrValue.state)
- && Objects.equals(this.affectedService, alarmRefOrValue.affectedService)
- && Objects.equals(this.alarmedObject, alarmRefOrValue.alarmedObject)
- && Objects.equals(this.comment, alarmRefOrValue.comment)
- && Objects.equals(this.correlatedAlarm, alarmRefOrValue.correlatedAlarm)
- && Objects.equals(this.crossedThresholdInformation, alarmRefOrValue.crossedThresholdInformation)
- && Objects.equals(this.parentAlarm, alarmRefOrValue.parentAlarm)
- && Objects.equals(this.place, alarmRefOrValue.place)
- && Objects.equals(this.baseType, alarmRefOrValue.baseType)
- && Objects.equals(this.schemaLocation, alarmRefOrValue.schemaLocation)
- && Objects.equals(this.type, alarmRefOrValue.type)
- && Objects.equals(this._atReferredType, alarmRefOrValue._atReferredType);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, ackState, ackSystemId, ackUserId, alarmChangedTime, alarmClearedTime,
- alarmDetails, alarmEscalation, alarmRaisedTime, alarmReportingTime, alarmType, alarmedObjectType,
- clearSystemId, clearUserId, externalAlarmId, isRootCause, name, perceivedSeverity,
- plannedOutageIndicator, probableCause, proposedRepairedActions, reportingSystemId, serviceAffecting,
- sourceSystemId, specificProblem, state, affectedService, alarmedObject, comment, correlatedAlarm,
- crossedThresholdInformation, parentAlarm, place, baseType, schemaLocation, type, _atReferredType);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmRefOrValue {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" ackState: ").append(toIndentedString(ackState)).append("\n");
- sb.append(" ackSystemId: ").append(toIndentedString(ackSystemId)).append("\n");
- sb.append(" ackUserId: ").append(toIndentedString(ackUserId)).append("\n");
- sb.append(" alarmChangedTime: ").append(toIndentedString(alarmChangedTime)).append("\n");
- sb.append(" alarmClearedTime: ").append(toIndentedString(alarmClearedTime)).append("\n");
- sb.append(" alarmDetails: ").append(toIndentedString(alarmDetails)).append("\n");
- sb.append(" alarmEscalation: ").append(toIndentedString(alarmEscalation)).append("\n");
- sb.append(" alarmRaisedTime: ").append(toIndentedString(alarmRaisedTime)).append("\n");
- sb.append(" alarmReportingTime: ").append(toIndentedString(alarmReportingTime)).append("\n");
- sb.append(" alarmType: ").append(toIndentedString(alarmType)).append("\n");
- sb.append(" alarmedObjectType: ").append(toIndentedString(alarmedObjectType)).append("\n");
- sb.append(" clearSystemId: ").append(toIndentedString(clearSystemId)).append("\n");
- sb.append(" clearUserId: ").append(toIndentedString(clearUserId)).append("\n");
- sb.append(" externalAlarmId: ").append(toIndentedString(externalAlarmId)).append("\n");
- sb.append(" isRootCause: ").append(toIndentedString(isRootCause)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" perceivedSeverity: ").append(toIndentedString(perceivedSeverity)).append("\n");
- sb.append(" plannedOutageIndicator: ").append(toIndentedString(plannedOutageIndicator)).append("\n");
- sb.append(" probableCause: ").append(toIndentedString(probableCause)).append("\n");
- sb.append(" proposedRepairedActions: ").append(toIndentedString(proposedRepairedActions)).append("\n");
- sb.append(" reportingSystemId: ").append(toIndentedString(reportingSystemId)).append("\n");
- sb.append(" serviceAffecting: ").append(toIndentedString(serviceAffecting)).append("\n");
- sb.append(" sourceSystemId: ").append(toIndentedString(sourceSystemId)).append("\n");
- sb.append(" specificProblem: ").append(toIndentedString(specificProblem)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" affectedService: ").append(toIndentedString(affectedService)).append("\n");
- sb.append(" alarmedObject: ").append(toIndentedString(alarmedObject)).append("\n");
- sb.append(" comment: ").append(toIndentedString(comment)).append("\n");
- sb.append(" correlatedAlarm: ").append(toIndentedString(correlatedAlarm)).append("\n");
- sb.append(" crossedThresholdInformation: ").append(toIndentedString(crossedThresholdInformation))
- .append("\n");
- sb.append(" parentAlarm: ").append(toIndentedString(parentAlarm)).append("\n");
- sb.append(" place: ").append(toIndentedString(place)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmStateChangeEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmStateChangeEvent.java
deleted file mode 100644
index 98667f584fa0c304bd05544936601ac6aca4adba..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmStateChangeEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AlarmStateChangeEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private AlarmStateChangeEventPayload event = null;
-
- public AlarmStateChangeEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public AlarmStateChangeEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public AlarmStateChangeEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public AlarmStateChangeEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public AlarmStateChangeEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public AlarmStateChangeEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public AlarmStateChangeEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public AlarmStateChangeEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public AlarmStateChangeEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public AlarmStateChangeEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public AlarmStateChangeEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public AlarmStateChangeEvent event(AlarmStateChangeEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public AlarmStateChangeEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(AlarmStateChangeEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmStateChangeEvent alarmStateChangeEvent = (AlarmStateChangeEvent) o;
- return Objects.equals(this.id, alarmStateChangeEvent.id) &&
- Objects.equals(this.href, alarmStateChangeEvent.href) &&
- Objects.equals(this.eventId, alarmStateChangeEvent.eventId) &&
- Objects.equals(this.eventTime, alarmStateChangeEvent.eventTime) &&
- Objects.equals(this.eventType, alarmStateChangeEvent.eventType) &&
- Objects.equals(this.correlationId, alarmStateChangeEvent.correlationId) &&
- Objects.equals(this.domain, alarmStateChangeEvent.domain) &&
- Objects.equals(this.title, alarmStateChangeEvent.title) &&
- Objects.equals(this.description, alarmStateChangeEvent.description) &&
- Objects.equals(this.priority, alarmStateChangeEvent.priority) &&
- Objects.equals(this.timeOcurred, alarmStateChangeEvent.timeOcurred) &&
- Objects.equals(this.event, alarmStateChangeEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmStateChangeEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmStateChangeEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmStateChangeEventPayload.java
deleted file mode 100644
index 8aa83a12c873d0347c8e2e7e756f3d2847911e61..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmStateChangeEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AlarmStateChangeEventPayload {
- @JsonProperty("alarm")
- private Alarm alarm = null;
-
- public AlarmStateChangeEventPayload alarm(Alarm alarm) {
- this.alarm = alarm;
- return this;
- }
-
- /**
- * Get alarm
- * @return alarm
- **/
- @Schema(description = "")
-
- @Valid
- public Alarm getAlarm() {
- return alarm;
- }
-
- public void setAlarm(Alarm alarm) {
- this.alarm = alarm;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmStateChangeEventPayload alarmStateChangeEventPayload = (AlarmStateChangeEventPayload) o;
- return Objects.equals(this.alarm, alarmStateChangeEventPayload.alarm);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(alarm);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmStateChangeEventPayload {\n");
-
- sb.append(" alarm: ").append(toIndentedString(alarm)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmStateType.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmStateType.java
deleted file mode 100644
index 3fee537c4cc4c07434357149f775fbfdbf6ac696..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmStateType.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-public enum AlarmStateType {
-
- raised,
- updated,
- cleared;
-
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmType.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmType.java
deleted file mode 100644
index a8625e028be12e623ae4862d2d615d0b88701ba3..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmType.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-public enum AlarmType {
-
- communicationsAlarm,
- processingErrorAlarm,
- environmentalAlarm,
- qualityOfServiceAlarm,
- equipmentAlarm,
- integrityViolation,
- operationalViolation,
- physicalViolation,
- securityService,
- mechanismViolation,
- timeDomainViolation;
-
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmUpdate.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmUpdate.java
deleted file mode 100644
index af3fde983bf283526b91ce0dc5a4af88a7f18e3d..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmUpdate.java
+++ /dev/null
@@ -1,997 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * This resource represents an alarm supporting the information model defined in
- * ITU-T X.733. Skipped properties: id,href,alarmRaisedTime,sourceSystemId
- */
-@Schema(description = "This resource represents an alarm supporting the information model defined in ITU-T X.733. Skipped properties: id,href,alarmRaisedTime,sourceSystemId")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class AlarmUpdate {
- @JsonProperty("ackState")
- protected String ackState = null;
-
- @JsonProperty("ackSystemId")
- protected String ackSystemId = null;
-
- @JsonProperty("ackUserId")
- protected String ackUserId = null;
-
- protected OffsetDateTime alarmChangedTime = null;
-
- protected OffsetDateTime alarmClearedTime = null;
-
- @JsonProperty("alarmDetails")
- protected String alarmDetails = null;
-
- @JsonProperty("alarmEscalation")
- protected Boolean alarmEscalation = null;
-
- protected OffsetDateTime alarmReportingTime = null;
-
- @JsonProperty("alarmType")
- protected String alarmType = null;
-
- @JsonProperty("alarmedObjectType")
- protected String alarmedObjectType = null;
-
- @JsonProperty("clearSystemId")
- protected String clearSystemId = null;
-
- @JsonProperty("clearUserId")
- protected String clearUserId = null;
-
- @JsonProperty("externalAlarmId")
- protected String externalAlarmId = null;
-
- @JsonProperty("isRootCause")
- protected Boolean isRootCause = null;
-
- @JsonProperty("perceivedSeverity")
- protected String perceivedSeverity = null;
-
- @JsonProperty("plannedOutageIndicator")
- protected String plannedOutageIndicator = null;
-
- @JsonProperty("probableCause")
- protected String probableCause = null;
-
- @JsonProperty("proposedRepairedActions")
- protected String proposedRepairedActions = null;
-
- @JsonProperty("reportingSystemId")
- protected String reportingSystemId = null;
-
- @JsonProperty("serviceAffecting")
- protected Boolean serviceAffecting = null;
-
- @JsonProperty("specificProblem")
- protected String specificProblem = null;
-
- @JsonProperty("state")
- protected String state = null;
-
- @JsonProperty("affectedService")
- @Valid
- protected List affectedService = null;
-
- @JsonProperty("alarmedObject")
- protected AlarmedObject alarmedObject = null;
-
- @JsonProperty("comment")
- @Valid
- protected List comment = null;
-
- @JsonProperty("correlatedAlarm")
- @Valid
- protected List correlatedAlarm = null;
-
- @JsonProperty("crossedThresholdInformation")
- protected CrossedThresholdInformation crossedThresholdInformation = null;
-
- @JsonProperty("parentAlarm")
- @Valid
- protected List parentAlarm = null;
-
- @JsonProperty("place")
- @Valid
- protected List place = null;
-
- @JsonProperty("@baseType")
- protected String baseType = null;
-
- @JsonProperty("@schemaLocation")
- protected String schemaLocation = null;
-
- @JsonProperty("@type")
- protected String type = null;
-
- public AlarmUpdate ackState(String ackState) {
- this.ackState = ackState;
- return this;
- }
-
- /**
- * Provides the Acknowledgement State of the alarm
- *
- * @return ackState
- **/
- @Schema(description = "Provides the Acknowledgement State of the alarm")
-
- public String getAckState() {
- return ackState;
- }
-
- public void setAckState(String ackState) {
- this.ackState = ackState;
- }
-
- public AlarmUpdate ackSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- return this;
- }
-
- /**
- * Provides the name of the system that last changed the ackState of an alarm,
- * i.e. acknowledged or unacknowledged the alarm.
- *
- * @return ackSystemId
- **/
- @Schema(description = "Provides the name of the system that last changed the ackState of an alarm, i.e. acknowledged or unacknowledged the alarm.")
-
- public String getAckSystemId() {
- return ackSystemId;
- }
-
- public void setAckSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- }
-
- public AlarmUpdate ackUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- return this;
- }
-
- /**
- * Provides the id of the user who has last changed the ack state of the alarm,
- * i.e. acknowledged or unacknowledged the alarm.
- *
- * @return ackUserId
- **/
- @Schema(description = "Provides the id of the user who has last changed the ack state of the alarm, i.e. acknowledged or unacknowledged the alarm.")
-
- public String getAckUserId() {
- return ackUserId;
- }
-
- public void setAckUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- }
-
- public AlarmUpdate alarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- return this;
- }
-
- /**
- * Indicates the last date and time when the alarm is changed on the
- * alarm-owning system. Any change to the alarm whether coming from the alarmed
- * resource, or triggered by a change from the client is changing this time.
- *
- * @return alarmChangedTime
- **/
- @Schema(description = "Indicates the last date and time when the alarm is changed on the alarm-owning system. Any change to the alarm whether coming from the alarmed resource, or triggered by a change from the client is changing this time.")
-
- @Valid
- public OffsetDateTime getAlarmChangedTime() {
- return alarmChangedTime;
- }
-
- @JsonProperty("alarmChangedTime")
- public String getAlarmChangedTimeStr() {
- if (this.alarmChangedTime != null) {
- return this.alarmChangedTime.toString();
- } else {
- return null;
- }
- }
-
- public void setAlarmChangedTime(String alarmChangedTime) {
- if (alarmChangedTime != null) {
- this.alarmChangedTime = OffsetDateTime.parse(alarmChangedTime);
- }
-
- }
-
-
- public void setAlarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- }
-
- public AlarmUpdate alarmClearedTime(OffsetDateTime alarmClearedTime) {
- this.alarmClearedTime = alarmClearedTime;
- return this;
- }
-
- /**
- * Indicates the time (as a date + time) at which the alarm is cleared at the
- * source.
- *
- * @return alarmClearedTime
- **/
- @Schema(description = "Indicates the time (as a date + time) at which the alarm is cleared at the source. ")
-
- @Valid
- public OffsetDateTime getAlarmClearedTime() {
- return alarmClearedTime;
- }
-
- public void setAlarmClearedTime(OffsetDateTime alarmClearedTime) {
- this.alarmClearedTime = alarmClearedTime;
- }
-
- @JsonProperty("alarmClearedTime")
- public String getAlarmClearedTimeStr() {
- if (this.alarmClearedTime != null) {
- return this.alarmClearedTime.toString();
- } else {
- return null;
- }
- }
-
- public void setAlarmClearedTime(String alarmClearedTime) {
- if (alarmClearedTime != null) {
- this.alarmClearedTime = OffsetDateTime.parse(alarmClearedTime);
- }
-
- }
-
- public AlarmUpdate alarmDetails(String alarmDetails) {
- this.alarmDetails = alarmDetails;
- return this;
- }
-
- /**
- * Contains further information on the alarm.
- *
- * @return alarmDetails
- **/
- @Schema(description = "Contains further information on the alarm.")
-
- public String getAlarmDetails() {
- return alarmDetails;
- }
-
- public void setAlarmDetails(String alarmDetails) {
- this.alarmDetails = alarmDetails;
- }
-
- public AlarmUpdate alarmEscalation(Boolean alarmEscalation) {
- this.alarmEscalation = alarmEscalation;
- return this;
- }
-
- /**
- * Indicates if this alarm has been escalated or not.
- *
- * @return alarmEscalation
- **/
- @Schema(description = "Indicates if this alarm has been escalated or not. ")
-
- public Boolean isAlarmEscalation() {
- return alarmEscalation;
- }
-
- public void setAlarmEscalation(Boolean alarmEscalation) {
- this.alarmEscalation = alarmEscalation;
- }
-
- public AlarmUpdate alarmReportingTime(OffsetDateTime alarmReportingTime) {
- this.alarmReportingTime = alarmReportingTime;
- return this;
- }
-
- /**
- * Indicates the time (as a date + time) at which the alarm was reported by the
- * owning OSS. It might be different from the alarmRaisedTime. For instance, if
- * the alarm list is maintained by an EMS, the alarmRaisedtime would be the time
- * the alarm was detected by the NE, while the alarmReportingTime would be the
- * time this alarm was stored in the alarm list of the EMS.
- *
- * @return alarmReportingTime
- **/
- @Schema(description = "Indicates the time (as a date + time) at which the alarm was reported by the owning OSS. It might be different from the alarmRaisedTime. For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would be the time the alarm was detected by the NE, while the alarmReportingTime would be the time this alarm was stored in the alarm list of the EMS.")
-
- @Valid
- public OffsetDateTime getAlarmReportingTime() {
- return alarmReportingTime;
- }
-
- public void setAlarmReportingTime(OffsetDateTime alarmReportingTime) {
- this.alarmReportingTime = alarmReportingTime;
- }
-
-
- @JsonProperty("alarmReportingTime")
- public String getAlarmReportingTimeStr() {
- if (this.alarmReportingTime != null) {
- return this.alarmReportingTime.toString();
- } else {
- return null;
- }
- }
-
- public void setAlarmReportingTime(String alarmReportingTime) {
- if (alarmReportingTime != null) {
- this.alarmReportingTime = OffsetDateTime.parse(alarmReportingTime);
- }
-
- }
-
- public AlarmUpdate alarmType(String alarmType) {
- this.alarmType = alarmType;
- return this;
- }
-
- /**
- * Categorize the alarm. Should be one of the values defined in X.733 8.1.1 or
- * 3GPP TS 32.111-2 Annex A: Communications Alarm Processing Error Alarm
- * Environmental Alarm Quality of Service Alarm Equipment Alarm Integrity
- * Violation Operational Violation Physical Violation Security Service or
- * Mechanism Violation Time Domain Violation
- *
- * @return alarmType
- **/
- @Schema(description = "Categorize the alarm. Should be one of the values defined in X.733 8.1.1 or 3GPP TS 32.111-2 Annex A: Communications Alarm Processing Error Alarm Environmental Alarm Quality of Service Alarm Equipment Alarm Integrity Violation Operational Violation Physical Violation Security Service or Mechanism Violation Time Domain Violation")
-
- public String getAlarmType() {
- return alarmType;
- }
-
- public void setAlarmType(String alarmType) {
- this.alarmType = alarmType;
- }
-
- public AlarmUpdate alarmedObjectType(String alarmedObjectType) {
- this.alarmedObjectType = alarmedObjectType;
- return this;
- }
-
- /**
- * The type (class) of the managed object associated with the event.
- *
- * @return alarmedObjectType
- **/
- @Schema(description = "The type (class) of the managed object associated with the event.")
-
- public String getAlarmedObjectType() {
- return alarmedObjectType;
- }
-
- public void setAlarmedObjectType(String alarmedObjectType) {
- this.alarmedObjectType = alarmedObjectType;
- }
-
- public AlarmUpdate clearSystemId(String clearSystemId) {
- this.clearSystemId = clearSystemId;
- return this;
- }
-
- /**
- * Provides the id of the system where the user who invoked the alarmCleared
- * operation is located.
- *
- * @return clearSystemId
- **/
- @Schema(description = "Provides the id of the system where the user who invoked the alarmCleared operation is located. ")
-
- public String getClearSystemId() {
- return clearSystemId;
- }
-
- public void setClearSystemId(String clearSystemId) {
- this.clearSystemId = clearSystemId;
- }
-
- public AlarmUpdate clearUserId(String clearUserId) {
- this.clearUserId = clearUserId;
- return this;
- }
-
- /**
- * Provides the id of the user who invoked the alarmCleared operation
- *
- * @return clearUserId
- **/
- @Schema(description = "Provides the id of the user who invoked the alarmCleared operation")
-
- public String getClearUserId() {
- return clearUserId;
- }
-
- public void setClearUserId(String clearUserId) {
- this.clearUserId = clearUserId;
- }
-
- public AlarmUpdate externalAlarmId(String externalAlarmId) {
- this.externalAlarmId = externalAlarmId;
- return this;
- }
-
- /**
- * An identifier of the alarm in the source system.
- *
- * @return externalAlarmId
- **/
- @Schema(description = "An identifier of the alarm in the source system.")
-
- public String getExternalAlarmId() {
- return externalAlarmId;
- }
-
- public void setExternalAlarmId(String externalAlarmId) {
- this.externalAlarmId = externalAlarmId;
- }
-
- public AlarmUpdate isRootCause(Boolean isRootCause) {
- this.isRootCause = isRootCause;
- return this;
- }
-
- /**
- * Indicates whether the alarm is a root cause alarm..
- *
- * @return isRootCause
- **/
- @Schema(description = "Indicates whether the alarm is a root cause alarm.. ")
-
- public Boolean isIsRootCause() {
- return isRootCause;
- }
-
- public void setIsRootCause(Boolean isRootCause) {
- this.isRootCause = isRootCause;
- }
-
- public AlarmUpdate perceivedSeverity(String perceivedSeverity) {
- this.perceivedSeverity = perceivedSeverity;
- return this;
- }
-
- /**
- * Lists the possible severities that can be allocated to an Alarm. The values
- * are consistent with ITU-T Recommendation X.733. Once an alarm has been
- * cleared, its perceived severity is set to 'cleared' and can no longer be set.
- *
- * @return perceivedSeverity
- **/
- @Schema(description = "Lists the possible severities that can be allocated to an Alarm. The values are consistent with ITU-T Recommendation X.733. Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no longer be set.")
-
- public String getPerceivedSeverity() {
- return perceivedSeverity;
- }
-
- public void setPerceivedSeverity(String perceivedSeverity) {
- this.perceivedSeverity = perceivedSeverity;
- }
-
- public AlarmUpdate plannedOutageIndicator(String plannedOutageIndicator) {
- this.plannedOutageIndicator = plannedOutageIndicator;
- return this;
- }
-
- /**
- * Indicates that the Managed Object (related to this alarm) is in planned
- * outage (in planned maintenance, or out-of-service).
- *
- * @return plannedOutageIndicator
- **/
- @Schema(description = "Indicates that the Managed Object (related to this alarm) is in planned outage (in planned maintenance, or out-of-service). ")
-
- public String getPlannedOutageIndicator() {
- return plannedOutageIndicator;
- }
-
- public void setPlannedOutageIndicator(String plannedOutageIndicator) {
- this.plannedOutageIndicator = plannedOutageIndicator;
- }
-
- public AlarmUpdate probableCause(String probableCause) {
- this.probableCause = probableCause;
- return this;
- }
-
- /**
- * Provides the probable cause of the alarm. The values are consistent with
- * ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
- *
- * @return probableCause
- **/
- @Schema(description = "Provides the probable cause of the alarm. The values are consistent with ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.")
-
- public String getProbableCause() {
- return probableCause;
- }
-
- public void setProbableCause(String probableCause) {
- this.probableCause = probableCause;
- }
-
- public AlarmUpdate proposedRepairedActions(String proposedRepairedActions) {
- this.proposedRepairedActions = proposedRepairedActions;
- return this;
- }
-
- /**
- * Indicates proposed repair actions, if known to the system emitting the alarm.
- *
- * @return proposedRepairedActions
- **/
- @Schema(description = "Indicates proposed repair actions, if known to the system emitting the alarm.")
-
- public String getProposedRepairedActions() {
- return proposedRepairedActions;
- }
-
- public void setProposedRepairedActions(String proposedRepairedActions) {
- this.proposedRepairedActions = proposedRepairedActions;
- }
-
- public AlarmUpdate reportingSystemId(String reportingSystemId) {
- this.reportingSystemId = reportingSystemId;
- return this;
- }
-
- /**
- * Reporting system identity.
- *
- * @return reportingSystemId
- **/
- @Schema(description = "Reporting system identity.")
-
- public String getReportingSystemId() {
- return reportingSystemId;
- }
-
- public void setReportingSystemId(String reportingSystemId) {
- this.reportingSystemId = reportingSystemId;
- }
-
- public AlarmUpdate serviceAffecting(Boolean serviceAffecting) {
- this.serviceAffecting = serviceAffecting;
- return this;
- }
-
- /**
- * Indicates whether the alarm affects service or not.
- *
- * @return serviceAffecting
- **/
- @Schema(description = "Indicates whether the alarm affects service or not.")
-
- public Boolean isServiceAffecting() {
- return serviceAffecting;
- }
-
- public void setServiceAffecting(Boolean serviceAffecting) {
- this.serviceAffecting = serviceAffecting;
- }
-
- public AlarmUpdate specificProblem(String specificProblem) {
- this.specificProblem = specificProblem;
- return this;
- }
-
- /**
- * Provides more specific information about the alarm.
- *
- * @return specificProblem
- **/
- @Schema(description = "Provides more specific information about the alarm.")
-
- public String getSpecificProblem() {
- return specificProblem;
- }
-
- public void setSpecificProblem(String specificProblem) {
- this.specificProblem = specificProblem;
- }
-
- public AlarmUpdate state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Defines the alarm state during its life cycle
- *
- * @return state
- **/
- @Schema(description = "Defines the alarm state during its life cycle")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public AlarmUpdate affectedService(List affectedService) {
- this.affectedService = affectedService;
- return this;
- }
-
- public AlarmUpdate addAffectedServiceItem(AffectedService affectedServiceItem) {
- if (this.affectedService == null) {
- this.affectedService = new ArrayList<>();
- }
- this.affectedService.add(affectedServiceItem);
- return this;
- }
-
- /**
- * Get affectedService
- *
- * @return affectedService
- **/
- @Schema(description = "")
- @Valid
- public List getAffectedService() {
- return affectedService;
- }
-
- public void setAffectedService(List affectedService) {
- this.affectedService = affectedService;
- }
-
- public AlarmUpdate alarmedObject(AlarmedObject alarmedObject) {
- this.alarmedObject = alarmedObject;
- return this;
- }
-
- /**
- * Get alarmedObject
- *
- * @return alarmedObject
- **/
- @Schema(description = "")
-
- @Valid
- public AlarmedObject getAlarmedObject() {
- return alarmedObject;
- }
-
- public void setAlarmedObject(AlarmedObject alarmedObject) {
- this.alarmedObject = alarmedObject;
- }
-
- public AlarmUpdate comment(List comment) {
- this.comment = comment;
- return this;
- }
-
- public AlarmUpdate addCommentItem(Comment commentItem) {
- if (this.comment == null) {
- this.comment = new ArrayList<>();
- }
- this.comment.add(commentItem);
- return this;
- }
-
- /**
- * Get comment
- *
- * @return comment
- **/
- @Schema(description = "")
- @Valid
- public List getComment() {
- return comment;
- }
-
- public void setComment(List comment) {
- this.comment = comment;
- }
-
- public AlarmUpdate correlatedAlarm(List correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- return this;
- }
-
- public AlarmUpdate addCorrelatedAlarmItem(AlarmRef correlatedAlarmItem) {
- if (this.correlatedAlarm == null) {
- this.correlatedAlarm = new ArrayList<>();
- }
- this.correlatedAlarm.add(correlatedAlarmItem);
- return this;
- }
-
- /**
- * Get correlatedAlarm
- *
- * @return correlatedAlarm
- **/
- @Schema(description = "")
- @Valid
- public List getCorrelatedAlarm() {
- return correlatedAlarm;
- }
-
- public void setCorrelatedAlarm(List correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- }
-
- public AlarmUpdate crossedThresholdInformation(CrossedThresholdInformation crossedThresholdInformation) {
- this.crossedThresholdInformation = crossedThresholdInformation;
- return this;
- }
-
- /**
- * Get crossedThresholdInformation
- *
- * @return crossedThresholdInformation
- **/
- @Schema(description = "")
-
- @Valid
- public CrossedThresholdInformation getCrossedThresholdInformation() {
- return crossedThresholdInformation;
- }
-
- public void setCrossedThresholdInformation(CrossedThresholdInformation crossedThresholdInformation) {
- this.crossedThresholdInformation = crossedThresholdInformation;
- }
-
- public AlarmUpdate parentAlarm(List parentAlarm) {
- this.parentAlarm = parentAlarm;
- return this;
- }
-
- public AlarmUpdate addParentAlarmItem(AlarmRef parentAlarmItem) {
- if (this.parentAlarm == null) {
- this.parentAlarm = new ArrayList<>();
- }
- this.parentAlarm.add(parentAlarmItem);
- return this;
- }
-
- /**
- * Get parentAlarm
- *
- * @return parentAlarm
- **/
- @Schema(description = "")
- @Valid
- public List getParentAlarm() {
- return parentAlarm;
- }
-
- public void setParentAlarm(List parentAlarm) {
- this.parentAlarm = parentAlarm;
- }
-
- public AlarmUpdate place(List place) {
- this.place = place;
- return this;
- }
-
- public AlarmUpdate addPlaceItem(RelatedPlaceRefOrValue placeItem) {
- if (this.place == null) {
- this.place = new ArrayList<>();
- }
- this.place.add(placeItem);
- return this;
- }
-
- /**
- * Get place
- *
- * @return place
- **/
- @Schema(description = "")
- @Valid
- public List getPlace() {
- return place;
- }
-
- public void setPlace(List place) {
- this.place = place;
- }
-
- public AlarmUpdate baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * The base type of this alarm.
- *
- * @return baseType
- **/
- @Schema(description = "The base type of this alarm.")
-
- public String getAtBaseType() {
- return baseType;
- }
-
- public void setAtBaseType(String baseType) {
- this.baseType = baseType;
- }
-
- public AlarmUpdate schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A reference to the schema describing this alarm.
- *
- * @return schemaLocation
- **/
- @Schema(description = "A reference to the schema describing this alarm.")
-
- public String getAtSchemaLocation() {
- return schemaLocation;
- }
-
- public void setAtSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public AlarmUpdate type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * The type for this alarm.
- *
- * @return type
- **/
- @Schema(description = "The type for this alarm.")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmUpdate alarmUpdate = (AlarmUpdate) o;
- return Objects.equals(this.ackState, alarmUpdate.ackState)
- && Objects.equals(this.ackSystemId, alarmUpdate.ackSystemId)
- && Objects.equals(this.ackUserId, alarmUpdate.ackUserId)
- && Objects.equals(this.alarmChangedTime, alarmUpdate.alarmChangedTime)
- && Objects.equals(this.alarmClearedTime, alarmUpdate.alarmClearedTime)
- && Objects.equals(this.alarmDetails, alarmUpdate.alarmDetails)
- && Objects.equals(this.alarmEscalation, alarmUpdate.alarmEscalation)
- && Objects.equals(this.alarmReportingTime, alarmUpdate.alarmReportingTime)
- && Objects.equals(this.alarmType, alarmUpdate.alarmType)
- && Objects.equals(this.alarmedObjectType, alarmUpdate.alarmedObjectType)
- && Objects.equals(this.clearSystemId, alarmUpdate.clearSystemId)
- && Objects.equals(this.clearUserId, alarmUpdate.clearUserId)
- && Objects.equals(this.externalAlarmId, alarmUpdate.externalAlarmId)
- && Objects.equals(this.isRootCause, alarmUpdate.isRootCause)
- && Objects.equals(this.perceivedSeverity, alarmUpdate.perceivedSeverity)
- && Objects.equals(this.plannedOutageIndicator, alarmUpdate.plannedOutageIndicator)
- && Objects.equals(this.probableCause, alarmUpdate.probableCause)
- && Objects.equals(this.proposedRepairedActions, alarmUpdate.proposedRepairedActions)
- && Objects.equals(this.reportingSystemId, alarmUpdate.reportingSystemId)
- && Objects.equals(this.serviceAffecting, alarmUpdate.serviceAffecting)
- && Objects.equals(this.specificProblem, alarmUpdate.specificProblem)
- && Objects.equals(this.state, alarmUpdate.state)
- && Objects.equals(this.affectedService, alarmUpdate.affectedService)
- && Objects.equals(this.alarmedObject, alarmUpdate.alarmedObject)
- && Objects.equals(this.comment, alarmUpdate.comment)
- && Objects.equals(this.correlatedAlarm, alarmUpdate.correlatedAlarm)
- && Objects.equals(this.crossedThresholdInformation, alarmUpdate.crossedThresholdInformation)
- && Objects.equals(this.parentAlarm, alarmUpdate.parentAlarm)
- && Objects.equals(this.place, alarmUpdate.place) && Objects.equals(this.baseType, alarmUpdate.baseType)
- && Objects.equals(this.schemaLocation, alarmUpdate.schemaLocation)
- && Objects.equals(this.type, alarmUpdate.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(ackState, ackSystemId, ackUserId, alarmChangedTime, alarmClearedTime, alarmDetails,
- alarmEscalation, alarmReportingTime, alarmType, alarmedObjectType, clearSystemId, clearUserId,
- externalAlarmId, isRootCause, perceivedSeverity, plannedOutageIndicator, probableCause,
- proposedRepairedActions, reportingSystemId, serviceAffecting, specificProblem, state, affectedService,
- alarmedObject, comment, correlatedAlarm, crossedThresholdInformation, parentAlarm, place, baseType,
- schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmUpdate {\n");
-
- sb.append(" ackState: ").append(toIndentedString(ackState)).append("\n");
- sb.append(" ackSystemId: ").append(toIndentedString(ackSystemId)).append("\n");
- sb.append(" ackUserId: ").append(toIndentedString(ackUserId)).append("\n");
- sb.append(" alarmChangedTime: ").append(toIndentedString(alarmChangedTime)).append("\n");
- sb.append(" alarmClearedTime: ").append(toIndentedString(alarmClearedTime)).append("\n");
- sb.append(" alarmDetails: ").append(toIndentedString(alarmDetails)).append("\n");
- sb.append(" alarmEscalation: ").append(toIndentedString(alarmEscalation)).append("\n");
- sb.append(" alarmReportingTime: ").append(toIndentedString(alarmReportingTime)).append("\n");
- sb.append(" alarmType: ").append(toIndentedString(alarmType)).append("\n");
- sb.append(" alarmedObjectType: ").append(toIndentedString(alarmedObjectType)).append("\n");
- sb.append(" clearSystemId: ").append(toIndentedString(clearSystemId)).append("\n");
- sb.append(" clearUserId: ").append(toIndentedString(clearUserId)).append("\n");
- sb.append(" externalAlarmId: ").append(toIndentedString(externalAlarmId)).append("\n");
- sb.append(" isRootCause: ").append(toIndentedString(isRootCause)).append("\n");
- sb.append(" perceivedSeverity: ").append(toIndentedString(perceivedSeverity)).append("\n");
- sb.append(" plannedOutageIndicator: ").append(toIndentedString(plannedOutageIndicator)).append("\n");
- sb.append(" probableCause: ").append(toIndentedString(probableCause)).append("\n");
- sb.append(" proposedRepairedActions: ").append(toIndentedString(proposedRepairedActions)).append("\n");
- sb.append(" reportingSystemId: ").append(toIndentedString(reportingSystemId)).append("\n");
- sb.append(" serviceAffecting: ").append(toIndentedString(serviceAffecting)).append("\n");
- sb.append(" specificProblem: ").append(toIndentedString(specificProblem)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" affectedService: ").append(toIndentedString(affectedService)).append("\n");
- sb.append(" alarmedObject: ").append(toIndentedString(alarmedObject)).append("\n");
- sb.append(" comment: ").append(toIndentedString(comment)).append("\n");
- sb.append(" correlatedAlarm: ").append(toIndentedString(correlatedAlarm)).append("\n");
- sb.append(" crossedThresholdInformation: ").append(toIndentedString(crossedThresholdInformation))
- .append("\n");
- sb.append(" parentAlarm: ").append(toIndentedString(parentAlarm)).append("\n");
- sb.append(" place: ").append(toIndentedString(place)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmedObject.java b/src/main/java/org/etsi/osl/tmf/am642/model/AlarmedObject.java
deleted file mode 100644
index 6c1879ba762b2a672f8c64d3a986aed7163a88c9..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/AlarmedObject.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.Entity;
-import jakarta.persistence.Table;
-
-/**
- * Identifies the managed object instance associated with the alarm.
- */
-@Schema(description = "Identifies the managed object instance associated with the alarm.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMAlarmedObject")
-@Table(name = "AMAlarmedObject")
-public class AlarmedObject extends BaseRootEntity {
- @JsonProperty("id")
- private String id = null;
-
- /**
- * @return the id
- */
- public String getId() {
- if (uuid != null) {
- id = uuid;
- }
- return id;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AlarmedObject alarmedObject = (AlarmedObject) o;
- return Objects.equals(this.id, alarmedObject.id) && Objects.equals(this.href, alarmedObject.href)
- && Objects.equals(this.baseType, alarmedObject.baseType)
- && Objects.equals(this.schemaLocation, alarmedObject.schemaLocation)
- && Objects.equals(this.type, alarmedObject.type);
- }
-
-// @Override
-// public int hashCode() {
-// return Objects.hash(id, href, baseType, schemaLocation, type);
-// }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AlarmedObject {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarms.java b/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarms.java
deleted file mode 100644
index 9278319c7d5f0177f41a40f6db48891f96b24f40..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarms.java
+++ /dev/null
@@ -1,293 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.HashSet;
-import java.util.Objects;
-import java.util.Set;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import io.swagger.v3.oas.annotations.responses.ApiResponse;
-import jakarta.persistence.CascadeType;
-import jakarta.persistence.Entity;
-import jakarta.persistence.OneToMany;
-import jakarta.persistence.Table;
-import jakarta.validation.Valid;
-
-/**
- * Task resource for clear alarms operation
- */
-@Schema(description = "Task resource for clear alarms operation")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-
-@Entity(name = "AMClearAlarms")
-@Table(name = "AMClearAlarms")
-@ApiResponse
-public class ClearAlarms extends BaseRootEntity {
-
- @JsonProperty("id")
- private String id = null;
-
- private OffsetDateTime alarmClearedTime = null;
-
- @JsonProperty("clearSystemId")
- private String clearSystemId = null;
-
- @JsonProperty("clearUserId")
- private String clearUserId = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("alarmPattern")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set alarmPattern = new HashSet<>();
-
- @JsonProperty("clearedAlarm")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set clearedAlarm = new HashSet<>();
-
- /**
- * @return the id
- */
- public String getId() {
- if (uuid != null) {
- id = uuid;
- }
- return id;
- }
-
- public ClearAlarms alarmClearedTime(OffsetDateTime alarmClearedTime) {
- this.alarmClearedTime = alarmClearedTime;
- return this;
- }
-
- /**
- * Time of the alarm clearing
- *
- * @return alarmClearedTime
- **/
- @Schema(description = "Time of the alarm clearing")
-
- @Valid
- public OffsetDateTime getAlarmClearedTime() {
- return alarmClearedTime;
- }
-
- public void setAlarmClearedTime(OffsetDateTime alarmClearedTime) {
- this.alarmClearedTime = alarmClearedTime;
- }
-
-
- @JsonProperty("alarmClearedTime")
- public String getAlarmClearedTimeStr() {
- if (this.alarmClearedTime != null) {
- return this.alarmClearedTime.toString();
- } else {
- return null;
- }
- }
-
-
-
-
- public ClearAlarms clearSystemId(String clearSystemId) {
- this.clearSystemId = clearSystemId;
- return this;
- }
-
- /**
- * Name of the clearing system
- *
- * @return clearSystemId
- **/
- @Schema(description = "Name of the clearing system")
-
- public String getClearSystemId() {
- return clearSystemId;
- }
-
- public void setClearSystemId(String clearSystemId) {
- this.clearSystemId = clearSystemId;
- }
-
- public ClearAlarms clearUserId(String clearUserId) {
- this.clearUserId = clearUserId;
- return this;
- }
-
- /**
- * Name of the clearing user
- *
- * @return clearUserId
- **/
- @Schema(description = "Name of the clearing user")
-
- public String getClearUserId() {
- return clearUserId;
- }
-
- public void setClearUserId(String clearUserId) {
- this.clearUserId = clearUserId;
- }
-
- public ClearAlarms state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current state of the operation task
- *
- * @return state
- **/
- @Schema(description = "Current state of the operation task")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public ClearAlarms alarmPattern(Set alarmPattern) {
- this.alarmPattern = alarmPattern;
- return this;
- }
-
- public ClearAlarms addAlarmPatternItem(Alarm alarmPatternItem) {
- if (this.alarmPattern == null) {
- this.alarmPattern = new HashSet<>();
- }
- this.alarmPattern.add(alarmPatternItem);
- return this;
- }
-
- /**
- * Alarm patterns to match target alarms. An alarm will match if all of the
- * sttributes in any of the patterns compare equal to those attributes of the
- * alarm.
- *
- * @return alarmPattern
- **/
- @Schema(description = "Alarm patterns to match target alarms. An alarm will match if all of the sttributes in any of the patterns compare equal to those attributes of the alarm.")
- @Valid
- public Set getAlarmPattern() {
- return alarmPattern;
- }
-
- public void setAlarmPattern(Set alarmPattern) {
- this.alarmPattern = alarmPattern;
- }
-
- public ClearAlarms clearedAlarm(Set clearedAlarm) {
- this.clearedAlarm = clearedAlarm;
- return this;
- }
-
- public ClearAlarms addClearedAlarmItem(AlarmRefOrValue clearedAlarmItem) {
- if (this.clearedAlarm == null) {
- this.clearedAlarm = new HashSet<>();
- }
- this.clearedAlarm.add(clearedAlarmItem);
- return this;
- }
-
- /**
- * The successfully cleared alarms
- *
- * @return clearedAlarm
- **/
- @Schema(description = "The successfully cleared alarms")
- @Valid
- public Set getClearedAlarm() {
- return clearedAlarm;
- }
-
- public void setClearedAlarm(Set clearedAlarm) {
- this.clearedAlarm = clearedAlarm;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ClearAlarms clearAlarms = (ClearAlarms) o;
- return Objects.equals(this.id, clearAlarms.id) && Objects.equals(this.href, clearAlarms.href)
- && Objects.equals(this.alarmClearedTime, clearAlarms.alarmClearedTime)
- && Objects.equals(this.clearSystemId, clearAlarms.clearSystemId)
- && Objects.equals(this.clearUserId, clearAlarms.clearUserId)
- && Objects.equals(this.state, clearAlarms.state)
- && Objects.equals(this.alarmPattern, clearAlarms.alarmPattern)
- && Objects.equals(this.clearedAlarm, clearAlarms.clearedAlarm)
- && Objects.equals(this.baseType, clearAlarms.baseType)
- && Objects.equals(this.schemaLocation, clearAlarms.schemaLocation)
- && Objects.equals(this.type, clearAlarms.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, alarmClearedTime, clearSystemId, clearUserId, state, alarmPattern, clearedAlarm,
- baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ClearAlarms {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" alarmClearedTime: ").append(toIndentedString(alarmClearedTime)).append("\n");
- sb.append(" clearSystemId: ").append(toIndentedString(clearSystemId)).append("\n");
- sb.append(" clearUserId: ").append(toIndentedString(clearUserId)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" alarmPattern: ").append(toIndentedString(alarmPattern)).append("\n");
- sb.append(" clearedAlarm: ").append(toIndentedString(clearedAlarm)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsCreate.java b/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsCreate.java
deleted file mode 100644
index e16667c2cec75f4141e0f639ddf029003770737d..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsCreate.java
+++ /dev/null
@@ -1,315 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-import jakarta.validation.constraints.NotNull;
-import jakarta.validation.constraints.Size;
-
-/**
- * Task resource for clear alarms operation Skipped properties: id,href
- */
-@Schema(description = "Task resource for clear alarms operation Skipped properties: id,href")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class ClearAlarmsCreate {
- @JsonProperty("alarmClearedTime")
- private OffsetDateTime alarmClearedTime = null;
-
- @JsonProperty("clearSystemId")
- private String clearSystemId = null;
-
- @JsonProperty("clearUserId")
- private String clearUserId = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("alarmPattern")
- @Valid
- private List alarmPattern = new ArrayList<>();
-
- @JsonProperty("clearedAlarm")
- @Valid
- private List clearedAlarm = null;
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public ClearAlarmsCreate alarmClearedTime(OffsetDateTime alarmClearedTime) {
- this.alarmClearedTime = alarmClearedTime;
- return this;
- }
-
- /**
- * Time of the alarm clearing
- * @return alarmClearedTime
- **/
- @Schema(description = "Time of the alarm clearing")
- @NotNull
-
- @Valid
- public OffsetDateTime getAlarmClearedTime() {
- return alarmClearedTime;
- }
-
- public void setAlarmClearedTime(OffsetDateTime alarmClearedTime) {
- this.alarmClearedTime = alarmClearedTime;
- }
-
- public ClearAlarmsCreate clearSystemId(String clearSystemId) {
- this.clearSystemId = clearSystemId;
- return this;
- }
-
- /**
- * Name of the clearing system
- * @return clearSystemId
- **/
- @Schema(description = "Name of the clearing system")
- @NotNull
-
- public String getClearSystemId() {
- return clearSystemId;
- }
-
- public void setClearSystemId(String clearSystemId) {
- this.clearSystemId = clearSystemId;
- }
-
- public ClearAlarmsCreate clearUserId(String clearUserId) {
- this.clearUserId = clearUserId;
- return this;
- }
-
- /**
- * Name of the clearing user
- * @return clearUserId
- **/
- @Schema(description = "Name of the clearing user")
- @NotNull
-
- public String getClearUserId() {
- return clearUserId;
- }
-
- public void setClearUserId(String clearUserId) {
- this.clearUserId = clearUserId;
- }
-
- public ClearAlarmsCreate state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current state of the operation task
- * @return state
- **/
- @Schema(description = "Current state of the operation task")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public ClearAlarmsCreate alarmPattern(List alarmPattern) {
- this.alarmPattern = alarmPattern;
- return this;
- }
-
- public ClearAlarmsCreate addAlarmPatternItem(Alarm alarmPatternItem) {
- this.alarmPattern.add(alarmPatternItem);
- return this;
- }
-
- /**
- * Alarm patterns to match target alarms. An alarm will match if all of the sttributes in any of the patterns compare equal to those attributes of the alarm.
- * @return alarmPattern
- **/
- @Schema(description = "Alarm patterns to match target alarms. An alarm will match if all of the sttributes in any of the patterns compare equal to those attributes of the alarm.")
- @NotNull
- @Valid
- @Size(min=1) public List getAlarmPattern() {
- return alarmPattern;
- }
-
- public void setAlarmPattern(List alarmPattern) {
- this.alarmPattern = alarmPattern;
- }
-
- public ClearAlarmsCreate clearedAlarm(List clearedAlarm) {
- this.clearedAlarm = clearedAlarm;
- return this;
- }
-
- public ClearAlarmsCreate addClearedAlarmItem(AlarmRefOrValue clearedAlarmItem) {
- if (this.clearedAlarm == null) {
- this.clearedAlarm = new ArrayList<>();
- }
- this.clearedAlarm.add(clearedAlarmItem);
- return this;
- }
-
- /**
- * The successfully cleared alarms
- * @return clearedAlarm
- **/
- @Schema(description = "The successfully cleared alarms")
- @Valid
- public List getClearedAlarm() {
- return clearedAlarm;
- }
-
- public void setClearedAlarm(List clearedAlarm) {
- this.clearedAlarm = clearedAlarm;
- }
-
- public ClearAlarmsCreate baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * When sub-classing, this defines the super-class
- * @return baseType
- **/
- @Schema(description = "When sub-classing, this defines the super-class")
-
- public String getAtBaseType() {
- return baseType;
- }
-
- public void setAtBaseType(String baseType) {
- this.baseType = baseType;
- }
-
- public ClearAlarmsCreate schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A URI to a JSON-Schema file that defines additional attributes and relationships
- * @return schemaLocation
- **/
- @Schema(description = "A URI to a JSON-Schema file that defines additional attributes and relationships")
-
- public String getAtSchemaLocation() {
- return schemaLocation;
- }
-
- public void setAtSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public ClearAlarmsCreate type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * When sub-classing, this defines the sub-class entity name
- * @return type
- **/
- @Schema(description = "When sub-classing, this defines the sub-class entity name")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ClearAlarmsCreate clearAlarmsCreate = (ClearAlarmsCreate) o;
- return Objects.equals(this.alarmClearedTime, clearAlarmsCreate.alarmClearedTime) &&
- Objects.equals(this.clearSystemId, clearAlarmsCreate.clearSystemId) &&
- Objects.equals(this.clearUserId, clearAlarmsCreate.clearUserId) &&
- Objects.equals(this.state, clearAlarmsCreate.state) &&
- Objects.equals(this.alarmPattern, clearAlarmsCreate.alarmPattern) &&
- Objects.equals(this.clearedAlarm, clearAlarmsCreate.clearedAlarm) &&
- Objects.equals(this.baseType, clearAlarmsCreate.baseType) &&
- Objects.equals(this.schemaLocation, clearAlarmsCreate.schemaLocation) &&
- Objects.equals(this.type, clearAlarmsCreate.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(alarmClearedTime, clearSystemId, clearUserId, state, alarmPattern, clearedAlarm, baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ClearAlarmsCreate {\n");
-
- sb.append(" alarmClearedTime: ").append(toIndentedString(alarmClearedTime)).append("\n");
- sb.append(" clearSystemId: ").append(toIndentedString(clearSystemId)).append("\n");
- sb.append(" clearUserId: ").append(toIndentedString(clearUserId)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" alarmPattern: ").append(toIndentedString(alarmPattern)).append("\n");
- sb.append(" clearedAlarm: ").append(toIndentedString(clearedAlarm)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsCreateEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsCreateEvent.java
deleted file mode 100644
index bc9c551a91c9f6be0c7565f8086ef3be37d35dca..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsCreateEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class ClearAlarmsCreateEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private ClearAlarmsCreateEventPayload event = null;
-
- public ClearAlarmsCreateEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public ClearAlarmsCreateEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public ClearAlarmsCreateEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public ClearAlarmsCreateEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public ClearAlarmsCreateEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public ClearAlarmsCreateEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public ClearAlarmsCreateEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public ClearAlarmsCreateEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public ClearAlarmsCreateEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public ClearAlarmsCreateEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public ClearAlarmsCreateEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public ClearAlarmsCreateEvent event(ClearAlarmsCreateEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public ClearAlarmsCreateEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(ClearAlarmsCreateEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ClearAlarmsCreateEvent clearAlarmsCreateEvent = (ClearAlarmsCreateEvent) o;
- return Objects.equals(this.id, clearAlarmsCreateEvent.id) &&
- Objects.equals(this.href, clearAlarmsCreateEvent.href) &&
- Objects.equals(this.eventId, clearAlarmsCreateEvent.eventId) &&
- Objects.equals(this.eventTime, clearAlarmsCreateEvent.eventTime) &&
- Objects.equals(this.eventType, clearAlarmsCreateEvent.eventType) &&
- Objects.equals(this.correlationId, clearAlarmsCreateEvent.correlationId) &&
- Objects.equals(this.domain, clearAlarmsCreateEvent.domain) &&
- Objects.equals(this.title, clearAlarmsCreateEvent.title) &&
- Objects.equals(this.description, clearAlarmsCreateEvent.description) &&
- Objects.equals(this.priority, clearAlarmsCreateEvent.priority) &&
- Objects.equals(this.timeOcurred, clearAlarmsCreateEvent.timeOcurred) &&
- Objects.equals(this.event, clearAlarmsCreateEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ClearAlarmsCreateEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsCreateEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsCreateEventPayload.java
deleted file mode 100644
index 30c045ce0996f06822177ff9b378d249c19071df..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsCreateEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class ClearAlarmsCreateEventPayload {
- @JsonProperty("clearAlarms")
- private ClearAlarms clearAlarms = null;
-
- public ClearAlarmsCreateEventPayload clearAlarms(ClearAlarms clearAlarms) {
- this.clearAlarms = clearAlarms;
- return this;
- }
-
- /**
- * Get clearAlarms
- * @return clearAlarms
- **/
- @Schema(description = "")
-
- @Valid
- public ClearAlarms getClearAlarms() {
- return clearAlarms;
- }
-
- public void setClearAlarms(ClearAlarms clearAlarms) {
- this.clearAlarms = clearAlarms;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ClearAlarmsCreateEventPayload clearAlarmsCreateEventPayload = (ClearAlarmsCreateEventPayload) o;
- return Objects.equals(this.clearAlarms, clearAlarmsCreateEventPayload.clearAlarms);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(clearAlarms);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ClearAlarmsCreateEventPayload {\n");
-
- sb.append(" clearAlarms: ").append(toIndentedString(clearAlarms)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsStateChangeEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsStateChangeEvent.java
deleted file mode 100644
index 2ae572cd4378fd60bf43f52ae9e94927569dba64..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsStateChangeEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class ClearAlarmsStateChangeEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private ClearAlarmsStateChangeEventPayload event = null;
-
- public ClearAlarmsStateChangeEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public ClearAlarmsStateChangeEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public ClearAlarmsStateChangeEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public ClearAlarmsStateChangeEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public ClearAlarmsStateChangeEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public ClearAlarmsStateChangeEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public ClearAlarmsStateChangeEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public ClearAlarmsStateChangeEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public ClearAlarmsStateChangeEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public ClearAlarmsStateChangeEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public ClearAlarmsStateChangeEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public ClearAlarmsStateChangeEvent event(ClearAlarmsStateChangeEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public ClearAlarmsStateChangeEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(ClearAlarmsStateChangeEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ClearAlarmsStateChangeEvent clearAlarmsStateChangeEvent = (ClearAlarmsStateChangeEvent) o;
- return Objects.equals(this.id, clearAlarmsStateChangeEvent.id) &&
- Objects.equals(this.href, clearAlarmsStateChangeEvent.href) &&
- Objects.equals(this.eventId, clearAlarmsStateChangeEvent.eventId) &&
- Objects.equals(this.eventTime, clearAlarmsStateChangeEvent.eventTime) &&
- Objects.equals(this.eventType, clearAlarmsStateChangeEvent.eventType) &&
- Objects.equals(this.correlationId, clearAlarmsStateChangeEvent.correlationId) &&
- Objects.equals(this.domain, clearAlarmsStateChangeEvent.domain) &&
- Objects.equals(this.title, clearAlarmsStateChangeEvent.title) &&
- Objects.equals(this.description, clearAlarmsStateChangeEvent.description) &&
- Objects.equals(this.priority, clearAlarmsStateChangeEvent.priority) &&
- Objects.equals(this.timeOcurred, clearAlarmsStateChangeEvent.timeOcurred) &&
- Objects.equals(this.event, clearAlarmsStateChangeEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ClearAlarmsStateChangeEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsStateChangeEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsStateChangeEventPayload.java
deleted file mode 100644
index 49be5be16408ed7293789058bbea246ad032e03f..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/ClearAlarmsStateChangeEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class ClearAlarmsStateChangeEventPayload {
- @JsonProperty("clearAlarms")
- private ClearAlarms clearAlarms = null;
-
- public ClearAlarmsStateChangeEventPayload clearAlarms(ClearAlarms clearAlarms) {
- this.clearAlarms = clearAlarms;
- return this;
- }
-
- /**
- * Get clearAlarms
- * @return clearAlarms
- **/
- @Schema(description = "")
-
- @Valid
- public ClearAlarms getClearAlarms() {
- return clearAlarms;
- }
-
- public void setClearAlarms(ClearAlarms clearAlarms) {
- this.clearAlarms = clearAlarms;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ClearAlarmsStateChangeEventPayload clearAlarmsStateChangeEventPayload = (ClearAlarmsStateChangeEventPayload) o;
- return Objects.equals(this.clearAlarms, clearAlarmsStateChangeEventPayload.clearAlarms);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(clearAlarms);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ClearAlarmsStateChangeEventPayload {\n");
-
- sb.append(" clearAlarms: ").append(toIndentedString(clearAlarms)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/Comment.java b/src/main/java/org/etsi/osl/tmf/am642/model/Comment.java
deleted file mode 100644
index d8ad40ae3cf367b94ef6a306ce58c6fe3768d213..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/Comment.java
+++ /dev/null
@@ -1,202 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.Column;
-import jakarta.persistence.Entity;
-import jakarta.persistence.Lob;
-import jakarta.persistence.Table;
-import jakarta.validation.Valid;
-
-/**
- * Indicates the comments entered on the alarm.
- */
-@Schema(description = "Indicates the comments entered on the alarm.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMcomment")
-@Table(name = "AMcomment")
-public class Comment extends BaseRootEntity {
- @JsonProperty("comment")
- @Lob
- @Column(name = "LCOMMENT", columnDefinition = "LONGTEXT")
- private String comment = null;
-
- @JsonProperty("systemId")
- private String systemId = null;
-
- private OffsetDateTime time = null;
-
- @JsonProperty("userId")
- private String userId = null;
-
- public Comment comment(String comment) {
- this.comment = comment;
- return this;
- }
-
- /**
- * Indicates the text of the comment.
- *
- * @return comment
- **/
- @Schema(description = "Indicates the text of the comment.")
-
- public String getComment() {
- return comment;
- }
-
- public void setComment(String comment) {
- this.comment = comment;
- }
-
- public Comment systemId(String systemId) {
- this.systemId = systemId;
- return this;
- }
-
- /**
- * Indicates the system identifier on which the client set the comment.
- *
- * @return systemId
- **/
- @Schema(description = "Indicates the system identifier on which the client set the comment.")
-
- public String getSystemId() {
- return systemId;
- }
-
- public void setSystemId(String systemId) {
- this.systemId = systemId;
- }
-
- public Comment time(OffsetDateTime time) {
- this.time = time;
- return this;
- }
-
- /**
- * Indicates the time commenting the alarm
- *
- * @return time
- **/
- @Schema(description = "Indicates the time commenting the alarm")
-
- @Valid
- public OffsetDateTime getTime() {
- return time;
- }
-
- public void setTime(OffsetDateTime time) {
- this.time = time;
- }
-
- @JsonProperty("time")
- public String getTimeStr() {
- if (this.time != null) {
- return this.time.toString();
- } else {
- return null;
- }
- }
-
-
- public void setTime(String time) {
- if ( time != null) {
- this.time = OffsetDateTime.parse( time );
-
- }
- }
-
- public Comment userId(String userId) {
- this.userId = userId;
- return this;
- }
-
- /**
- * Indicates the user commenting the alarm.
- *
- * @return userId
- **/
- @Schema(description = "Indicates the user commenting the alarm.")
-
- public String getUserId() {
- return userId;
- }
-
- public void setUserId(String userId) {
- this.userId = userId;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- Comment comment = (Comment) o;
- return Objects.equals(this.comment, comment.comment) && Objects.equals(this.systemId, comment.systemId)
- && Objects.equals(this.time, comment.time) && Objects.equals(this.userId, comment.userId)
- && Objects.equals(this.baseType, comment.baseType)
- && Objects.equals(this.schemaLocation, comment.schemaLocation)
- && Objects.equals(this.type, comment.type);
- }
-
-// @Override
-// public int hashCode() {
-// return Objects.hash(comment, systemId, time, userId, baseType, schemaLocation, type);
-// }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class Comment {\n");
-
- sb.append(" comment: ").append(toIndentedString(comment)).append("\n");
- sb.append(" systemId: ").append(toIndentedString(systemId)).append("\n");
- sb.append(" time: ").append(toIndentedString(time)).append("\n");
- sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarms.java b/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarms.java
deleted file mode 100644
index a1be3aeef37299e5ec899e92aa1aa44a51577d82..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarms.java
+++ /dev/null
@@ -1,227 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.HashSet;
-import java.util.Objects;
-import java.util.Set;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.CascadeType;
-import jakarta.persistence.Entity;
-import jakarta.persistence.OneToMany;
-import jakarta.persistence.OneToOne;
-import jakarta.persistence.Table;
-import jakarta.validation.Valid;
-
-/**
- * Task resource for comment alarms operation
- */
-@Schema(description = "Task resource for comment alarms operation")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMCommentAlarms")
-@Table(name = "AMCommentAlarms")
-public class CommentAlarms extends BaseRootEntity {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("alarmPattern")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set alarmPattern = new HashSet<>();
-
- @JsonProperty("comment")
- @OneToOne(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Comment comment = null;
-
- @JsonProperty("commentedAlarm")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set commentedAlarm = new HashSet<>();
-
- /**
- * @return the id
- */
- public String getId() {
- if (uuid != null) {
- id = uuid;
- }
- return id;
- }
-
- public CommentAlarms state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current state of the operation task
- *
- * @return state
- **/
- @Schema(description = "Current state of the operation task")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public CommentAlarms alarmPattern(Set alarmPattern) {
- this.alarmPattern = alarmPattern;
- return this;
- }
-
- public CommentAlarms addAlarmPatternItem(Alarm alarmPatternItem) {
- if (this.alarmPattern == null) {
- this.alarmPattern = new HashSet<>();
- }
- this.alarmPattern.add(alarmPatternItem);
- return this;
- }
-
- /**
- * Alarm patterns to match target alarms. An alarm will match if all of the
- * sttributes in any of the patterns compare equal to those attributes of the
- * alarm.
- *
- * @return alarmPattern
- **/
- @Schema(description = "Alarm patterns to match target alarms. An alarm will match if all of the sttributes in any of the patterns compare equal to those attributes of the alarm.")
- @Valid
- public Set getAlarmPattern() {
- return alarmPattern;
- }
-
- public void setAlarmPattern(Set alarmPattern) {
- this.alarmPattern = alarmPattern;
- }
-
- public CommentAlarms comment(Comment comment) {
- this.comment = comment;
- return this;
- }
-
- /**
- * Get comment
- *
- * @return comment
- **/
- @Schema(description = "")
-
- @Valid
- public Comment getComment() {
- return comment;
- }
-
- public void setComment(Comment comment) {
- this.comment = comment;
- }
-
- public CommentAlarms commentedAlarm(Set commentedAlarm) {
- this.commentedAlarm = commentedAlarm;
- return this;
- }
-
- public CommentAlarms addCommentedAlarmItem(AlarmRefOrValue commentedAlarmItem) {
- if (this.commentedAlarm == null) {
- this.commentedAlarm = new HashSet<>();
- }
- this.commentedAlarm.add(commentedAlarmItem);
- return this;
- }
-
- /**
- * The successfully commented alarms
- *
- * @return commentedAlarm
- **/
- @Schema(description = "The successfully commented alarms")
- @Valid
- public Set getCommentedAlarm() {
- return commentedAlarm;
- }
-
- public void setCommentedAlarm(Set commentedAlarm) {
- this.commentedAlarm = commentedAlarm;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CommentAlarms commentAlarms = (CommentAlarms) o;
- return Objects.equals(this.id, commentAlarms.id) && Objects.equals(this.href, commentAlarms.href)
- && Objects.equals(this.state, commentAlarms.state)
- && Objects.equals(this.alarmPattern, commentAlarms.alarmPattern)
- && Objects.equals(this.comment, commentAlarms.comment)
- && Objects.equals(this.commentedAlarm, commentAlarms.commentedAlarm)
- && Objects.equals(this.baseType, commentAlarms.baseType)
- && Objects.equals(this.schemaLocation, commentAlarms.schemaLocation)
- && Objects.equals(this.type, commentAlarms.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, state, alarmPattern, comment, commentedAlarm, baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CommentAlarms {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" alarmPattern: ").append(toIndentedString(alarmPattern)).append("\n");
- sb.append(" comment: ").append(toIndentedString(comment)).append("\n");
- sb.append(" commentedAlarm: ").append(toIndentedString(commentedAlarm)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsCreate.java b/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsCreate.java
deleted file mode 100644
index f7ab485277d0d24655f715fa9bad50b848468335..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsCreate.java
+++ /dev/null
@@ -1,264 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-import jakarta.validation.constraints.NotNull;
-import jakarta.validation.constraints.Size;
-
-/**
- * Task resource for comment alarms operation Skipped properties: id,href
- */
-@Schema(description = "Task resource for comment alarms operation Skipped properties: id,href")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class CommentAlarmsCreate {
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("alarmPattern")
- @Valid
- private List alarmPattern = new ArrayList<>();
-
- @JsonProperty("comment")
- private Comment comment = null;
-
- @JsonProperty("commentedAlarm")
- @Valid
- private List commentedAlarm = null;
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public CommentAlarmsCreate state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current state of the operation task
- * @return state
- **/
- @Schema(description = "Current state of the operation task")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public CommentAlarmsCreate alarmPattern(List alarmPattern) {
- this.alarmPattern = alarmPattern;
- return this;
- }
-
- public CommentAlarmsCreate addAlarmPatternItem(Alarm alarmPatternItem) {
- this.alarmPattern.add(alarmPatternItem);
- return this;
- }
-
- /**
- * Alarm patterns to match target alarms. An alarm will match if all of the sttributes in any of the patterns compare equal to those attributes of the alarm.
- * @return alarmPattern
- **/
- @Schema(description = "Alarm patterns to match target alarms. An alarm will match if all of the sttributes in any of the patterns compare equal to those attributes of the alarm.")
- @NotNull
- @Valid
- @Size(min=1) public List getAlarmPattern() {
- return alarmPattern;
- }
-
- public void setAlarmPattern(List alarmPattern) {
- this.alarmPattern = alarmPattern;
- }
-
- public CommentAlarmsCreate comment(Comment comment) {
- this.comment = comment;
- return this;
- }
-
- /**
- * Get comment
- * @return comment
- **/
- @Schema(description = "")
- @NotNull
-
- @Valid
- public Comment getComment() {
- return comment;
- }
-
- public void setComment(Comment comment) {
- this.comment = comment;
- }
-
- public CommentAlarmsCreate commentedAlarm(List commentedAlarm) {
- this.commentedAlarm = commentedAlarm;
- return this;
- }
-
- public CommentAlarmsCreate addCommentedAlarmItem(AlarmRefOrValue commentedAlarmItem) {
- if (this.commentedAlarm == null) {
- this.commentedAlarm = new ArrayList<>();
- }
- this.commentedAlarm.add(commentedAlarmItem);
- return this;
- }
-
- /**
- * The successfully commented alarms
- * @return commentedAlarm
- **/
- @Schema(description = "The successfully commented alarms")
- @Valid
- public List getCommentedAlarm() {
- return commentedAlarm;
- }
-
- public void setCommentedAlarm(List commentedAlarm) {
- this.commentedAlarm = commentedAlarm;
- }
-
- public CommentAlarmsCreate baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * When sub-classing, this defines the super-class
- * @return baseType
- **/
- @Schema(description = "When sub-classing, this defines the super-class")
-
- public String getAtBaseType() {
- return baseType;
- }
-
- public void setAtBaseType(String baseType) {
- this.baseType = baseType;
- }
-
- public CommentAlarmsCreate schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A URI to a JSON-Schema file that defines additional attributes and relationships
- * @return schemaLocation
- **/
- @Schema(description = "A URI to a JSON-Schema file that defines additional attributes and relationships")
-
- public String getAtSchemaLocation() {
- return schemaLocation;
- }
-
- public void setAtSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public CommentAlarmsCreate type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * When sub-classing, this defines the sub-class entity name
- * @return type
- **/
- @Schema(description = "When sub-classing, this defines the sub-class entity name")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CommentAlarmsCreate commentAlarmsCreate = (CommentAlarmsCreate) o;
- return Objects.equals(this.state, commentAlarmsCreate.state) &&
- Objects.equals(this.alarmPattern, commentAlarmsCreate.alarmPattern) &&
- Objects.equals(this.comment, commentAlarmsCreate.comment) &&
- Objects.equals(this.commentedAlarm, commentAlarmsCreate.commentedAlarm) &&
- Objects.equals(this.baseType, commentAlarmsCreate.baseType) &&
- Objects.equals(this.schemaLocation, commentAlarmsCreate.schemaLocation) &&
- Objects.equals(this.type, commentAlarmsCreate.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(state, alarmPattern, comment, commentedAlarm, baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CommentAlarmsCreate {\n");
-
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" alarmPattern: ").append(toIndentedString(alarmPattern)).append("\n");
- sb.append(" comment: ").append(toIndentedString(comment)).append("\n");
- sb.append(" commentedAlarm: ").append(toIndentedString(commentedAlarm)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsCreateEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsCreateEvent.java
deleted file mode 100644
index 10878e603a0389bee6cfb3fb6a264dceaf45b23c..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsCreateEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class CommentAlarmsCreateEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private CommentAlarmsCreateEventPayload event = null;
-
- public CommentAlarmsCreateEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public CommentAlarmsCreateEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public CommentAlarmsCreateEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public CommentAlarmsCreateEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public CommentAlarmsCreateEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public CommentAlarmsCreateEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public CommentAlarmsCreateEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public CommentAlarmsCreateEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public CommentAlarmsCreateEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public CommentAlarmsCreateEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public CommentAlarmsCreateEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public CommentAlarmsCreateEvent event(CommentAlarmsCreateEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public CommentAlarmsCreateEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(CommentAlarmsCreateEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CommentAlarmsCreateEvent commentAlarmsCreateEvent = (CommentAlarmsCreateEvent) o;
- return Objects.equals(this.id, commentAlarmsCreateEvent.id) &&
- Objects.equals(this.href, commentAlarmsCreateEvent.href) &&
- Objects.equals(this.eventId, commentAlarmsCreateEvent.eventId) &&
- Objects.equals(this.eventTime, commentAlarmsCreateEvent.eventTime) &&
- Objects.equals(this.eventType, commentAlarmsCreateEvent.eventType) &&
- Objects.equals(this.correlationId, commentAlarmsCreateEvent.correlationId) &&
- Objects.equals(this.domain, commentAlarmsCreateEvent.domain) &&
- Objects.equals(this.title, commentAlarmsCreateEvent.title) &&
- Objects.equals(this.description, commentAlarmsCreateEvent.description) &&
- Objects.equals(this.priority, commentAlarmsCreateEvent.priority) &&
- Objects.equals(this.timeOcurred, commentAlarmsCreateEvent.timeOcurred) &&
- Objects.equals(this.event, commentAlarmsCreateEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CommentAlarmsCreateEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsCreateEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsCreateEventPayload.java
deleted file mode 100644
index 9f5d465b797143ae4cb0ba40114db41e4d716cd3..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsCreateEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class CommentAlarmsCreateEventPayload {
- @JsonProperty("commentAlarms")
- private CommentAlarms commentAlarms = null;
-
- public CommentAlarmsCreateEventPayload commentAlarms(CommentAlarms commentAlarms) {
- this.commentAlarms = commentAlarms;
- return this;
- }
-
- /**
- * Get commentAlarms
- * @return commentAlarms
- **/
- @Schema(description = "")
-
- @Valid
- public CommentAlarms getCommentAlarms() {
- return commentAlarms;
- }
-
- public void setCommentAlarms(CommentAlarms commentAlarms) {
- this.commentAlarms = commentAlarms;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CommentAlarmsCreateEventPayload commentAlarmsCreateEventPayload = (CommentAlarmsCreateEventPayload) o;
- return Objects.equals(this.commentAlarms, commentAlarmsCreateEventPayload.commentAlarms);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(commentAlarms);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CommentAlarmsCreateEventPayload {\n");
-
- sb.append(" commentAlarms: ").append(toIndentedString(commentAlarms)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsStateChangeEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsStateChangeEvent.java
deleted file mode 100644
index f668f83a0cb5371c752663a121168ab87cdb80cf..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsStateChangeEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class CommentAlarmsStateChangeEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private CommentAlarmsStateChangeEventPayload event = null;
-
- public CommentAlarmsStateChangeEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public CommentAlarmsStateChangeEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public CommentAlarmsStateChangeEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public CommentAlarmsStateChangeEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public CommentAlarmsStateChangeEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public CommentAlarmsStateChangeEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public CommentAlarmsStateChangeEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public CommentAlarmsStateChangeEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public CommentAlarmsStateChangeEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public CommentAlarmsStateChangeEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public CommentAlarmsStateChangeEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public CommentAlarmsStateChangeEvent event(CommentAlarmsStateChangeEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public CommentAlarmsStateChangeEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(CommentAlarmsStateChangeEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CommentAlarmsStateChangeEvent commentAlarmsStateChangeEvent = (CommentAlarmsStateChangeEvent) o;
- return Objects.equals(this.id, commentAlarmsStateChangeEvent.id) &&
- Objects.equals(this.href, commentAlarmsStateChangeEvent.href) &&
- Objects.equals(this.eventId, commentAlarmsStateChangeEvent.eventId) &&
- Objects.equals(this.eventTime, commentAlarmsStateChangeEvent.eventTime) &&
- Objects.equals(this.eventType, commentAlarmsStateChangeEvent.eventType) &&
- Objects.equals(this.correlationId, commentAlarmsStateChangeEvent.correlationId) &&
- Objects.equals(this.domain, commentAlarmsStateChangeEvent.domain) &&
- Objects.equals(this.title, commentAlarmsStateChangeEvent.title) &&
- Objects.equals(this.description, commentAlarmsStateChangeEvent.description) &&
- Objects.equals(this.priority, commentAlarmsStateChangeEvent.priority) &&
- Objects.equals(this.timeOcurred, commentAlarmsStateChangeEvent.timeOcurred) &&
- Objects.equals(this.event, commentAlarmsStateChangeEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CommentAlarmsStateChangeEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsStateChangeEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsStateChangeEventPayload.java
deleted file mode 100644
index 3e6005eb854d19bb3cfe84172c6ff0ae4c03bd6e..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/CommentAlarmsStateChangeEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class CommentAlarmsStateChangeEventPayload {
- @JsonProperty("commentAlarms")
- private CommentAlarms commentAlarms = null;
-
- public CommentAlarmsStateChangeEventPayload commentAlarms(CommentAlarms commentAlarms) {
- this.commentAlarms = commentAlarms;
- return this;
- }
-
- /**
- * Get commentAlarms
- * @return commentAlarms
- **/
- @Schema(description = "")
-
- @Valid
- public CommentAlarms getCommentAlarms() {
- return commentAlarms;
- }
-
- public void setCommentAlarms(CommentAlarms commentAlarms) {
- this.commentAlarms = commentAlarms;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CommentAlarmsStateChangeEventPayload commentAlarmsStateChangeEventPayload = (CommentAlarmsStateChangeEventPayload) o;
- return Objects.equals(this.commentAlarms, commentAlarmsStateChangeEventPayload.commentAlarms);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(commentAlarms);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CommentAlarmsStateChangeEventPayload {\n");
-
- sb.append(" commentAlarms: ").append(toIndentedString(commentAlarms)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/CrossedThresholdInformation.java b/src/main/java/org/etsi/osl/tmf/am642/model/CrossedThresholdInformation.java
deleted file mode 100644
index f1e51bf83a49f8f71e2c3ec902a603cdee12b97c..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/CrossedThresholdInformation.java
+++ /dev/null
@@ -1,280 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.CascadeType;
-import jakarta.persistence.Entity;
-import jakarta.persistence.OneToOne;
-import jakarta.persistence.Table;
-import jakarta.validation.Valid;
-
-/**
- * Identifies the details of the threshold that has been crossed.
- */
-@Schema(description = "Identifies the details of the threshold that has been crossed.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMCrossedThreshInfo")
-@Table(name = "AMCrossedThreshInfo")
-public class CrossedThresholdInformation extends BaseRootEntity {
- @JsonProperty("direction")
- private String direction = null;
-
- @JsonProperty("granularity")
- private String granularity = null;
-
- @JsonProperty("indicatorName")
- private String indicatorName = null;
-
- @JsonProperty("indicatorUnit")
- private String indicatorUnit = null;
-
- @JsonProperty("observedValue")
- private String observedValue = null;
-
- @JsonProperty("thresholdCrossingDescription")
- private String thresholdCrossingDescription = null;
-
- @JsonProperty("threshold")
- @OneToOne(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private ThresholdRef threshold = null;
-
- public CrossedThresholdInformation direction(String direction) {
- this.direction = direction;
- return this;
- }
-
- /**
- * Indicates the threshold crossing direction: up or down.
- *
- * @return direction
- **/
- @Schema(description = "Indicates the threshold crossing direction: up or down.")
-
- public String getDirection() {
- return direction;
- }
-
- public void setDirection(String direction) {
- this.direction = direction;
- }
-
- public CrossedThresholdInformation granularity(String granularity) {
- this.granularity = granularity;
- return this;
- }
-
- /**
- * Indicates the granularity at which the indicator is evaluated for threshold
- * crossing
- *
- * @return granularity
- **/
- @Schema(description = "Indicates the granularity at which the indicator is evaluated for threshold crossing")
-
- public String getGranularity() {
- return granularity;
- }
-
- public void setGranularity(String granularity) {
- this.granularity = granularity;
- }
-
- public CrossedThresholdInformation indicatorName(String indicatorName) {
- this.indicatorName = indicatorName;
- return this;
- }
-
- /**
- * Indicates the name of indicator which crossed the threshold.
- *
- * @return indicatorName
- **/
- @Schema(description = "Indicates the name of indicator which crossed the threshold.")
-
- public String getIndicatorName() {
- return indicatorName;
- }
-
- public void setIndicatorName(String indicatorName) {
- this.indicatorName = indicatorName;
- }
-
- public CrossedThresholdInformation indicatorUnit(String indicatorUnit) {
- this.indicatorUnit = indicatorUnit;
- return this;
- }
-
- /**
- * Indicates the unit of the measurement of the indicator corresponding to the
- * threshold that has been crossed.
- *
- * @return indicatorUnit
- **/
- @Schema(description = "Indicates the unit of the measurement of the indicator corresponding to the threshold that has been crossed.")
-
- public String getIndicatorUnit() {
- return indicatorUnit;
- }
-
- public void setIndicatorUnit(String indicatorUnit) {
- this.indicatorUnit = indicatorUnit;
- }
-
- public CrossedThresholdInformation observedValue(String observedValue) {
- this.observedValue = observedValue;
- return this;
- }
-
- /**
- * Indicates the value of the indicator which crossed the threshold.
- *
- * @return observedValue
- **/
- @Schema(description = "Indicates the value of the indicator which crossed the threshold.")
-
- public String getObservedValue() {
- return observedValue;
- }
-
- public void setObservedValue(String observedValue) {
- this.observedValue = observedValue;
- }
-
- public CrossedThresholdInformation thresholdCrossingDescription(String thresholdCrossingDescription) {
- this.thresholdCrossingDescription = thresholdCrossingDescription;
- return this;
- }
-
- /**
- * Indicates further information on the threshold crossing alarm.
- *
- * @return thresholdCrossingDescription
- **/
- @Schema(description = "Indicates further information on the threshold crossing alarm.")
-
- public String getThresholdCrossingDescription() {
- return thresholdCrossingDescription;
- }
-
- public void setThresholdCrossingDescription(String thresholdCrossingDescription) {
- this.thresholdCrossingDescription = thresholdCrossingDescription;
- }
-
- public CrossedThresholdInformation threshold(ThresholdRef threshold) {
- this.threshold = threshold;
- return this;
- }
-
- /**
- * Get threshold
- *
- * @return threshold
- **/
- @Schema(description = "")
-
- @Valid
- public ThresholdRef getThreshold() {
- return threshold;
- }
-
- public void setThreshold(ThresholdRef threshold) {
- this.threshold = threshold;
- }
-
- /**
- * When sub-classing, this defines the sub-class entity name
- *
- * @return type
- **/
- @Schema(description = "When sub-classing, this defines the sub-class entity name")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CrossedThresholdInformation crossedThresholdInformation = (CrossedThresholdInformation) o;
- return Objects.equals(this.direction, crossedThresholdInformation.direction)
- && Objects.equals(this.granularity, crossedThresholdInformation.granularity)
- && Objects.equals(this.indicatorName, crossedThresholdInformation.indicatorName)
- && Objects.equals(this.indicatorUnit, crossedThresholdInformation.indicatorUnit)
- && Objects.equals(this.observedValue, crossedThresholdInformation.observedValue)
- && Objects.equals(this.thresholdCrossingDescription,
- crossedThresholdInformation.thresholdCrossingDescription)
- && Objects.equals(this.threshold, crossedThresholdInformation.threshold)
- && Objects.equals(this.baseType, crossedThresholdInformation.baseType)
- && Objects.equals(this.schemaLocation, crossedThresholdInformation.schemaLocation)
- && Objects.equals(this.type, crossedThresholdInformation.type);
- }
-
-// @Override
-// public int hashCode() {
-// return Objects.hash(direction, granularity, indicatorName, indicatorUnit, observedValue, thresholdCrossingDescription, threshold, baseType, schemaLocation, type);
-// }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CrossedThresholdInformation {\n");
-
- sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
- sb.append(" granularity: ").append(toIndentedString(granularity)).append("\n");
- sb.append(" indicatorName: ").append(toIndentedString(indicatorName)).append("\n");
- sb.append(" indicatorUnit: ").append(toIndentedString(indicatorUnit)).append("\n");
- sb.append(" observedValue: ").append(toIndentedString(observedValue)).append("\n");
- sb.append(" thresholdCrossingDescription: ").append(toIndentedString(thresholdCrossingDescription))
- .append("\n");
- sb.append(" threshold: ").append(toIndentedString(threshold)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/EntityRef.java b/src/main/java/org/etsi/osl/tmf/am642/model/EntityRef.java
deleted file mode 100644
index 021709a0fb15cc0d3d569a7969415d23984573e6..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/EntityRef.java
+++ /dev/null
@@ -1,243 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.constraints.NotNull;
-
-/**
- * Entity reference schema to be use for all entityRef class.
- */
-@Schema(description = "Entity reference schema to be use for all entityRef class.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class EntityRef {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("name")
- private String name = null;
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- @JsonProperty("@referredType")
- private String _atReferredType = null;
-
- public EntityRef id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Unique identifier of a related entity.
- * @return id
- **/
- @Schema(description = "Unique identifier of a related entity.")
- @NotNull
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public EntityRef href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the related entity.
- * @return href
- **/
- @Schema(description = "Reference of the related entity.")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public EntityRef name(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * Name of the related entity.
- * @return name
- **/
- @Schema(description = "Name of the related entity.")
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public EntityRef baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * When sub-classing, this defines the super-class
- * @return baseType
- **/
- @Schema(description = "When sub-classing, this defines the super-class")
-
- public String getAtBaseType() {
- return baseType;
- }
-
- public void setAtBaseType(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(description = "A URI to a JSON-Schema file that defines additional attributes and relationships")
-
- public String getAtSchemaLocation() {
- return schemaLocation;
- }
-
- public void setAtSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public EntityRef type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * When sub-classing, this defines the sub-class entity name
- * @return type
- **/
- @Schema(description = "When sub-classing, this defines the sub-class entity name")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
- public EntityRef _atReferredType(String _atReferredType) {
- this._atReferredType = _atReferredType;
- return this;
- }
-
- /**
- * The actual type of the target instance when needed for disambiguation.
- * @return _atReferredType
- **/
- @Schema(description = "The actual type of the target instance when needed for disambiguation.")
-
- public String getAtReferredType() {
- return _atReferredType;
- }
-
- public void setAtReferredType(String _atReferredType) {
- this._atReferredType = _atReferredType;
- }
-
-
- @Override
- public boolean equals(java.lang.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.baseType, entityRef.baseType) &&
- Objects.equals(this.schemaLocation, entityRef.schemaLocation) &&
- Objects.equals(this.type, entityRef.type) &&
- Objects.equals(this._atReferredType, entityRef._atReferredType);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, name, baseType, schemaLocation, type, _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(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/Error.java b/src/main/java/org/etsi/osl/tmf/am642/model/Error.java
deleted file mode 100644
index 5489f488a8605ab0863cca941d5da13d35a1c107..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/Error.java
+++ /dev/null
@@ -1,268 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.constraints.NotNull;
-
-/**
- * Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
- */
-@Schema(description = "Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class Error {
- @JsonProperty("code")
- private String code = null;
-
- @JsonProperty("reason")
- private String reason = null;
-
- @JsonProperty("message")
- private String message = null;
-
- @JsonProperty("status")
- private String status = null;
-
- @JsonProperty("referenceError")
- private String referenceError = null;
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public Error code(String code) {
- this.code = code;
- return this;
- }
-
- /**
- * Application relevant detail, defined in the API or a common list.
- * @return code
- **/
- @Schema(description = "Application relevant detail, defined in the API or a common list.")
- @NotNull
-
- 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
- **/
- @Schema(description = "Explanation of the reason for the error which can be shown to a client user.")
- @NotNull
-
- 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(description = "More details and corrective actions related to the error which can be shown to a client user.")
-
- 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(description = "HTTP Error code extension")
-
- 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(description = "URI of documentation describing the error.")
-
- public String getReferenceError() {
- return referenceError;
- }
-
- public void setReferenceError(String referenceError) {
- this.referenceError = referenceError;
- }
-
- public Error baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * When sub-classing, this defines the super-class.
- * @return baseType
- **/
- @Schema(description = "When sub-classing, this defines the super-class.")
-
- public String getAtBaseType() {
- return baseType;
- }
-
- public void setAtBaseType(String baseType) {
- this.baseType = baseType;
- }
-
- public Error schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A URI to a JSON-Schema file that defines additional attributes and relationships
- * @return schemaLocation
- **/
- @Schema(description = "A URI to a JSON-Schema file that defines additional attributes and relationships")
-
- public String getAtSchemaLocation() {
- return schemaLocation;
- }
-
- public void setAtSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public Error type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * When sub-classing, this defines the sub-class entity name.
- * @return type
- **/
- @Schema(description = "When sub-classing, this defines the sub-class entity name.")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.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.baseType, error.baseType) &&
- Objects.equals(this.schemaLocation, error.schemaLocation) &&
- Objects.equals(this.type, error.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(code, reason, message, status, referenceError, baseType, schemaLocation, type);
- }
-
- @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(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/EventSubscription.java b/src/main/java/org/etsi/osl/tmf/am642/model/EventSubscription.java
deleted file mode 100644
index a0831c27812cf3d66c70fda312f16dc541dab40a..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/EventSubscription.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.constraints.NotNull;
-
-/**
- * Sets the communication endpoint address the service instance must use to deliver notification information
- */
-@Schema(description = "Sets the communication endpoint address the service instance must use to deliver notification information")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class EventSubscription {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("callback")
- private String callback = null;
-
- @JsonProperty("query")
- private String query = null;
-
- public EventSubscription id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Id of the listener
- * @return id
- **/
- @Schema(description = "Id of the listener")
- @NotNull
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public EventSubscription callback(String callback) {
- this.callback = callback;
- return this;
- }
-
- /**
- * The callback being registered.
- * @return callback
- **/
- @Schema(description = "The callback being registered.")
- @NotNull
-
- public String getCallback() {
- return callback;
- }
-
- public void setCallback(String callback) {
- this.callback = callback;
- }
-
- public EventSubscription query(String query) {
- this.query = query;
- return this;
- }
-
- /**
- * additional data to be passed
- * @return query
- **/
- @Schema(description = "additional data to be passed")
-
- public String getQuery() {
- return query;
- }
-
- public void setQuery(String query) {
- this.query = query;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- EventSubscription eventSubscription = (EventSubscription) o;
- return Objects.equals(this.id, eventSubscription.id) &&
- Objects.equals(this.callback, eventSubscription.callback) &&
- Objects.equals(this.query, eventSubscription.query);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, callback, query);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class EventSubscription {\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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/EventSubscriptionInput.java b/src/main/java/org/etsi/osl/tmf/am642/model/EventSubscriptionInput.java
deleted file mode 100644
index db7a12bad6e85e32a73fc5dc51bd4e9c28e84e03..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/EventSubscriptionInput.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.constraints.NotNull;
-
-/**
- * Sets the communication endpoint address the service instance must use to deliver notification information
- */
-@Schema(description = "Sets the communication endpoint address the service instance must use to deliver notification information")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class EventSubscriptionInput {
- @JsonProperty("callback")
- private String callback = null;
-
- @JsonProperty("query")
- private String query = null;
-
- public EventSubscriptionInput callback(String callback) {
- this.callback = callback;
- return this;
- }
-
- /**
- * The callback being registered.
- * @return callback
- **/
- @Schema(description = "The callback being registered.")
- @NotNull
-
- public String getCallback() {
- return callback;
- }
-
- public void setCallback(String callback) {
- this.callback = callback;
- }
-
- public EventSubscriptionInput query(String query) {
- this.query = query;
- return this;
- }
-
- /**
- * additional data to be passed
- * @return query
- **/
- @Schema(description = "additional data to be passed")
-
- public String getQuery() {
- return query;
- }
-
- public void setQuery(String query) {
- this.query = query;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- EventSubscriptionInput eventSubscriptionInput = (EventSubscriptionInput) o;
- return Objects.equals(this.callback, eventSubscriptionInput.callback) &&
- Objects.equals(this.query, eventSubscriptionInput.query);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(callback, query);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class EventSubscriptionInput {\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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarms.java b/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarms.java
deleted file mode 100644
index 6cafa82c101272e5c2ac568060707b2a561bf18a..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarms.java
+++ /dev/null
@@ -1,292 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.HashSet;
-import java.util.Objects;
-import java.util.Set;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.CascadeType;
-import jakarta.persistence.Entity;
-import jakarta.persistence.OneToMany;
-import jakarta.persistence.OneToOne;
-import jakarta.persistence.Table;
-import jakarta.validation.Valid;
-
-/**
- * Task resource for group alarms operation
- */
-@Schema(description = "Task resource for group alarms operation")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMGroupAlarms")
-@Table(name = "AMGroupAlarms")
-public class GroupAlarms extends BaseRootEntity {
- @JsonProperty("id")
- private String id = null;
-
-
- private OffsetDateTime alarmChangedTime = null;
-
- @JsonProperty("sourceSystemId")
- private String sourceSystemId = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("correlatedAlarm")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set correlatedAlarm = new HashSet<>();
-
- @JsonProperty("groupedAlarm")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set groupedAlarm = new HashSet<>();
-
- @JsonProperty("parentAlarm")
- @OneToOne(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private AlarmRefOrValue parentAlarm = null;
-
-
- /**
- * @return the id
- */
- public String getId() {
- if (uuid != null) {
- id = uuid;
- }
- return id;
- }
-
-
-
- public GroupAlarms alarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- return this;
- }
-
- /**
- * Time of the correlation
- *
- * @return alarmChangedTime
- **/
- @Schema(description = "Time of the correlation")
-
- @Valid
- public OffsetDateTime getAlarmChangedTime() {
- return alarmChangedTime;
- }
-
- public void setAlarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- }
-
- @JsonProperty("alarmChangedTime")
- public String getAlarmChangedTimeStr() {
- if (this.alarmChangedTime != null) {
- return this.alarmChangedTime.toString();
- } else {
- return null;
- }
- }
-
- public GroupAlarms sourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- return this;
- }
-
- /**
- * Source system identifier
- *
- * @return sourceSystemId
- **/
- @Schema(description = "Source system identifier")
-
- public String getSourceSystemId() {
- return sourceSystemId;
- }
-
- public void setSourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- }
-
- public GroupAlarms state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current state of the operation task
- *
- * @return state
- **/
- @Schema(description = "Current state of the operation task")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public GroupAlarms correlatedAlarm(Set correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- return this;
- }
-
- public GroupAlarms addCorrelatedAlarmItem(AlarmRefOrValue correlatedAlarmItem) {
- if (this.correlatedAlarm == null) {
- this.correlatedAlarm = new HashSet<>();
- }
- this.correlatedAlarm.add(correlatedAlarmItem);
- return this;
- }
-
- /**
- * Correlated alarms
- *
- * @return correlatedAlarm
- **/
- @Schema(description = "Correlated alarms")
- @Valid
- public Set getCorrelatedAlarm() {
- return correlatedAlarm;
- }
-
- public void setCorrelatedAlarm(Set correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- }
-
- public GroupAlarms groupedAlarm(Set groupedAlarm) {
- this.groupedAlarm = groupedAlarm;
- return this;
- }
-
- public GroupAlarms addGroupedAlarmItem(AlarmRefOrValue groupedAlarmItem) {
- if (this.groupedAlarm == null) {
- this.groupedAlarm = new HashSet<>();
- }
- this.groupedAlarm.add(groupedAlarmItem);
- return this;
- }
-
- /**
- * The successfully correlated alarms
- *
- * @return groupedAlarm
- **/
- @Schema(description = "The successfully correlated alarms")
- @Valid
- public Set getGroupedAlarm() {
- return groupedAlarm;
- }
-
- public void setGroupedAlarm(Set groupedAlarm) {
- this.groupedAlarm = groupedAlarm;
- }
-
- public GroupAlarms parentAlarm(AlarmRefOrValue parentAlarm) {
- this.parentAlarm = parentAlarm;
- return this;
- }
-
- /**
- * Get parentAlarm
- *
- * @return parentAlarm
- **/
- @Schema(description = "")
-
- @Valid
- public AlarmRefOrValue getParentAlarm() {
- return parentAlarm;
- }
-
- public void setParentAlarm(AlarmRefOrValue parentAlarm) {
- this.parentAlarm = parentAlarm;
- }
-
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- GroupAlarms groupAlarms = (GroupAlarms) o;
- return Objects.equals(this.id, groupAlarms.id) && Objects.equals(this.href, groupAlarms.href)
- && Objects.equals(this.alarmChangedTime, groupAlarms.alarmChangedTime)
- && Objects.equals(this.sourceSystemId, groupAlarms.sourceSystemId)
- && Objects.equals(this.state, groupAlarms.state)
- && Objects.equals(this.correlatedAlarm, groupAlarms.correlatedAlarm)
- && Objects.equals(this.groupedAlarm, groupAlarms.groupedAlarm)
- && Objects.equals(this.parentAlarm, groupAlarms.parentAlarm)
- && Objects.equals(this.baseType, groupAlarms.baseType)
- && Objects.equals(this.schemaLocation, groupAlarms.schemaLocation)
- && Objects.equals(this.type, groupAlarms.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, alarmChangedTime, sourceSystemId, state, correlatedAlarm, groupedAlarm,
- parentAlarm, baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class GroupAlarms {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" alarmChangedTime: ").append(toIndentedString(alarmChangedTime)).append("\n");
- sb.append(" sourceSystemId: ").append(toIndentedString(sourceSystemId)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" correlatedAlarm: ").append(toIndentedString(correlatedAlarm)).append("\n");
- sb.append(" groupedAlarm: ").append(toIndentedString(groupedAlarm)).append("\n");
- sb.append(" parentAlarm: ").append(toIndentedString(parentAlarm)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsCreate.java b/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsCreate.java
deleted file mode 100644
index 2bf1a62485152b6bfd0f66d4fb8c928aafff72f1..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsCreate.java
+++ /dev/null
@@ -1,316 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-import jakarta.validation.constraints.NotNull;
-import jakarta.validation.constraints.Size;
-
-/**
- * Task resource for group alarms operation Skipped properties: id,href
- */
-@Schema(description = "Task resource for group alarms operation Skipped properties: id,href")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class GroupAlarmsCreate {
- @JsonProperty("alarmChangedTime")
- private OffsetDateTime alarmChangedTime = null;
-
- @JsonProperty("sourceSystemId")
- private String sourceSystemId = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("correlatedAlarm")
- @Valid
- private List correlatedAlarm = new ArrayList<>();
-
- @JsonProperty("groupedAlarm")
- @Valid
- private List groupedAlarm = null;
-
- @JsonProperty("parentAlarm")
- private AlarmRefOrValue parentAlarm = null;
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public GroupAlarmsCreate alarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- return this;
- }
-
- /**
- * Time of the correlation
- * @return alarmChangedTime
- **/
- @Schema(description = "Time of the correlation")
- @NotNull
-
- @Valid
- public OffsetDateTime getAlarmChangedTime() {
- return alarmChangedTime;
- }
-
- public void setAlarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- }
-
- public GroupAlarmsCreate sourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- return this;
- }
-
- /**
- * Source system identifier
- * @return sourceSystemId
- **/
- @Schema(description = "Source system identifier")
- @NotNull
-
- public String getSourceSystemId() {
- return sourceSystemId;
- }
-
- public void setSourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- }
-
- public GroupAlarmsCreate state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current state of the operation task
- * @return state
- **/
- @Schema(description = "Current state of the operation task")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public GroupAlarmsCreate correlatedAlarm(List correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- return this;
- }
-
- public GroupAlarmsCreate addCorrelatedAlarmItem(AlarmRefOrValue correlatedAlarmItem) {
- this.correlatedAlarm.add(correlatedAlarmItem);
- return this;
- }
-
- /**
- * Correlated alarms
- * @return correlatedAlarm
- **/
- @Schema(description = "Correlated alarms")
- @NotNull
- @Valid
- @Size(min=1) public List getCorrelatedAlarm() {
- return correlatedAlarm;
- }
-
- public void setCorrelatedAlarm(List correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- }
-
- public GroupAlarmsCreate groupedAlarm(List groupedAlarm) {
- this.groupedAlarm = groupedAlarm;
- return this;
- }
-
- public GroupAlarmsCreate addGroupedAlarmItem(AlarmRefOrValue groupedAlarmItem) {
- if (this.groupedAlarm == null) {
- this.groupedAlarm = new ArrayList<>();
- }
- this.groupedAlarm.add(groupedAlarmItem);
- return this;
- }
-
- /**
- * The successfully correlated alarms
- * @return groupedAlarm
- **/
- @Schema(description = "The successfully correlated alarms")
- @Valid
- public List getGroupedAlarm() {
- return groupedAlarm;
- }
-
- public void setGroupedAlarm(List groupedAlarm) {
- this.groupedAlarm = groupedAlarm;
- }
-
- public GroupAlarmsCreate parentAlarm(AlarmRefOrValue parentAlarm) {
- this.parentAlarm = parentAlarm;
- return this;
- }
-
- /**
- * Get parentAlarm
- * @return parentAlarm
- **/
- @Schema(description = "")
- @NotNull
-
- @Valid
- public AlarmRefOrValue getParentAlarm() {
- return parentAlarm;
- }
-
- public void setParentAlarm(AlarmRefOrValue parentAlarm) {
- this.parentAlarm = parentAlarm;
- }
-
- public GroupAlarmsCreate baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * When sub-classing, this defines the super-class
- * @return baseType
- **/
- @Schema(description = "When sub-classing, this defines the super-class")
-
- public String getAtBaseType() {
- return baseType;
- }
-
- public void setAtBaseType(String baseType) {
- this.baseType = baseType;
- }
-
- public GroupAlarmsCreate schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A URI to a JSON-Schema file that defines additional attributes and relationships
- * @return schemaLocation
- **/
- @Schema(description = "A URI to a JSON-Schema file that defines additional attributes and relationships")
-
- public String getAtSchemaLocation() {
- return schemaLocation;
- }
-
- public void setAtSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public GroupAlarmsCreate type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * When sub-classing, this defines the sub-class entity name
- * @return type
- **/
- @Schema(description = "When sub-classing, this defines the sub-class entity name")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- GroupAlarmsCreate groupAlarmsCreate = (GroupAlarmsCreate) o;
- return Objects.equals(this.alarmChangedTime, groupAlarmsCreate.alarmChangedTime) &&
- Objects.equals(this.sourceSystemId, groupAlarmsCreate.sourceSystemId) &&
- Objects.equals(this.state, groupAlarmsCreate.state) &&
- Objects.equals(this.correlatedAlarm, groupAlarmsCreate.correlatedAlarm) &&
- Objects.equals(this.groupedAlarm, groupAlarmsCreate.groupedAlarm) &&
- Objects.equals(this.parentAlarm, groupAlarmsCreate.parentAlarm) &&
- Objects.equals(this.baseType, groupAlarmsCreate.baseType) &&
- Objects.equals(this.schemaLocation, groupAlarmsCreate.schemaLocation) &&
- Objects.equals(this.type, groupAlarmsCreate.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(alarmChangedTime, sourceSystemId, state, correlatedAlarm, groupedAlarm, parentAlarm, baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class GroupAlarmsCreate {\n");
-
- sb.append(" alarmChangedTime: ").append(toIndentedString(alarmChangedTime)).append("\n");
- sb.append(" sourceSystemId: ").append(toIndentedString(sourceSystemId)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" correlatedAlarm: ").append(toIndentedString(correlatedAlarm)).append("\n");
- sb.append(" groupedAlarm: ").append(toIndentedString(groupedAlarm)).append("\n");
- sb.append(" parentAlarm: ").append(toIndentedString(parentAlarm)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsCreateEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsCreateEvent.java
deleted file mode 100644
index 254c1d23c813bf64ecaa63c268c90be8826a1050..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsCreateEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class GroupAlarmsCreateEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private GroupAlarmsCreateEventPayload event = null;
-
- public GroupAlarmsCreateEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public GroupAlarmsCreateEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public GroupAlarmsCreateEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public GroupAlarmsCreateEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public GroupAlarmsCreateEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public GroupAlarmsCreateEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public GroupAlarmsCreateEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public GroupAlarmsCreateEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public GroupAlarmsCreateEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public GroupAlarmsCreateEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public GroupAlarmsCreateEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public GroupAlarmsCreateEvent event(GroupAlarmsCreateEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public GroupAlarmsCreateEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(GroupAlarmsCreateEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- GroupAlarmsCreateEvent groupAlarmsCreateEvent = (GroupAlarmsCreateEvent) o;
- return Objects.equals(this.id, groupAlarmsCreateEvent.id) &&
- Objects.equals(this.href, groupAlarmsCreateEvent.href) &&
- Objects.equals(this.eventId, groupAlarmsCreateEvent.eventId) &&
- Objects.equals(this.eventTime, groupAlarmsCreateEvent.eventTime) &&
- Objects.equals(this.eventType, groupAlarmsCreateEvent.eventType) &&
- Objects.equals(this.correlationId, groupAlarmsCreateEvent.correlationId) &&
- Objects.equals(this.domain, groupAlarmsCreateEvent.domain) &&
- Objects.equals(this.title, groupAlarmsCreateEvent.title) &&
- Objects.equals(this.description, groupAlarmsCreateEvent.description) &&
- Objects.equals(this.priority, groupAlarmsCreateEvent.priority) &&
- Objects.equals(this.timeOcurred, groupAlarmsCreateEvent.timeOcurred) &&
- Objects.equals(this.event, groupAlarmsCreateEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class GroupAlarmsCreateEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsCreateEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsCreateEventPayload.java
deleted file mode 100644
index d8675982c271a140013747684aa3f3377c430ef2..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsCreateEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class GroupAlarmsCreateEventPayload {
- @JsonProperty("groupAlarms")
- private GroupAlarms groupAlarms = null;
-
- public GroupAlarmsCreateEventPayload groupAlarms(GroupAlarms groupAlarms) {
- this.groupAlarms = groupAlarms;
- return this;
- }
-
- /**
- * Get groupAlarms
- * @return groupAlarms
- **/
- @Schema(description = "")
-
- @Valid
- public GroupAlarms getGroupAlarms() {
- return groupAlarms;
- }
-
- public void setGroupAlarms(GroupAlarms groupAlarms) {
- this.groupAlarms = groupAlarms;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- GroupAlarmsCreateEventPayload groupAlarmsCreateEventPayload = (GroupAlarmsCreateEventPayload) o;
- return Objects.equals(this.groupAlarms, groupAlarmsCreateEventPayload.groupAlarms);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(groupAlarms);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class GroupAlarmsCreateEventPayload {\n");
-
- sb.append(" groupAlarms: ").append(toIndentedString(groupAlarms)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsStateChangeEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsStateChangeEvent.java
deleted file mode 100644
index bb94460559faaef3ff7aba27f2a586ed4f41ab52..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsStateChangeEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class GroupAlarmsStateChangeEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private GroupAlarmsStateChangeEventPayload event = null;
-
- public GroupAlarmsStateChangeEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public GroupAlarmsStateChangeEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public GroupAlarmsStateChangeEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public GroupAlarmsStateChangeEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public GroupAlarmsStateChangeEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public GroupAlarmsStateChangeEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public GroupAlarmsStateChangeEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public GroupAlarmsStateChangeEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public GroupAlarmsStateChangeEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public GroupAlarmsStateChangeEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public GroupAlarmsStateChangeEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public GroupAlarmsStateChangeEvent event(GroupAlarmsStateChangeEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public GroupAlarmsStateChangeEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(GroupAlarmsStateChangeEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- GroupAlarmsStateChangeEvent groupAlarmsStateChangeEvent = (GroupAlarmsStateChangeEvent) o;
- return Objects.equals(this.id, groupAlarmsStateChangeEvent.id) &&
- Objects.equals(this.href, groupAlarmsStateChangeEvent.href) &&
- Objects.equals(this.eventId, groupAlarmsStateChangeEvent.eventId) &&
- Objects.equals(this.eventTime, groupAlarmsStateChangeEvent.eventTime) &&
- Objects.equals(this.eventType, groupAlarmsStateChangeEvent.eventType) &&
- Objects.equals(this.correlationId, groupAlarmsStateChangeEvent.correlationId) &&
- Objects.equals(this.domain, groupAlarmsStateChangeEvent.domain) &&
- Objects.equals(this.title, groupAlarmsStateChangeEvent.title) &&
- Objects.equals(this.description, groupAlarmsStateChangeEvent.description) &&
- Objects.equals(this.priority, groupAlarmsStateChangeEvent.priority) &&
- Objects.equals(this.timeOcurred, groupAlarmsStateChangeEvent.timeOcurred) &&
- Objects.equals(this.event, groupAlarmsStateChangeEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class GroupAlarmsStateChangeEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsStateChangeEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsStateChangeEventPayload.java
deleted file mode 100644
index a53e42eebca19e9ee235335f79b955856c2e7566..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/GroupAlarmsStateChangeEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class GroupAlarmsStateChangeEventPayload {
- @JsonProperty("groupAlarms")
- private GroupAlarms groupAlarms = null;
-
- public GroupAlarmsStateChangeEventPayload groupAlarms(GroupAlarms groupAlarms) {
- this.groupAlarms = groupAlarms;
- return this;
- }
-
- /**
- * Get groupAlarms
- * @return groupAlarms
- **/
- @Schema(description = "")
-
- @Valid
- public GroupAlarms getGroupAlarms() {
- return groupAlarms;
- }
-
- public void setGroupAlarms(GroupAlarms groupAlarms) {
- this.groupAlarms = groupAlarms;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- GroupAlarmsStateChangeEventPayload groupAlarmsStateChangeEventPayload = (GroupAlarmsStateChangeEventPayload) o;
- return Objects.equals(this.groupAlarms, groupAlarmsStateChangeEventPayload.groupAlarms);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(groupAlarms);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class GroupAlarmsStateChangeEventPayload {\n");
-
- sb.append(" groupAlarms: ").append(toIndentedString(groupAlarms)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/PerceivedSeverityType.java b/src/main/java/org/etsi/osl/tmf/am642/model/PerceivedSeverityType.java
deleted file mode 100644
index f3d1dcbc5f1521b83ae126c5f91e3bebcd3d2699..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/PerceivedSeverityType.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-public enum PerceivedSeverityType {
-
- critical,
- major,
- minor,
- warning,
- indeterminate,
- cleared;
-
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/Place.java b/src/main/java/org/etsi/osl/tmf/am642/model/Place.java
deleted file mode 100644
index 70688c1d6448a3d17e22462f380cf468ac4c767e..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/Place.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-
-/**
- * Place reference. Place defines the places where the products are sold or delivered.
- */
-@Schema(description = "Place reference. Place defines the places where the products are sold or delivered.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class Place {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("name")
- private String name = null;
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public Place id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Unique identifier of the place
- * @return id
- **/
- @Schema(description = "Unique identifier of the place")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public Place href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Unique reference of the place
- * @return href
- **/
- @Schema(description = "Unique reference of the place")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public Place name(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * A user-friendly name for the place, such as [Paris Store], [London Store], [Main Home]
- * @return name
- **/
- @Schema(description = "A user-friendly name for the place, such as [Paris Store], [London Store], [Main Home]")
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public Place baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * When sub-classing, this defines the super-class
- * @return baseType
- **/
- @Schema(description = "When sub-classing, this defines the super-class")
-
- public String getAtBaseType() {
- return baseType;
- }
-
- public void setAtBaseType(String baseType) {
- this.baseType = baseType;
- }
-
- public Place schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A URI to a JSON-Schema file that defines additional attributes and relationships
- * @return schemaLocation
- **/
- @Schema(description = "A URI to a JSON-Schema file that defines additional attributes and relationships")
-
- public String getAtSchemaLocation() {
- return schemaLocation;
- }
-
- public void setAtSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public Place type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * When sub-classing, this defines the sub-class entity name
- * @return type
- **/
- @Schema(description = "When sub-classing, this defines the sub-class entity name")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- Place place = (Place) o;
- return Objects.equals(this.id, place.id) &&
- Objects.equals(this.href, place.href) &&
- Objects.equals(this.name, place.name) &&
- Objects.equals(this.baseType, place.baseType) &&
- Objects.equals(this.schemaLocation, place.schemaLocation) &&
- Objects.equals(this.type, place.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, name, baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class Place {\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(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/ProbableCauseType.java b/src/main/java/org/etsi/osl/tmf/am642/model/ProbableCauseType.java
deleted file mode 100644
index 8cdf8b073acf343b6d676dbc535686373e15f8b9..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/ProbableCauseType.java
+++ /dev/null
@@ -1,226 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-public enum ProbableCauseType {
- abisBtsInterfaceFailure,
- abisTrxInterfaceFailure,
- adapterError,
- airCompressorFailure,
- airConditioningFailure,
- airDryerFailure,
- ais,
- antennaFailure,
- applicationSubsystemFailure,
- authenticationFailure,
- backplaneFailure,
- bandwidthReduced,
- batteryBreakdown,
- batteryChargingFailure,
- batteryDischarging,
- batteryFailure,
- breachOfConfidentiality,
- broadcastChannelFailure,
- cableTamper,
- callEstablishmentError,
- callSetUpFailure,
- clockSynchronizationProblem,
- combinerProblem,
- commercialPowerFailure,
- communicationsProtocolError,
- communicationsSubsystemFailure,
- configurationOrCustomizationError,
- congestion,
- connectionEstablishmentError,
- coolingFanFailure,
- coolingSystemFailure,
- corruptData,
- cpuCyclesLimitExceeded,
- dataSetOrModemError,
- databaseInconsistency,
- degradedSignal,
- delayedInformation,
- demodulationFailure,
- denialOfService,
- diskFailure,
- duplicateInformation,
- enclosureDoorOpen,
- engineFailure,
- equipmentFailure,
- equipmentIdentifierDuplication,
- excessiveBitErrorRate,
- excessiveReceiverTemperature,
- excessiveResponseTime,
- excessiveRetransmissionRate,
- excessiveTransmitterOutputPower,
- excessiveTransmitterTemperature,
- excessiveVibration,
- explosiveGas,
- externalEquipmentFailure,
- externalIfDeviceProblem,
- externalPointFailure,
- externalPowerSupplyFailure,
- externalTransmissionDeviceFailure,
- farEndReceiverFailure,
- fileError,
- fileSystemCallUnsuccessful,
- fire,
- fireDetectorFailure,
- flood,
- framingError,
- frequencyHoppingDegraded,
- frequencyHoppingFailure,
- frequencyRedefinitionFailed,
- fuseFailure,
- generatorFailure,
- heatingVentCoolingSystemProblem,
- highHumidity,
- highTemperature,
- highWind,
- humidityUnacceptable,
- iceBuildUp,
- informationMissing,
- informationModificationDetected,
- informationOutOfSequence,
- inputDeviceError,
- inputOutputDeviceError,
- inputParameterOutOfRange,
- intrusionDetection,
- invalidMessageReceived,
- invalidParameter,
- invalidPointer,
- ioDeviceError,
- keyExpired,
- lanError,
- lapdLinkProtocolFailure,
- leakDetected,
- lineCardProblem,
- lineInterfaceFailure,
- linkFailure,
- localAlarmIndication,
- localNodeTransmissionError,
- lossOfFrame,
- lossOfMultiFrame,
- lossOfPointer,
- lossOfRealTime,
- lossOfRedundancy,
- lossOfSignal,
- lossOfSynchronisation,
- lowBatteryThreshold,
- lowCablePressure,
- lowFuel,
- lowHumidity,
- lowTemperatue,
- lowWater,
- mainsBreakdownWithBatteryBackUp,
- mainsBreakdownWithoutBatteryBackUp,
- materialSupplyExhausted,
- memoryMismatch,
- messageNotExpected,
- messageNotInitialized,
- messageOutOfSequence,
- modulationFailure,
- multiplexerProblem,
- neIdentifierDuplication,
- nonRepudiationFailure,
- other,
- ouputDeviceError,
- outOfCpuCycles,
- outOfHoursActivity,
- outOfMemory,
- outOfService,
- pathTraceMismatch,
- payloadTypeMismatch,
- performanceDegraded,
- powerProblems,
- powerSupplyFailure,
- pressureUnacceptable,
- proceduralError,
- processorProblem,
- protectingResourceFailure,
- protectionMechanismFailure,
- protectionPathFailure,
- pumpFailure,
- queueSizeExceeded,
- realTimeClockFailure,
- receiveFailure,
- receiverAntennaFault,
- receiverFailure,
- receiverMulticouplerFailure,
- rectifierFailure,
- rectifierHighVoltage,
- rectifierLowVoltage,
- reducedAlarmReporting,
- reducedEventReporting,
- reducedLoggingCapability,
- reducedTransmitterOutputPower,
- reinitialized,
- remoteAlarmIndication,
- remoteAlarmInterface,
- remoteNodeTransmissionError,
- replaceableUnitMissing,
- replaceableUnitProblem,
- replaceableUnitTypeMismatch,
- resourceAtOrNearingCapacity,
- responseTimeExecessive,
- retransmissionRateExcessive,
- routingFailure,
- signalLabelMismatch,
- signalQualityEvaluationFailure,
- smoke,
- softwareDownloadFailure,
- softwareEnvironmentProblem,
- softwareError,
- softwareProgramAbnormallyTerminated,
- softwareProgramError,
- ss7ProtocolFailure,
- storageCapacityProblem,
- synchronizationSourceMismatch,
- systemCallUnsuccessful,
- systemResourcesOverload,
- temperatureUnacceptable,
- terminalProblem,
- thresholdCrossed,
- timeoutExpired,
- timeslotHardwareFailure,
- timingProblem,
- toxicGas,
- toxicLeakDetected,
- transceiverFailure,
- transcoderOrRateAdapterProblem,
- transcoderProblem,
- transmissionError,
- transmitFailure,
- transmiterFailure,
- transmitterAntennaFailure,
- transmitterAntennaNotAdjusted,
- transmitterFailure,
- transmitterLowVoltageOrCurrent,
- transmitterOffFrequency,
- trunkCardProblem,
- unauthorizedAccessAttempt,
- unavailable,
- underlyingResourceUnavailable,
- unexpectedInformation,
- variableOutOfRange,
- ventilationsSystemFailure,
- versionMismatch,
- watchdogTimerExpired
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/RelatedPlaceRefOrValue.java b/src/main/java/org/etsi/osl/tmf/am642/model/RelatedPlaceRefOrValue.java
deleted file mode 100644
index 5ff3ac4d9dd4cad3dfcf96a3dda05919f540d3c3..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/RelatedPlaceRefOrValue.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootNamedEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.Entity;
-import jakarta.persistence.Table;
-import jakarta.validation.constraints.NotNull;
-
-/**
- * Related Entity reference. A related place defines a place described by
- * reference or by value linked to a specific entity. The polymorphic
- * attributes @type, @schemaLocation & @referredType are related to the
- * place entity and not the RelatedPlaceRefOrValue class itself
- */
-@Schema(description = "Related Entity reference. A related place defines a place described by reference or by value linked to a specific entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the place entity and not the RelatedPlaceRefOrValue class itself")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMRelPlaceRefOrVal")
-@Table(name = "AMRelPlaceRefOrVal")
-public class RelatedPlaceRefOrValue extends BaseRootNamedEntity {
- @JsonProperty("id")
- private String id = null;
-
-
- @JsonProperty("role")
- private String role = null;
-
-
- @JsonProperty("@referredType")
- private String _atReferredType = null;
-
- /**
- * @return the id
- */
- public String getId() {
- if (uuid != null) {
- id = uuid;
- }
- return id;
- }
-
- public RelatedPlaceRefOrValue href(String href) {
- this.href = href;
- return this;
- }
-
-
-
- public RelatedPlaceRefOrValue role(String role) {
- this.role = role;
- return this;
- }
-
- /**
- * Get role
- *
- * @return role
- **/
- @Schema(description = "")
- @NotNull
-
- public String getRole() {
- return role;
- }
-
- public void setRole(String role) {
- this.role = role;
- }
-
-
-
- public RelatedPlaceRefOrValue _atReferredType(String _atReferredType) {
- this._atReferredType = _atReferredType;
- return this;
- }
-
- /**
- * The actual type of the target instance when needed for disambiguation.
- *
- * @return _atReferredType
- **/
- @Schema(description = "The actual type of the target instance when needed for disambiguation.")
-
- public String getAtReferredType() {
- return _atReferredType;
- }
-
- public void setAtReferredType(String _atReferredType) {
- this._atReferredType = _atReferredType;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- RelatedPlaceRefOrValue relatedPlaceRefOrValue = (RelatedPlaceRefOrValue) o;
- return Objects.equals(this.id, relatedPlaceRefOrValue.id)
- && Objects.equals(this.href, relatedPlaceRefOrValue.href)
- && Objects.equals(this.name, relatedPlaceRefOrValue.name)
- && Objects.equals(this.role, relatedPlaceRefOrValue.role)
- && Objects.equals(this.baseType, relatedPlaceRefOrValue.baseType)
- && Objects.equals(this.schemaLocation, relatedPlaceRefOrValue.schemaLocation)
- && Objects.equals(this.type, relatedPlaceRefOrValue.type)
- && Objects.equals(this._atReferredType, relatedPlaceRefOrValue._atReferredType);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, name, role, baseType, schemaLocation, type, _atReferredType);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class RelatedPlaceRefOrValue {\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(" role: ").append(toIndentedString(role)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/ThresholdRef.java b/src/main/java/org/etsi/osl/tmf/am642/model/ThresholdRef.java
deleted file mode 100644
index 49cd7050ab13d61200a8acfdb4f48285f6ae26a1..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/ThresholdRef.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootNamedEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.Entity;
-import jakarta.persistence.Table;
-
-/**
- * ThresholdRef
- */
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMThresholdRef")
-@Table(name = "AMThresholdRef")
-public class ThresholdRef extends BaseRootNamedEntity {
- @JsonProperty("id")
- private String id = null;
-
-
- @JsonProperty("@referredType")
- private String _atReferredType = null;
-
- /**
- * @return the id
- */
- public String getId() {
- if (uuid != null) {
- id = uuid;
- }
- return id;
- }
-
-
-
- public ThresholdRef _atReferredType(String _atReferredType) {
- this._atReferredType = _atReferredType;
- return this;
- }
-
- /**
- * The actual type of the target instance when needed for disambiguation.
- *
- * @return _atReferredType
- **/
- @Schema(description = "The actual type of the target instance when needed for disambiguation.")
-
- public String getAtReferredType() {
- return _atReferredType;
- }
-
- public void setAtReferredType(String _atReferredType) {
- this._atReferredType = _atReferredType;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ThresholdRef thresholdRef = (ThresholdRef) o;
- return Objects.equals(this.id, thresholdRef.id) && Objects.equals(this.href, thresholdRef.href)
- && Objects.equals(this.name, thresholdRef.name)
- && Objects.equals(this.baseType, thresholdRef.baseType)
- && Objects.equals(this.schemaLocation, thresholdRef.schemaLocation)
- && Objects.equals(this.type, thresholdRef.type)
- && Objects.equals(this._atReferredType, thresholdRef._atReferredType);
- }
-
-// @Override
-// public int hashCode() {
-// return Objects.hash(id, href, name, baseType, schemaLocation, type, _atReferredType);
-// }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ThresholdRef {\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(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarms.java b/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarms.java
deleted file mode 100644
index e5c452dcd099f3d442aea7e39da51f2872f1ad59..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarms.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.HashSet;
-import java.util.Objects;
-import java.util.Set;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.CascadeType;
-import jakarta.persistence.Entity;
-import jakarta.persistence.OneToMany;
-import jakarta.persistence.Table;
-import jakarta.validation.Valid;
-
-/**
- * Task resource for unacknowledge alarms operation
- */
-@Schema(description = "Task resource for unacknowledge alarms operation")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMUnAckAlarms")
-@Table(name = "AMUnAckAlarms")
-public class UnAckAlarms extends BaseRootEntity {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("ackSystemId")
- private String ackSystemId = null;
-
- private OffsetDateTime ackTime = null;
-
- @JsonProperty("ackUserId")
- private String ackUserId = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("alarmPattern")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set alarmPattern = new HashSet<>();
-
- @JsonProperty("unAckedAlarm")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set unAckedAlarm = new HashSet<>();
-
- /**
- * @return the id
- */
- public String getId() {
- if (uuid != null) {
- id = uuid;
- }
- return id;
- }
-
- public UnAckAlarms href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * A reference to the task
- *
- * @return href
- **/
- @Schema(description = "A reference to the task")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public UnAckAlarms ackSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- return this;
- }
-
- /**
- * Name of the unacknowledging system
- *
- * @return ackSystemId
- **/
- @Schema(description = "Name of the unacknowledging system")
-
- public String getAckSystemId() {
- return ackSystemId;
- }
-
- public void setAckSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- }
-
- public UnAckAlarms ackTime(OffsetDateTime ackTime) {
- this.ackTime = ackTime;
- return this;
- }
-
- /**
- * Time of the unacknowledgement
- *
- * @return ackTime
- **/
- @Schema(description = "Time of the unacknowledgement")
-
- @Valid
- public OffsetDateTime getAckTime() {
- return ackTime;
- }
-
- public void setAckTime(OffsetDateTime ackTime) {
- this.ackTime = ackTime;
- }
-
- @JsonProperty("ackTime")
- public String getAckTimeStr() {
- if (this.ackTime != null) {
- return this.ackTime.toString();
- } else {
- return null;
- }
- }
-
- public UnAckAlarms ackUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- return this;
- }
-
- /**
- * Name of the unacknowledging user
- *
- * @return ackUserId
- **/
- @Schema(description = "Name of the unacknowledging user")
-
- public String getAckUserId() {
- return ackUserId;
- }
-
- public void setAckUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- }
-
- public UnAckAlarms state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current state of the operation task
- *
- * @return state
- **/
- @Schema(description = "Current state of the operation task")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public UnAckAlarms alarmPattern(Set alarmPattern) {
- this.alarmPattern = alarmPattern;
- return this;
- }
-
- public UnAckAlarms addAlarmPatternItem(Alarm alarmPatternItem) {
- if (this.alarmPattern == null) {
- this.alarmPattern = new HashSet<>();
- }
- this.alarmPattern.add(alarmPatternItem);
- return this;
- }
-
- /**
- * Alarm patterns to match target alarms. An alarm will match if all of the
- * sttributes in any of the patterns compare equal to those attributes of the
- * alarm.
- *
- * @return alarmPattern
- **/
- @Schema(description = "Alarm patterns to match target alarms. An alarm will match if all of the sttributes in any of the patterns compare equal to those attributes of the alarm.")
- @Valid
- public Set getAlarmPattern() {
- return alarmPattern;
- }
-
- public void setAlarmPattern(Set alarmPattern) {
- this.alarmPattern = alarmPattern;
- }
-
- public UnAckAlarms unAckedAlarm(Set unAckedAlarm) {
- this.unAckedAlarm = unAckedAlarm;
- return this;
- }
-
- public UnAckAlarms addUnAckedAlarmItem(AlarmRefOrValue unAckedAlarmItem) {
- if (this.unAckedAlarm == null) {
- this.unAckedAlarm = new HashSet<>();
- }
- this.unAckedAlarm.add(unAckedAlarmItem);
- return this;
- }
-
- /**
- * The successfully unacknowledged alarms
- *
- * @return unAckedAlarm
- **/
- @Schema(description = "The successfully unacknowledged alarms")
- @Valid
- public Set getUnAckedAlarm() {
- return unAckedAlarm;
- }
-
- public void setUnAckedAlarm(Set unAckedAlarm) {
- this.unAckedAlarm = unAckedAlarm;
- }
-
- public UnAckAlarms baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * When sub-classing, this defines the super-class
- *
- * @return baseType
- **/
- @Schema(description = "When sub-classing, this defines the super-class")
-
- public String getAtBaseType() {
- return baseType;
- }
-
- public void setAtBaseType(String baseType) {
- this.baseType = baseType;
- }
-
- public UnAckAlarms schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A URI to a JSON-Schema file that defines additional attributes and
- * relationships
- *
- * @return schemaLocation
- **/
- @Schema(description = "A URI to a JSON-Schema file that defines additional attributes and relationships")
-
- public String getAtSchemaLocation() {
- return schemaLocation;
- }
-
- public void setAtSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public UnAckAlarms type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * When sub-classing, this defines the sub-class entity name
- *
- * @return type
- **/
- @Schema(description = "When sub-classing, this defines the sub-class entity name")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UnAckAlarms unAckAlarms = (UnAckAlarms) o;
- return Objects.equals(this.id, unAckAlarms.id) && Objects.equals(this.href, unAckAlarms.href)
- && Objects.equals(this.ackSystemId, unAckAlarms.ackSystemId)
- && Objects.equals(this.ackTime, unAckAlarms.ackTime)
- && Objects.equals(this.ackUserId, unAckAlarms.ackUserId)
- && Objects.equals(this.state, unAckAlarms.state)
- && Objects.equals(this.alarmPattern, unAckAlarms.alarmPattern)
- && Objects.equals(this.unAckedAlarm, unAckAlarms.unAckedAlarm)
- && Objects.equals(this.baseType, unAckAlarms.baseType)
- && Objects.equals(this.schemaLocation, unAckAlarms.schemaLocation)
- && Objects.equals(this.type, unAckAlarms.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, ackSystemId, ackTime, ackUserId, state, alarmPattern, unAckedAlarm, baseType,
- schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UnAckAlarms {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" ackSystemId: ").append(toIndentedString(ackSystemId)).append("\n");
- sb.append(" ackTime: ").append(toIndentedString(ackTime)).append("\n");
- sb.append(" ackUserId: ").append(toIndentedString(ackUserId)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" alarmPattern: ").append(toIndentedString(alarmPattern)).append("\n");
- sb.append(" unAckedAlarm: ").append(toIndentedString(unAckedAlarm)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsCreate.java b/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsCreate.java
deleted file mode 100644
index 22a89b76e6cbf0baeae0121ebf07605b289d9fdc..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsCreate.java
+++ /dev/null
@@ -1,314 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-import jakarta.validation.constraints.NotNull;
-import jakarta.validation.constraints.Size;
-
-/**
- * Task resource for unacknowledge alarms operation Skipped properties: id,href
- */
-@Schema(description = "Task resource for unacknowledge alarms operation Skipped properties: id,href")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class UnAckAlarmsCreate {
- @JsonProperty("ackSystemId")
- private String ackSystemId = null;
-
- @JsonProperty("ackTime")
- private OffsetDateTime ackTime = null;
-
- @JsonProperty("ackUserId")
- private String ackUserId = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("alarmPattern")
- @Valid
- private List alarmPattern = new ArrayList<>();
-
- @JsonProperty("unAckedAlarm")
- @Valid
- private List unAckedAlarm = null;
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public UnAckAlarmsCreate ackSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- return this;
- }
-
- /**
- * Name of the unacknowledging system
- * @return ackSystemId
- **/
- @Schema(description = "Name of the unacknowledging system")
- @NotNull
-
- public String getAckSystemId() {
- return ackSystemId;
- }
-
- public void setAckSystemId(String ackSystemId) {
- this.ackSystemId = ackSystemId;
- }
-
- public UnAckAlarmsCreate ackTime(OffsetDateTime ackTime) {
- this.ackTime = ackTime;
- return this;
- }
-
- /**
- * Time of the unacknowledgement
- * @return ackTime
- **/
- @Schema(description = "Time of the unacknowledgement")
-
- @Valid
- public OffsetDateTime getAckTime() {
- return ackTime;
- }
-
- public void setAckTime(OffsetDateTime ackTime) {
- this.ackTime = ackTime;
- }
-
- public UnAckAlarmsCreate ackUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- return this;
- }
-
- /**
- * Name of the unacknowledging user
- * @return ackUserId
- **/
- @Schema(description = "Name of the unacknowledging user")
- @NotNull
-
- public String getAckUserId() {
- return ackUserId;
- }
-
- public void setAckUserId(String ackUserId) {
- this.ackUserId = ackUserId;
- }
-
- public UnAckAlarmsCreate state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current state of the operation task
- * @return state
- **/
- @Schema(description = "Current state of the operation task")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public UnAckAlarmsCreate alarmPattern(List alarmPattern) {
- this.alarmPattern = alarmPattern;
- return this;
- }
-
- public UnAckAlarmsCreate addAlarmPatternItem(Alarm alarmPatternItem) {
- this.alarmPattern.add(alarmPatternItem);
- return this;
- }
-
- /**
- * Alarm patterns to match target alarms. An alarm will match if all of the sttributes in any of the patterns compare equal to those attributes of the alarm.
- * @return alarmPattern
- **/
- @Schema(description = "Alarm patterns to match target alarms. An alarm will match if all of the sttributes in any of the patterns compare equal to those attributes of the alarm.")
- @NotNull
- @Valid
- @Size(min=1) public List getAlarmPattern() {
- return alarmPattern;
- }
-
- public void setAlarmPattern(List alarmPattern) {
- this.alarmPattern = alarmPattern;
- }
-
- public UnAckAlarmsCreate unAckedAlarm(List unAckedAlarm) {
- this.unAckedAlarm = unAckedAlarm;
- return this;
- }
-
- public UnAckAlarmsCreate addUnAckedAlarmItem(AlarmRefOrValue unAckedAlarmItem) {
- if (this.unAckedAlarm == null) {
- this.unAckedAlarm = new ArrayList<>();
- }
- this.unAckedAlarm.add(unAckedAlarmItem);
- return this;
- }
-
- /**
- * The successfully unacknowledged alarms
- * @return unAckedAlarm
- **/
- @Schema(description = "The successfully unacknowledged alarms")
- @Valid
- public List getUnAckedAlarm() {
- return unAckedAlarm;
- }
-
- public void setUnAckedAlarm(List unAckedAlarm) {
- this.unAckedAlarm = unAckedAlarm;
- }
-
- public UnAckAlarmsCreate baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * When sub-classing, this defines the super-class
- * @return baseType
- **/
- @Schema(description = "When sub-classing, this defines the super-class")
-
- public String getAtBaseType() {
- return baseType;
- }
-
- public void setAtBaseType(String baseType) {
- this.baseType = baseType;
- }
-
- public UnAckAlarmsCreate schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A URI to a JSON-Schema file that defines additional attributes and relationships
- * @return schemaLocation
- **/
- @Schema(description = "A URI to a JSON-Schema file that defines additional attributes and relationships")
-
- public String getAtSchemaLocation() {
- return schemaLocation;
- }
-
- public void setAtSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public UnAckAlarmsCreate type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * When sub-classing, this defines the sub-class entity name
- * @return type
- **/
- @Schema(description = "When sub-classing, this defines the sub-class entity name")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UnAckAlarmsCreate unAckAlarmsCreate = (UnAckAlarmsCreate) o;
- return Objects.equals(this.ackSystemId, unAckAlarmsCreate.ackSystemId) &&
- Objects.equals(this.ackTime, unAckAlarmsCreate.ackTime) &&
- Objects.equals(this.ackUserId, unAckAlarmsCreate.ackUserId) &&
- Objects.equals(this.state, unAckAlarmsCreate.state) &&
- Objects.equals(this.alarmPattern, unAckAlarmsCreate.alarmPattern) &&
- Objects.equals(this.unAckedAlarm, unAckAlarmsCreate.unAckedAlarm) &&
- Objects.equals(this.baseType, unAckAlarmsCreate.baseType) &&
- Objects.equals(this.schemaLocation, unAckAlarmsCreate.schemaLocation) &&
- Objects.equals(this.type, unAckAlarmsCreate.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(ackSystemId, ackTime, ackUserId, state, alarmPattern, unAckedAlarm, baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UnAckAlarmsCreate {\n");
-
- sb.append(" ackSystemId: ").append(toIndentedString(ackSystemId)).append("\n");
- sb.append(" ackTime: ").append(toIndentedString(ackTime)).append("\n");
- sb.append(" ackUserId: ").append(toIndentedString(ackUserId)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" alarmPattern: ").append(toIndentedString(alarmPattern)).append("\n");
- sb.append(" unAckedAlarm: ").append(toIndentedString(unAckedAlarm)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsCreateEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsCreateEvent.java
deleted file mode 100644
index 05f6f3a01217c442d4dfcf2661a56e9191992abe..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsCreateEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class UnAckAlarmsCreateEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private UnAckAlarmsCreateEventPayload event = null;
-
- public UnAckAlarmsCreateEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public UnAckAlarmsCreateEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public UnAckAlarmsCreateEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public UnAckAlarmsCreateEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public UnAckAlarmsCreateEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public UnAckAlarmsCreateEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public UnAckAlarmsCreateEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public UnAckAlarmsCreateEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public UnAckAlarmsCreateEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public UnAckAlarmsCreateEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public UnAckAlarmsCreateEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public UnAckAlarmsCreateEvent event(UnAckAlarmsCreateEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public UnAckAlarmsCreateEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(UnAckAlarmsCreateEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UnAckAlarmsCreateEvent unAckAlarmsCreateEvent = (UnAckAlarmsCreateEvent) o;
- return Objects.equals(this.id, unAckAlarmsCreateEvent.id) &&
- Objects.equals(this.href, unAckAlarmsCreateEvent.href) &&
- Objects.equals(this.eventId, unAckAlarmsCreateEvent.eventId) &&
- Objects.equals(this.eventTime, unAckAlarmsCreateEvent.eventTime) &&
- Objects.equals(this.eventType, unAckAlarmsCreateEvent.eventType) &&
- Objects.equals(this.correlationId, unAckAlarmsCreateEvent.correlationId) &&
- Objects.equals(this.domain, unAckAlarmsCreateEvent.domain) &&
- Objects.equals(this.title, unAckAlarmsCreateEvent.title) &&
- Objects.equals(this.description, unAckAlarmsCreateEvent.description) &&
- Objects.equals(this.priority, unAckAlarmsCreateEvent.priority) &&
- Objects.equals(this.timeOcurred, unAckAlarmsCreateEvent.timeOcurred) &&
- Objects.equals(this.event, unAckAlarmsCreateEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UnAckAlarmsCreateEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsCreateEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsCreateEventPayload.java
deleted file mode 100644
index 6bd2eab4ff59b6f564e3b31f2ef348eb3d5aa6ed..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsCreateEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class UnAckAlarmsCreateEventPayload {
- @JsonProperty("unAckAlarms")
- private UnAckAlarms unAckAlarms = null;
-
- public UnAckAlarmsCreateEventPayload unAckAlarms(UnAckAlarms unAckAlarms) {
- this.unAckAlarms = unAckAlarms;
- return this;
- }
-
- /**
- * Get unAckAlarms
- * @return unAckAlarms
- **/
- @Schema(description = "")
-
- @Valid
- public UnAckAlarms getUnAckAlarms() {
- return unAckAlarms;
- }
-
- public void setUnAckAlarms(UnAckAlarms unAckAlarms) {
- this.unAckAlarms = unAckAlarms;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UnAckAlarmsCreateEventPayload unAckAlarmsCreateEventPayload = (UnAckAlarmsCreateEventPayload) o;
- return Objects.equals(this.unAckAlarms, unAckAlarmsCreateEventPayload.unAckAlarms);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(unAckAlarms);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UnAckAlarmsCreateEventPayload {\n");
-
- sb.append(" unAckAlarms: ").append(toIndentedString(unAckAlarms)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsStateChangeEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsStateChangeEvent.java
deleted file mode 100644
index 2b9a83b630359572909cd396ead54c1c63e304a2..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsStateChangeEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class UnAckAlarmsStateChangeEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private UnAckAlarmsStateChangeEventPayload event = null;
-
- public UnAckAlarmsStateChangeEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public UnAckAlarmsStateChangeEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public UnAckAlarmsStateChangeEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public UnAckAlarmsStateChangeEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public UnAckAlarmsStateChangeEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public UnAckAlarmsStateChangeEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public UnAckAlarmsStateChangeEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public UnAckAlarmsStateChangeEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public UnAckAlarmsStateChangeEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public UnAckAlarmsStateChangeEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public UnAckAlarmsStateChangeEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public UnAckAlarmsStateChangeEvent event(UnAckAlarmsStateChangeEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public UnAckAlarmsStateChangeEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(UnAckAlarmsStateChangeEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UnAckAlarmsStateChangeEvent unAckAlarmsStateChangeEvent = (UnAckAlarmsStateChangeEvent) o;
- return Objects.equals(this.id, unAckAlarmsStateChangeEvent.id) &&
- Objects.equals(this.href, unAckAlarmsStateChangeEvent.href) &&
- Objects.equals(this.eventId, unAckAlarmsStateChangeEvent.eventId) &&
- Objects.equals(this.eventTime, unAckAlarmsStateChangeEvent.eventTime) &&
- Objects.equals(this.eventType, unAckAlarmsStateChangeEvent.eventType) &&
- Objects.equals(this.correlationId, unAckAlarmsStateChangeEvent.correlationId) &&
- Objects.equals(this.domain, unAckAlarmsStateChangeEvent.domain) &&
- Objects.equals(this.title, unAckAlarmsStateChangeEvent.title) &&
- Objects.equals(this.description, unAckAlarmsStateChangeEvent.description) &&
- Objects.equals(this.priority, unAckAlarmsStateChangeEvent.priority) &&
- Objects.equals(this.timeOcurred, unAckAlarmsStateChangeEvent.timeOcurred) &&
- Objects.equals(this.event, unAckAlarmsStateChangeEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UnAckAlarmsStateChangeEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsStateChangeEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsStateChangeEventPayload.java
deleted file mode 100644
index 13707f0cbe8e81b95de14bc42c9a7d7d10d61b1c..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/UnAckAlarmsStateChangeEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class UnAckAlarmsStateChangeEventPayload {
- @JsonProperty("unAckAlarms")
- private UnAckAlarms unAckAlarms = null;
-
- public UnAckAlarmsStateChangeEventPayload unAckAlarms(UnAckAlarms unAckAlarms) {
- this.unAckAlarms = unAckAlarms;
- return this;
- }
-
- /**
- * Get unAckAlarms
- * @return unAckAlarms
- **/
- @Schema(description = "")
-
- @Valid
- public UnAckAlarms getUnAckAlarms() {
- return unAckAlarms;
- }
-
- public void setUnAckAlarms(UnAckAlarms unAckAlarms) {
- this.unAckAlarms = unAckAlarms;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UnAckAlarmsStateChangeEventPayload unAckAlarmsStateChangeEventPayload = (UnAckAlarmsStateChangeEventPayload) o;
- return Objects.equals(this.unAckAlarms, unAckAlarmsStateChangeEventPayload.unAckAlarms);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(unAckAlarms);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UnAckAlarmsStateChangeEventPayload {\n");
-
- sb.append(" unAckAlarms: ").append(toIndentedString(unAckAlarms)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarms.java b/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarms.java
deleted file mode 100644
index db69028d9de52e67eb841178c79e7fc784588eec..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarms.java
+++ /dev/null
@@ -1,359 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.HashSet;
-import java.util.Objects;
-import java.util.Set;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.CascadeType;
-import jakarta.persistence.Entity;
-import jakarta.persistence.OneToMany;
-import jakarta.persistence.OneToOne;
-import jakarta.persistence.Table;
-import jakarta.validation.Valid;
-
-/**
- * Task resource for ungroup alarms operation
- */
-@Schema(description = "Task resource for ungroup alarms operation")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-@Entity(name = "AMUnGroupAlarms")
-@Table(name = "AMUnGroupAlarms")
-public class UnGroupAlarms extends BaseRootEntity {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("alarmChangedTime")
- private OffsetDateTime alarmChangedTime = null;
-
- @JsonProperty("sourceSystemId")
- private String sourceSystemId = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("correlatedAlarm")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set correlatedAlarm = null;
-
- @JsonProperty("parentAlarm")
- @OneToOne(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private AlarmRefOrValue parentAlarm = null;
-
- @JsonProperty("unGroupedAlarm")
- @Valid
- @OneToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
- private Set unGroupedAlarm = null;
-
- /**
- * @return the id
- */
- public String getId() {
- if (uuid != null) {
- id = uuid;
- }
- return id;
- }
-
- public UnGroupAlarms href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * A reference to the task
- *
- * @return href
- **/
- @Schema(description = "A reference to the task")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public UnGroupAlarms alarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- return this;
- }
-
- /**
- * Time of the uncorrelation
- *
- * @return alarmChangedTime
- **/
- @Schema(description = "Time of the uncorrelation")
-
- @Valid
- public OffsetDateTime getAlarmChangedTime() {
- return alarmChangedTime;
- }
-
- public void setAlarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- }
-
- public UnGroupAlarms sourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- return this;
- }
-
- /**
- * Source system identifier
- *
- * @return sourceSystemId
- **/
- @Schema(description = "Source system identifier")
-
- public String getSourceSystemId() {
- return sourceSystemId;
- }
-
- public void setSourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- }
-
- public UnGroupAlarms state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current state of the operation task
- *
- * @return state
- **/
- @Schema(description = "Current state of the operation task")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public UnGroupAlarms correlatedAlarm(Set correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- return this;
- }
-
- public UnGroupAlarms addCorrelatedAlarmItem(AlarmRefOrValue correlatedAlarmItem) {
- if (this.correlatedAlarm == null) {
- this.correlatedAlarm = new HashSet<>();
- }
- this.correlatedAlarm.add(correlatedAlarmItem);
- return this;
- }
-
- /**
- * Correlated alarms
- *
- * @return correlatedAlarm
- **/
- @Schema(description = "Correlated alarms")
- @Valid
- public Set getCorrelatedAlarm() {
- return correlatedAlarm;
- }
-
- public void setCorrelatedAlarm(Set correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- }
-
- public UnGroupAlarms parentAlarm(AlarmRefOrValue parentAlarm) {
- this.parentAlarm = parentAlarm;
- return this;
- }
-
- /**
- * Get parentAlarm
- *
- * @return parentAlarm
- **/
- @Schema(description = "")
-
- @Valid
- public AlarmRefOrValue getParentAlarm() {
- return parentAlarm;
- }
-
- public void setParentAlarm(AlarmRefOrValue parentAlarm) {
- this.parentAlarm = parentAlarm;
- }
-
- public UnGroupAlarms unGroupedAlarm(Set unGroupedAlarm) {
- this.unGroupedAlarm = unGroupedAlarm;
- return this;
- }
-
- public UnGroupAlarms addUnGroupedAlarmItem(AlarmRefOrValue unGroupedAlarmItem) {
- if (this.unGroupedAlarm == null) {
- this.unGroupedAlarm = new HashSet<>();
- }
- this.unGroupedAlarm.add(unGroupedAlarmItem);
- return this;
- }
-
- /**
- * The successfully uncorrelated alarms
- *
- * @return unGroupedAlarm
- **/
- @Schema(description = "The successfully uncorrelated alarms")
- @Valid
- public Set getUnGroupedAlarm() {
- return unGroupedAlarm;
- }
-
- public void setUnGroupedAlarm(Set unGroupedAlarm) {
- this.unGroupedAlarm = unGroupedAlarm;
- }
-
- public UnGroupAlarms baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * When sub-classing, this defines the super-class
- *
- * @return baseType
- **/
- @Schema(description = "When sub-classing, this defines the super-class")
-
- public String getAtBaseType() {
- return baseType;
- }
-
- public void setAtBaseType(String baseType) {
- this.baseType = baseType;
- }
-
- public UnGroupAlarms schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A URI to a JSON-Schema file that defines additional attributes and
- * relationships
- *
- * @return schemaLocation
- **/
- @Schema(description = "A URI to a JSON-Schema file that defines additional attributes and relationships")
-
- public String getAtSchemaLocation() {
- return schemaLocation;
- }
-
- public void setAtSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public UnGroupAlarms type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * When sub-classing, this defines the sub-class entity name
- *
- * @return type
- **/
- @Schema(description = "When sub-classing, this defines the sub-class entity name")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UnGroupAlarms unGroupAlarms = (UnGroupAlarms) o;
- return Objects.equals(this.id, unGroupAlarms.id) && Objects.equals(this.href, unGroupAlarms.href)
- && Objects.equals(this.alarmChangedTime, unGroupAlarms.alarmChangedTime)
- && Objects.equals(this.sourceSystemId, unGroupAlarms.sourceSystemId)
- && Objects.equals(this.state, unGroupAlarms.state)
- && Objects.equals(this.correlatedAlarm, unGroupAlarms.correlatedAlarm)
- && Objects.equals(this.parentAlarm, unGroupAlarms.parentAlarm)
- && Objects.equals(this.unGroupedAlarm, unGroupAlarms.unGroupedAlarm)
- && Objects.equals(this.baseType, unGroupAlarms.baseType)
- && Objects.equals(this.schemaLocation, unGroupAlarms.schemaLocation)
- && Objects.equals(this.type, unGroupAlarms.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, alarmChangedTime, sourceSystemId, state, correlatedAlarm, parentAlarm,
- unGroupedAlarm, baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UnGroupAlarms {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" alarmChangedTime: ").append(toIndentedString(alarmChangedTime)).append("\n");
- sb.append(" sourceSystemId: ").append(toIndentedString(sourceSystemId)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" correlatedAlarm: ").append(toIndentedString(correlatedAlarm)).append("\n");
- sb.append(" parentAlarm: ").append(toIndentedString(parentAlarm)).append("\n");
- sb.append(" unGroupedAlarm: ").append(toIndentedString(unGroupedAlarm)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsCreate.java b/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsCreate.java
deleted file mode 100644
index 6415c7169d3717537b890c691edf38b1981f9804..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsCreate.java
+++ /dev/null
@@ -1,316 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-import jakarta.validation.constraints.NotNull;
-import jakarta.validation.constraints.Size;
-
-/**
- * Task resource for ungroup alarms operation Skipped properties: id,href
- */
-@Schema(description = "Task resource for ungroup alarms operation Skipped properties: id,href")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class UnGroupAlarmsCreate {
- @JsonProperty("alarmChangedTime")
- private OffsetDateTime alarmChangedTime = null;
-
- @JsonProperty("sourceSystemId")
- private String sourceSystemId = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("correlatedAlarm")
- @Valid
- private List correlatedAlarm = new ArrayList<>();
-
- @JsonProperty("parentAlarm")
- private AlarmRefOrValue parentAlarm = null;
-
- @JsonProperty("unGroupedAlarm")
- @Valid
- private List unGroupedAlarm = null;
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public UnGroupAlarmsCreate alarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- return this;
- }
-
- /**
- * Time of the uncorrelation
- * @return alarmChangedTime
- **/
- @Schema(description = "Time of the uncorrelation")
- @NotNull
-
- @Valid
- public OffsetDateTime getAlarmChangedTime() {
- return alarmChangedTime;
- }
-
- public void setAlarmChangedTime(OffsetDateTime alarmChangedTime) {
- this.alarmChangedTime = alarmChangedTime;
- }
-
- public UnGroupAlarmsCreate sourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- return this;
- }
-
- /**
- * Source system identifier
- * @return sourceSystemId
- **/
- @Schema(description = "Source system identifier")
- @NotNull
-
- public String getSourceSystemId() {
- return sourceSystemId;
- }
-
- public void setSourceSystemId(String sourceSystemId) {
- this.sourceSystemId = sourceSystemId;
- }
-
- public UnGroupAlarmsCreate state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current state of the operation task
- * @return state
- **/
- @Schema(description = "Current state of the operation task")
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public UnGroupAlarmsCreate correlatedAlarm(List correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- return this;
- }
-
- public UnGroupAlarmsCreate addCorrelatedAlarmItem(AlarmRefOrValue correlatedAlarmItem) {
- this.correlatedAlarm.add(correlatedAlarmItem);
- return this;
- }
-
- /**
- * Correlated alarms
- * @return correlatedAlarm
- **/
- @Schema(description = "Correlated alarms")
- @NotNull
- @Valid
- @Size(min=1) public List getCorrelatedAlarm() {
- return correlatedAlarm;
- }
-
- public void setCorrelatedAlarm(List correlatedAlarm) {
- this.correlatedAlarm = correlatedAlarm;
- }
-
- public UnGroupAlarmsCreate parentAlarm(AlarmRefOrValue parentAlarm) {
- this.parentAlarm = parentAlarm;
- return this;
- }
-
- /**
- * Get parentAlarm
- * @return parentAlarm
- **/
- @Schema(description = "")
- @NotNull
-
- @Valid
- public AlarmRefOrValue getParentAlarm() {
- return parentAlarm;
- }
-
- public void setParentAlarm(AlarmRefOrValue parentAlarm) {
- this.parentAlarm = parentAlarm;
- }
-
- public UnGroupAlarmsCreate unGroupedAlarm(List unGroupedAlarm) {
- this.unGroupedAlarm = unGroupedAlarm;
- return this;
- }
-
- public UnGroupAlarmsCreate addUnGroupedAlarmItem(AlarmRefOrValue unGroupedAlarmItem) {
- if (this.unGroupedAlarm == null) {
- this.unGroupedAlarm = new ArrayList<>();
- }
- this.unGroupedAlarm.add(unGroupedAlarmItem);
- return this;
- }
-
- /**
- * The successfully uncorrelated alarms
- * @return unGroupedAlarm
- **/
- @Schema(description = "The successfully uncorrelated alarms")
- @Valid
- public List getUnGroupedAlarm() {
- return unGroupedAlarm;
- }
-
- public void setUnGroupedAlarm(List unGroupedAlarm) {
- this.unGroupedAlarm = unGroupedAlarm;
- }
-
- public UnGroupAlarmsCreate baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * When sub-classing, this defines the super-class
- * @return baseType
- **/
- @Schema(description = "When sub-classing, this defines the super-class")
-
- public String getAtBaseType() {
- return baseType;
- }
-
- public void setAtBaseType(String baseType) {
- this.baseType = baseType;
- }
-
- public UnGroupAlarmsCreate schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A URI to a JSON-Schema file that defines additional attributes and relationships
- * @return schemaLocation
- **/
- @Schema(description = "A URI to a JSON-Schema file that defines additional attributes and relationships")
-
- public String getAtSchemaLocation() {
- return schemaLocation;
- }
-
- public void setAtSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public UnGroupAlarmsCreate type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * When sub-classing, this defines the sub-class entity name
- * @return type
- **/
- @Schema(description = "When sub-classing, this defines the sub-class entity name")
-
- public String getAtType() {
- return type;
- }
-
- public void setAtType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UnGroupAlarmsCreate unGroupAlarmsCreate = (UnGroupAlarmsCreate) o;
- return Objects.equals(this.alarmChangedTime, unGroupAlarmsCreate.alarmChangedTime) &&
- Objects.equals(this.sourceSystemId, unGroupAlarmsCreate.sourceSystemId) &&
- Objects.equals(this.state, unGroupAlarmsCreate.state) &&
- Objects.equals(this.correlatedAlarm, unGroupAlarmsCreate.correlatedAlarm) &&
- Objects.equals(this.parentAlarm, unGroupAlarmsCreate.parentAlarm) &&
- Objects.equals(this.unGroupedAlarm, unGroupAlarmsCreate.unGroupedAlarm) &&
- Objects.equals(this.baseType, unGroupAlarmsCreate.baseType) &&
- Objects.equals(this.schemaLocation, unGroupAlarmsCreate.schemaLocation) &&
- Objects.equals(this.type, unGroupAlarmsCreate.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(alarmChangedTime, sourceSystemId, state, correlatedAlarm, parentAlarm, unGroupedAlarm, baseType, schemaLocation, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UnGroupAlarmsCreate {\n");
-
- sb.append(" alarmChangedTime: ").append(toIndentedString(alarmChangedTime)).append("\n");
- sb.append(" sourceSystemId: ").append(toIndentedString(sourceSystemId)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" correlatedAlarm: ").append(toIndentedString(correlatedAlarm)).append("\n");
- sb.append(" parentAlarm: ").append(toIndentedString(parentAlarm)).append("\n");
- sb.append(" unGroupedAlarm: ").append(toIndentedString(unGroupedAlarm)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsCreateEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsCreateEvent.java
deleted file mode 100644
index 6326c234c5f43d5adabb6cd91da56e2260374065..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsCreateEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class UnGroupAlarmsCreateEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private UnGroupAlarmsCreateEventPayload event = null;
-
- public UnGroupAlarmsCreateEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public UnGroupAlarmsCreateEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public UnGroupAlarmsCreateEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public UnGroupAlarmsCreateEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public UnGroupAlarmsCreateEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public UnGroupAlarmsCreateEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public UnGroupAlarmsCreateEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public UnGroupAlarmsCreateEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public UnGroupAlarmsCreateEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public UnGroupAlarmsCreateEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public UnGroupAlarmsCreateEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public UnGroupAlarmsCreateEvent event(UnGroupAlarmsCreateEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public UnGroupAlarmsCreateEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(UnGroupAlarmsCreateEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UnGroupAlarmsCreateEvent unGroupAlarmsCreateEvent = (UnGroupAlarmsCreateEvent) o;
- return Objects.equals(this.id, unGroupAlarmsCreateEvent.id) &&
- Objects.equals(this.href, unGroupAlarmsCreateEvent.href) &&
- Objects.equals(this.eventId, unGroupAlarmsCreateEvent.eventId) &&
- Objects.equals(this.eventTime, unGroupAlarmsCreateEvent.eventTime) &&
- Objects.equals(this.eventType, unGroupAlarmsCreateEvent.eventType) &&
- Objects.equals(this.correlationId, unGroupAlarmsCreateEvent.correlationId) &&
- Objects.equals(this.domain, unGroupAlarmsCreateEvent.domain) &&
- Objects.equals(this.title, unGroupAlarmsCreateEvent.title) &&
- Objects.equals(this.description, unGroupAlarmsCreateEvent.description) &&
- Objects.equals(this.priority, unGroupAlarmsCreateEvent.priority) &&
- Objects.equals(this.timeOcurred, unGroupAlarmsCreateEvent.timeOcurred) &&
- Objects.equals(this.event, unGroupAlarmsCreateEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UnGroupAlarmsCreateEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsCreateEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsCreateEventPayload.java
deleted file mode 100644
index 6f217ba113e8feab928cfc2c13653efa4d744091..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsCreateEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class UnGroupAlarmsCreateEventPayload {
- @JsonProperty("unGroupAlarms")
- private UnGroupAlarms unGroupAlarms = null;
-
- public UnGroupAlarmsCreateEventPayload unGroupAlarms(UnGroupAlarms unGroupAlarms) {
- this.unGroupAlarms = unGroupAlarms;
- return this;
- }
-
- /**
- * Get unGroupAlarms
- * @return unGroupAlarms
- **/
- @Schema(description = "")
-
- @Valid
- public UnGroupAlarms getUnGroupAlarms() {
- return unGroupAlarms;
- }
-
- public void setUnGroupAlarms(UnGroupAlarms unGroupAlarms) {
- this.unGroupAlarms = unGroupAlarms;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UnGroupAlarmsCreateEventPayload unGroupAlarmsCreateEventPayload = (UnGroupAlarmsCreateEventPayload) o;
- return Objects.equals(this.unGroupAlarms, unGroupAlarmsCreateEventPayload.unGroupAlarms);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(unGroupAlarms);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UnGroupAlarmsCreateEventPayload {\n");
-
- sb.append(" unGroupAlarms: ").append(toIndentedString(unGroupAlarms)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsStateChangeEvent.java b/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsStateChangeEvent.java
deleted file mode 100644
index a2039c989184224b5040433d2914f8f029f1b54f..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsStateChangeEvent.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The notification data structure
- */
-@Schema(description = "The notification data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class UnGroupAlarmsStateChangeEvent {
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("eventId")
- private String eventId = null;
-
- @JsonProperty("eventTime")
- private OffsetDateTime eventTime = null;
-
- @JsonProperty("eventType")
- private String eventType = null;
-
- @JsonProperty("correlationId")
- private String correlationId = null;
-
- @JsonProperty("domain")
- private String domain = null;
-
- @JsonProperty("title")
- private String title = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("priority")
- private String priority = null;
-
- @JsonProperty("timeOcurred")
- private OffsetDateTime timeOcurred = null;
-
- @JsonProperty("event")
- private UnGroupAlarmsStateChangeEventPayload event = null;
-
- public UnGroupAlarmsStateChangeEvent id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the Process flow
- * @return id
- **/
- @Schema(description = "Identifier of the Process flow")
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public UnGroupAlarmsStateChangeEvent href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the ProcessFlow
- * @return href
- **/
- @Schema(description = "Reference of the ProcessFlow")
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public UnGroupAlarmsStateChangeEvent eventId(String eventId) {
- this.eventId = eventId;
- return this;
- }
-
- /**
- * The identifier of the notification.
- * @return eventId
- **/
- @Schema(description = "The identifier of the notification.")
-
- public String getEventId() {
- return eventId;
- }
-
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
-
- public UnGroupAlarmsStateChangeEvent eventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- return this;
- }
-
- /**
- * Time of the event occurrence.
- * @return eventTime
- **/
- @Schema(description = "Time of the event occurrence.")
-
- @Valid
- public OffsetDateTime getEventTime() {
- return eventTime;
- }
-
- public void setEventTime(OffsetDateTime eventTime) {
- this.eventTime = eventTime;
- }
-
- public UnGroupAlarmsStateChangeEvent eventType(String eventType) {
- this.eventType = eventType;
- return this;
- }
-
- /**
- * The type of the notification.
- * @return eventType
- **/
- @Schema(description = "The type of the notification.")
-
- public String getEventType() {
- return eventType;
- }
-
- public void setEventType(String eventType) {
- this.eventType = eventType;
- }
-
- public UnGroupAlarmsStateChangeEvent correlationId(String correlationId) {
- this.correlationId = correlationId;
- return this;
- }
-
- /**
- * The correlation id for this event.
- * @return correlationId
- **/
- @Schema(description = "The correlation id for this event.")
-
- public String getCorrelationId() {
- return correlationId;
- }
-
- public void setCorrelationId(String correlationId) {
- this.correlationId = correlationId;
- }
-
- public UnGroupAlarmsStateChangeEvent domain(String domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * The domain of the event.
- * @return domain
- **/
- @Schema(description = "The domain of the event.")
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public UnGroupAlarmsStateChangeEvent title(String title) {
- this.title = title;
- return this;
- }
-
- /**
- * The title of the event.
- * @return title
- **/
- @Schema(description = "The title of the event.")
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public UnGroupAlarmsStateChangeEvent description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * An explnatory of the event.
- * @return description
- **/
- @Schema(description = "An explnatory of the event.")
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public UnGroupAlarmsStateChangeEvent priority(String priority) {
- this.priority = priority;
- return this;
- }
-
- /**
- * A priority.
- * @return priority
- **/
- @Schema(description = "A priority.")
-
- public String getPriority() {
- return priority;
- }
-
- public void setPriority(String priority) {
- this.priority = priority;
- }
-
- public UnGroupAlarmsStateChangeEvent timeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- return this;
- }
-
- /**
- * The time the event occured.
- * @return timeOcurred
- **/
- @Schema(description = "The time the event occured.")
-
- @Valid
- public OffsetDateTime getTimeOcurred() {
- return timeOcurred;
- }
-
- public void setTimeOcurred(OffsetDateTime timeOcurred) {
- this.timeOcurred = timeOcurred;
- }
-
- public UnGroupAlarmsStateChangeEvent event(UnGroupAlarmsStateChangeEventPayload event) {
- this.event = event;
- return this;
- }
-
- /**
- * Get event
- * @return event
- **/
- @Schema(description = "")
-
- @Valid
- public UnGroupAlarmsStateChangeEventPayload getEvent() {
- return event;
- }
-
- public void setEvent(UnGroupAlarmsStateChangeEventPayload event) {
- this.event = event;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UnGroupAlarmsStateChangeEvent unGroupAlarmsStateChangeEvent = (UnGroupAlarmsStateChangeEvent) o;
- return Objects.equals(this.id, unGroupAlarmsStateChangeEvent.id) &&
- Objects.equals(this.href, unGroupAlarmsStateChangeEvent.href) &&
- Objects.equals(this.eventId, unGroupAlarmsStateChangeEvent.eventId) &&
- Objects.equals(this.eventTime, unGroupAlarmsStateChangeEvent.eventTime) &&
- Objects.equals(this.eventType, unGroupAlarmsStateChangeEvent.eventType) &&
- Objects.equals(this.correlationId, unGroupAlarmsStateChangeEvent.correlationId) &&
- Objects.equals(this.domain, unGroupAlarmsStateChangeEvent.domain) &&
- Objects.equals(this.title, unGroupAlarmsStateChangeEvent.title) &&
- Objects.equals(this.description, unGroupAlarmsStateChangeEvent.description) &&
- Objects.equals(this.priority, unGroupAlarmsStateChangeEvent.priority) &&
- Objects.equals(this.timeOcurred, unGroupAlarmsStateChangeEvent.timeOcurred) &&
- Objects.equals(this.event, unGroupAlarmsStateChangeEvent.event);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, href, eventId, eventTime, eventType, correlationId, domain, title, description, priority, timeOcurred, event);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UnGroupAlarmsStateChangeEvent {\n");
-
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).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(" 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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsStateChangeEventPayload.java b/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsStateChangeEventPayload.java
deleted file mode 100644
index e4d465d22ad70c4bb21cf934ad3f49f0f2762497..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am642/model/UnGroupAlarmsStateChangeEventPayload.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 - 2021 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am642.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * The event data structure
- */
-@Schema(description = "The event data structure")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-02-15T11:15:47.327930400+02:00[Europe/Athens]")
-public class UnGroupAlarmsStateChangeEventPayload {
- @JsonProperty("unGroupAlarms")
- private UnGroupAlarms unGroupAlarms = null;
-
- public UnGroupAlarmsStateChangeEventPayload unGroupAlarms(UnGroupAlarms unGroupAlarms) {
- this.unGroupAlarms = unGroupAlarms;
- return this;
- }
-
- /**
- * Get unGroupAlarms
- * @return unGroupAlarms
- **/
- @Schema(description = "")
-
- @Valid
- public UnGroupAlarms getUnGroupAlarms() {
- return unGroupAlarms;
- }
-
- public void setUnGroupAlarms(UnGroupAlarms unGroupAlarms) {
- this.unGroupAlarms = unGroupAlarms;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UnGroupAlarmsStateChangeEventPayload unGroupAlarmsStateChangeEventPayload = (UnGroupAlarmsStateChangeEventPayload) o;
- return Objects.equals(this.unGroupAlarms, unGroupAlarmsStateChangeEventPayload.unGroupAlarms);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(unGroupAlarms);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UnGroupAlarmsStateChangeEventPayload {\n");
-
- sb.append(" unGroupAlarms: ").append(toIndentedString(unGroupAlarms)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/Agreement.java b/src/main/java/org/etsi/osl/tmf/am651/model/Agreement.java
deleted file mode 100644
index 9dd3e97092120a576b480efaa8957f9c4a42f9d2..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/Agreement.java
+++ /dev/null
@@ -1,659 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.time.OffsetDateTime;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.TimePeriod;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-import jakarta.validation.constraints.NotNull;
-
-/**
- * An agreement represents a contract or arrangement, either written or verbal and sometimes enforceable by law, such as a service level agreement or a customer price agreement. An agreement involves a number of other business entities, such as products, services, and resources and/or their specifications.
- */
-@Schema(description = "An agreement represents a contract or arrangement, either written or verbal and sometimes enforceable by law, such as a service level agreement or a customer price agreement. An agreement involves a number of other business entities, such as products, services, and resources and/or their specifications.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-
-public class Agreement {
- @JsonProperty("agreementPeriod")
- private TimePeriod agreementPeriod = null;
-
- @JsonProperty("completionDate")
- private TimePeriod completionDate = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("documentNumber")
- private Integer documentNumber = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("initialDate")
- private OffsetDateTime initialDate = null;
-
- @JsonProperty("name")
- private String name = null;
-
- @JsonProperty("statementOfIntent")
- private String statementOfIntent = null;
-
- @JsonProperty("status")
- private String status = null;
-
- @JsonProperty("type")
- private String typeAgreement = null;
-
- @JsonProperty("version")
- private String version = null;
-
- @JsonProperty("agreementSpecification")
- private AgreementSpecificationRef agreementSpecification = null;
-
- @JsonProperty("agreementItem")
- @Valid
- private List agreementItem = null;
-
- @JsonProperty("engagedPartyRole")
- @Valid
- private List engagedPartyRole = null;
-
- @JsonProperty("agreementAuthorization")
- @Valid
- private List agreementAuthorization = null;
-
- @JsonProperty("characteristic")
- @Valid
- private List characteristic = null;
-
- @JsonProperty("associatedAgreement")
- @Valid
- private List associatedAgreement = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- public Agreement agreementPeriod(TimePeriod agreementPeriod) {
- this.agreementPeriod = agreementPeriod;
- return this;
- }
-
- /**
- * The time period during which the Agreement is in effect.
- * @return agreementPeriod
- **/
- @Schema(description = "The time period during which the Agreement is in effect.")
-
- @Valid
-
- public TimePeriod getAgreementPeriod() {
- return agreementPeriod;
- }
-
- public void setAgreementPeriod(TimePeriod agreementPeriod) {
- this.agreementPeriod = agreementPeriod;
- }
-
- public Agreement completionDate(TimePeriod completionDate) {
- this.completionDate = completionDate;
- return this;
- }
-
- /**
- * Date at which the agreement is completed
- * @return completionDate
- **/
- @Schema(description = "Date at which the agreement is completed")
-
- @Valid
-
- public TimePeriod getCompletionDate() {
- return completionDate;
- }
-
- public void setCompletionDate(TimePeriod completionDate) {
- this.completionDate = completionDate;
- }
-
- public Agreement description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * Narrative that explains the agreement and details about the it , such as why the agreement is taking place.
- * @return description
- **/
- @Schema(description = "Narrative that explains the agreement and details about the it , such as why the agreement is taking place.")
-
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public Agreement documentNumber(Integer documentNumber) {
- this.documentNumber = documentNumber;
- return this;
- }
-
- /**
- * A reference number assigned to an Agreement that follows a prescribed numbering system.
- * @return documentNumber
- **/
- @Schema(description = "A reference number assigned to an Agreement that follows a prescribed numbering system.")
-
-
- public Integer getDocumentNumber() {
- return documentNumber;
- }
-
- public void setDocumentNumber(Integer documentNumber) {
- this.documentNumber = documentNumber;
- }
-
- public Agreement href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Unique url identifying the agreement as a resource
- * @return href
- **/
- @Schema(description = "Unique url identifying the agreement as a resource")
-
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public Agreement id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Unique identifier for the agreement
- * @return id
- **/
- @Schema(description = "Unique identifier for the agreement")
-
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public Agreement initialDate(OffsetDateTime initialDate) {
- this.initialDate = initialDate;
- return this;
- }
-
- /**
- * Date at which the agreement was initialized
- * @return initialDate
- **/
- @Schema(description = "Date at which the agreement was initialized")
-
- @Valid
-
- public OffsetDateTime getInitialDate() {
- return initialDate;
- }
-
- public void setInitialDate(OffsetDateTime initialDate) {
- this.initialDate = initialDate;
- }
-
- public Agreement name(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * A human-readable name for the agreement
- * @return name
- **/
- @Schema(description = "A human-readable name for the agreement")
- @NotNull
-
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public Agreement statementOfIntent(String statementOfIntent) {
- this.statementOfIntent = statementOfIntent;
- return this;
- }
-
- /**
- * An overview and goals of the Agreement.
- * @return statementOfIntent
- **/
- @Schema(description = "An overview and goals of the Agreement.")
-
-
- public String getStatementOfIntent() {
- return statementOfIntent;
- }
-
- public void setStatementOfIntent(String statementOfIntent) {
- this.statementOfIntent = statementOfIntent;
- }
-
- public Agreement status(String status) {
- this.status = status;
- return this;
- }
-
- /**
- * The current status of the agreement. Typical values are: in process, approved and rejected.
- * @return status
- **/
- @Schema(description = "The current status of the agreement. Typical values are: in process, approved and rejected.")
-
-
- public String getStatus() {
- return status;
- }
-
- public void setStatus(String status) {
- this.status = status;
- }
-
- public Agreement typeAgreement(String type) {
- this.typeAgreement = type;
- return this;
- }
-
- /**
- * The type of the agreement. For example \"commercial\".
- * @return type
- **/
- @Schema(description = "The type of the agreement. For example \"commercial\".")
-
-
- public String getTypeAgreement() {
- return typeAgreement;
- }
-
- public void setTypeAgreement(String type) {
- this.typeAgreement = type;
- }
-
- public Agreement version(String version) {
- this.version = version;
- return this;
- }
-
- /**
- * A string identifying the version of the agreement.
- * @return version
- **/
- @Schema(description = "A string identifying the version of the agreement.")
-
-
- public String getVersion() {
- return version;
- }
-
- public void setVersion(String version) {
- this.version = version;
- }
-
- public Agreement agreementSpecification(AgreementSpecificationRef agreementSpecification) {
- this.agreementSpecification = agreementSpecification;
- return this;
- }
-
- /**
- * Get agreementSpecification
- * @return agreementSpecification
- **/
- @Schema(description = "")
-
- @Valid
-
- public AgreementSpecificationRef getAgreementSpecification() {
- return agreementSpecification;
- }
-
- public void setAgreementSpecification(AgreementSpecificationRef agreementSpecification) {
- this.agreementSpecification = agreementSpecification;
- }
-
- public Agreement agreementItem(List agreementItem) {
- this.agreementItem = agreementItem;
- return this;
- }
-
- public Agreement addAgreementItemItem(AgreementItem agreementItemItem) {
- if (this.agreementItem == null) {
- this.agreementItem = new ArrayList<>();
- }
- this.agreementItem.add(agreementItemItem);
- return this;
- }
-
- /**
- * Get agreementItem
- * @return agreementItem
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getAgreementItem() {
- return agreementItem;
- }
-
- public void setAgreementItem(List agreementItem) {
- this.agreementItem = agreementItem;
- }
-
- public Agreement engagedPartyRole(List engagedPartyRole) {
- this.engagedPartyRole = engagedPartyRole;
- return this;
- }
-
- public Agreement addEngagedPartyRoleItem(PartyRoleRef engagedPartyRoleItem) {
- if (this.engagedPartyRole == null) {
- this.engagedPartyRole = new ArrayList<>();
- }
- this.engagedPartyRole.add(engagedPartyRoleItem);
- return this;
- }
-
- /**
- * Get engagedPartyRole
- * @return engagedPartyRole
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getEngagedPartyRole() {
- return engagedPartyRole;
- }
-
- public void setEngagedPartyRole(List engagedPartyRole) {
- this.engagedPartyRole = engagedPartyRole;
- }
-
- public Agreement agreementAuthorization(List agreementAuthorization) {
- this.agreementAuthorization = agreementAuthorization;
- return this;
- }
-
- public Agreement addAgreementAuthorizationItem(AgreementAuthorization agreementAuthorizationItem) {
- if (this.agreementAuthorization == null) {
- this.agreementAuthorization = new ArrayList<>();
- }
- this.agreementAuthorization.add(agreementAuthorizationItem);
- return this;
- }
-
- /**
- * Get agreementAuthorization
- * @return agreementAuthorization
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getAgreementAuthorization() {
- return agreementAuthorization;
- }
-
- public void setAgreementAuthorization(List agreementAuthorization) {
- this.agreementAuthorization = agreementAuthorization;
- }
-
- public Agreement characteristic(List characteristic) {
- this.characteristic = characteristic;
- return this;
- }
-
- public Agreement addCharacteristicItem(Characteristic characteristicItem) {
- if (this.characteristic == null) {
- this.characteristic = new ArrayList<>();
- }
- this.characteristic.add(characteristicItem);
- return this;
- }
-
- /**
- * Get characteristic
- * @return characteristic
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getCharacteristic() {
- return characteristic;
- }
-
- public void setCharacteristic(List characteristic) {
- this.characteristic = characteristic;
- }
-
- public Agreement associatedAgreement(List associatedAgreement) {
- this.associatedAgreement = associatedAgreement;
- return this;
- }
-
- public Agreement addAssociatedAgreementItem(AgreementRef associatedAgreementItem) {
- if (this.associatedAgreement == null) {
- this.associatedAgreement = new ArrayList<>();
- }
- this.associatedAgreement.add(associatedAgreementItem);
- return this;
- }
-
- /**
- * Get associatedAgreement
- * @return associatedAgreement
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getAssociatedAgreement() {
- return associatedAgreement;
- }
-
- public void setAssociatedAgreement(List associatedAgreement) {
- this.associatedAgreement = associatedAgreement;
- }
-
- public Agreement type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * The class type of the actual resource (for type extension).
- * @return type
- **/
- @Schema(description = "The class type of the actual resource (for type extension).")
-
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public Agreement schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A link to the schema describing a resource (for type extension).
- * @return schemaLocation
- **/
- @Schema(description = "A link to the schema describing a resource (for type extension).")
-
-
- public String getSchemaLocation() {
- return schemaLocation;
- }
-
- public void setSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public Agreement baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * The base type for use in polymorphic collections
- * @return baseType
- **/
- @Schema(description = "The base type for use in polymorphic collections")
-
-
- public String getBaseType() {
- return baseType;
- }
-
- public void setBaseType(String baseType) {
- this.baseType = baseType;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- Agreement agreement = (Agreement) o;
- return Objects.equals(this.agreementPeriod, agreement.agreementPeriod) &&
- Objects.equals(this.completionDate, agreement.completionDate) &&
- Objects.equals(this.description, agreement.description) &&
- Objects.equals(this.documentNumber, agreement.documentNumber) &&
- Objects.equals(this.href, agreement.href) &&
- Objects.equals(this.id, agreement.id) &&
- Objects.equals(this.initialDate, agreement.initialDate) &&
- Objects.equals(this.name, agreement.name) &&
- Objects.equals(this.statementOfIntent, agreement.statementOfIntent) &&
- Objects.equals(this.status, agreement.status) &&
- Objects.equals(this.type, agreement.type) &&
- Objects.equals(this.version, agreement.version) &&
- Objects.equals(this.agreementSpecification, agreement.agreementSpecification) &&
- Objects.equals(this.agreementItem, agreement.agreementItem) &&
- Objects.equals(this.engagedPartyRole, agreement.engagedPartyRole) &&
- Objects.equals(this.agreementAuthorization, agreement.agreementAuthorization) &&
- Objects.equals(this.characteristic, agreement.characteristic) &&
- Objects.equals(this.associatedAgreement, agreement.associatedAgreement) &&
- Objects.equals(this.type, agreement.type) &&
- Objects.equals(this.schemaLocation, agreement.schemaLocation) &&
- Objects.equals(this.baseType, agreement.baseType);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(agreementPeriod, completionDate, description, documentNumber, href, id, initialDate, name, statementOfIntent, status, type, version, agreementSpecification, agreementItem, engagedPartyRole, agreementAuthorization, characteristic, associatedAgreement, type, schemaLocation, baseType);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class Agreement {\n");
-
- sb.append(" agreementPeriod: ").append(toIndentedString(agreementPeriod)).append("\n");
- sb.append(" completionDate: ").append(toIndentedString(completionDate)).append("\n");
- sb.append(" description: ").append(toIndentedString(description)).append("\n");
- sb.append(" documentNumber: ").append(toIndentedString(documentNumber)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" initialDate: ").append(toIndentedString(initialDate)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" statementOfIntent: ").append(toIndentedString(statementOfIntent)).append("\n");
- sb.append(" status: ").append(toIndentedString(status)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" version: ").append(toIndentedString(version)).append("\n");
- sb.append(" agreementSpecification: ").append(toIndentedString(agreementSpecification)).append("\n");
- sb.append(" agreementItem: ").append(toIndentedString(agreementItem)).append("\n");
- sb.append(" engagedPartyRole: ").append(toIndentedString(engagedPartyRole)).append("\n");
- sb.append(" agreementAuthorization: ").append(toIndentedString(agreementAuthorization)).append("\n");
- sb.append(" characteristic: ").append(toIndentedString(characteristic)).append("\n");
- sb.append(" associatedAgreement: ").append(toIndentedString(associatedAgreement)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
-
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementAttachment.java b/src/main/java/org/etsi/osl/tmf/am651/model/AgreementAttachment.java
deleted file mode 100644
index fbff9a22e8cda0c213272fe5ad6adc71fc0f05b0..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementAttachment.java
+++ /dev/null
@@ -1,200 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-
-/**
- * Represents a complementary piece of information to describe the agreement. Could be a document, picture, a video or any kind of multimedia content.
- */
-@Schema(description = "Represents a complementary piece of information to describe the agreement. Could be a document, picture, a video or any kind of multimedia content.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-
-public class AgreementAttachment {
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("type")
- private String typeAgreementAttachment = null;
-
- @JsonProperty("url")
- private String url = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public AgreementAttachment href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the attachment
- * @return href
- **/
- @Schema(description = "Reference of the attachment")
-
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public AgreementAttachment id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Unique identifier of the attachment
- * @return id
- **/
- @Schema(description = "Unique identifier of the attachment")
-
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public AgreementAttachment typeAgreementAttachment(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * Attachment type such as video, picture
- * @return type
- **/
- @Schema(description = "Attachment type such as video, picture")
-
-
- public String getTypeAgreementAttachment() {
- return typeAgreementAttachment;
- }
-
- public void setTypeAgreementAttachment(String type) {
- this.typeAgreementAttachment = type;
- }
-
- public AgreementAttachment url(String url) {
- this.url = url;
- return this;
- }
-
- /**
- * Uniform Resource Locator, is a web page address (a subset of URI)
- * @return url
- **/
- @Schema(description = "Uniform Resource Locator, is a web page address (a subset of URI)")
-
-
- public String getUrl() {
- return url;
- }
-
- public void setUrl(String url) {
- this.url = url;
- }
-
- public AgreementAttachment type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * The class type of the actual resource (for type extension).
- * @return type
- **/
- @Schema(description = "The class type of the actual resource (for type extension).")
-
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AgreementAttachment agreementAttachment = (AgreementAttachment) o;
- return Objects.equals(this.href, agreementAttachment.href) &&
- Objects.equals(this.id, agreementAttachment.id) &&
- Objects.equals(this.type, agreementAttachment.type) &&
- Objects.equals(this.url, agreementAttachment.url) &&
- Objects.equals(this.type, agreementAttachment.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(href, id, type, url, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AgreementAttachment {\n");
-
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" url: ").append(toIndentedString(url)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
-
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementAuthorization.java b/src/main/java/org/etsi/osl/tmf/am651/model/AgreementAuthorization.java
deleted file mode 100644
index 23fe3df44f0ddb2af58e925be7347e3e89f3e011..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementAuthorization.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.time.OffsetDateTime;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * A business participant that is responsible for approving the agreement.
- */
-@Schema(description = "A business participant that is responsible for approving the agreement.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-
-public class AgreementAuthorization {
- @JsonProperty("date")
- private OffsetDateTime date = null;
-
- @JsonProperty("signatureRepresentation")
- private String signatureRepresentation = null;
-
- @JsonProperty("state")
- private String state = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public AgreementAuthorization date(OffsetDateTime date) {
- this.date = date;
- return this;
- }
-
- /**
- * The date associated with the authorization state.
- * @return date
- **/
- @Schema(description = "The date associated with the authorization state.")
-
- @Valid
-
- public OffsetDateTime getDate() {
- return date;
- }
-
- public void setDate(OffsetDateTime date) {
- this.date = date;
- }
-
- public AgreementAuthorization signatureRepresentation(String signatureRepresentation) {
- this.signatureRepresentation = signatureRepresentation;
- return this;
- }
-
- /**
- * Indication that represents whether the signature is a physical paper signature or a digital signature.
- * @return signatureRepresentation
- **/
- @Schema(description = "Indication that represents whether the signature is a physical paper signature or a digital signature.")
-
-
- public String getSignatureRepresentation() {
- return signatureRepresentation;
- }
-
- public void setSignatureRepresentation(String signatureRepresentation) {
- this.signatureRepresentation = signatureRepresentation;
- }
-
- public AgreementAuthorization state(String state) {
- this.state = state;
- return this;
- }
-
- /**
- * Current status of the authorization, for example in process, approved, rejected.
- * @return state
- **/
- @Schema(description = "Current status of the authorization, for example in process, approved, rejected.")
-
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-
- public AgreementAuthorization type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * The class type of the actual resource (for type extension).
- * @return type
- **/
- @Schema(description = "The class type of the actual resource (for type extension).")
-
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AgreementAuthorization agreementAuthorization = (AgreementAuthorization) o;
- return Objects.equals(this.date, agreementAuthorization.date) &&
- Objects.equals(this.signatureRepresentation, agreementAuthorization.signatureRepresentation) &&
- Objects.equals(this.state, agreementAuthorization.state) &&
- Objects.equals(this.type, agreementAuthorization.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(date, signatureRepresentation, state, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AgreementAuthorization {\n");
-
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" signatureRepresentation: ").append(toIndentedString(signatureRepresentation)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
-
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementCreate.java b/src/main/java/org/etsi/osl/tmf/am651/model/AgreementCreate.java
deleted file mode 100644
index 841688a9cf84e16e3c7756af5644b1dfbfe28c3c..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementCreate.java
+++ /dev/null
@@ -1,606 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.time.OffsetDateTime;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.TimePeriod;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-import jakarta.validation.constraints.NotNull;
-
-/**
- * An agreement represents a contract or arrangement, either written or verbal and sometimes enforceable by law, such as a service level agreement or a customer price agreement. An agreement involves a number of other business entities, such as products, services, and resources and/or their specifications. Skipped properties: id,href
- */
-@Schema(description = "An agreement represents a contract or arrangement, either written or verbal and sometimes enforceable by law, such as a service level agreement or a customer price agreement. An agreement involves a number of other business entities, such as products, services, and resources and/or their specifications. Skipped properties: id,href")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-
-public class AgreementCreate {
- @JsonProperty("agreementPeriod")
- private TimePeriod agreementPeriod = null;
-
- @JsonProperty("completionDate")
- private TimePeriod completionDate = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("documentNumber")
- private Integer documentNumber = null;
-
- @JsonProperty("initialDate")
- private OffsetDateTime initialDate = null;
-
- @JsonProperty("name")
- private String name = null;
-
- @JsonProperty("statementOfIntent")
- private String statementOfIntent = null;
-
- @JsonProperty("status")
- private String status = null;
-
- @JsonProperty("type")
- private String typeAgreementCreate = null;
-
- @JsonProperty("version")
- private String version = null;
-
- @JsonProperty("agreementSpecification")
- private AgreementSpecificationRef agreementSpecification = null;
-
- @JsonProperty("agreementItem")
- @Valid
- private List agreementItem = new ArrayList<>();
-
- @JsonProperty("engagedPartyRole")
- @Valid
- private List engagedPartyRole = new ArrayList<>();
-
- @JsonProperty("agreementAuthorization")
- @Valid
- private List agreementAuthorization = null;
-
- @JsonProperty("characteristic")
- @Valid
- private List characteristic = null;
-
- @JsonProperty("associatedAgreement")
- @Valid
- private List associatedAgreement = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- public AgreementCreate agreementPeriod(TimePeriod agreementPeriod) {
- this.agreementPeriod = agreementPeriod;
- return this;
- }
-
- /**
- * The time period during which the Agreement is in effect.
- * @return agreementPeriod
- **/
- @Schema(description = "The time period during which the Agreement is in effect.")
-
- @Valid
-
- public TimePeriod getAgreementPeriod() {
- return agreementPeriod;
- }
-
- public void setAgreementPeriod(TimePeriod agreementPeriod) {
- this.agreementPeriod = agreementPeriod;
- }
-
- public AgreementCreate completionDate(TimePeriod completionDate) {
- this.completionDate = completionDate;
- return this;
- }
-
- /**
- * Date at which the agreement is completed
- * @return completionDate
- **/
- @Schema(description = "Date at which the agreement is completed")
-
- @Valid
-
- public TimePeriod getCompletionDate() {
- return completionDate;
- }
-
- public void setCompletionDate(TimePeriod completionDate) {
- this.completionDate = completionDate;
- }
-
- public AgreementCreate description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * Narrative that explains the agreement and details about the it , such as why the agreement is taking place.
- * @return description
- **/
- @Schema(description = "Narrative that explains the agreement and details about the it , such as why the agreement is taking place.")
-
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public AgreementCreate documentNumber(Integer documentNumber) {
- this.documentNumber = documentNumber;
- return this;
- }
-
- /**
- * A reference number assigned to an Agreement that follows a prescribed numbering system.
- * @return documentNumber
- **/
- @Schema(description = "A reference number assigned to an Agreement that follows a prescribed numbering system.")
-
-
- public Integer getDocumentNumber() {
- return documentNumber;
- }
-
- public void setDocumentNumber(Integer documentNumber) {
- this.documentNumber = documentNumber;
- }
-
- public AgreementCreate initialDate(OffsetDateTime initialDate) {
- this.initialDate = initialDate;
- return this;
- }
-
- /**
- * Date at which the agreement was initialized
- * @return initialDate
- **/
- @Schema(description = "Date at which the agreement was initialized")
-
- @Valid
-
- public OffsetDateTime getInitialDate() {
- return initialDate;
- }
-
- public void setInitialDate(OffsetDateTime initialDate) {
- this.initialDate = initialDate;
- }
-
- public AgreementCreate name(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * A human-readable name for the agreement
- * @return name
- **/
- @Schema(description = "A human-readable name for the agreement")
- @NotNull
-
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public AgreementCreate statementOfIntent(String statementOfIntent) {
- this.statementOfIntent = statementOfIntent;
- return this;
- }
-
- /**
- * An overview and goals of the Agreement.
- * @return statementOfIntent
- **/
- @Schema(description = "An overview and goals of the Agreement.")
-
-
- public String getStatementOfIntent() {
- return statementOfIntent;
- }
-
- public void setStatementOfIntent(String statementOfIntent) {
- this.statementOfIntent = statementOfIntent;
- }
-
- public AgreementCreate status(String status) {
- this.status = status;
- return this;
- }
-
- /**
- * The current status of the agreement. Typical values are: in process, approved and rejected.
- * @return status
- **/
- @Schema(description = "The current status of the agreement. Typical values are: in process, approved and rejected.")
-
-
- public String getStatus() {
- return status;
- }
-
- public void setStatus(String status) {
- this.status = status;
- }
-
- public AgreementCreate typeAgreementCreate(String type) {
- this.typeAgreementCreate = type;
- return this;
- }
-
- /**
- * The type of the agreement. For example \"commercial\".
- * @return type
- **/
- @Schema(description = "The type of the agreement. For example \"commercial\".")
- @NotNull
-
-
- public String getTypeAgreementCreate() {
- return typeAgreementCreate;
- }
-
- public void setTypeAgreementCreate(String type) {
- this.typeAgreementCreate = type;
- }
-
- public AgreementCreate version(String version) {
- this.version = version;
- return this;
- }
-
- /**
- * A string identifying the version of the agreement.
- * @return version
- **/
- @Schema(description = "A string identifying the version of the agreement.")
-
-
- public String getVersion() {
- return version;
- }
-
- public void setVersion(String version) {
- this.version = version;
- }
-
- public AgreementCreate agreementSpecification(AgreementSpecificationRef agreementSpecification) {
- this.agreementSpecification = agreementSpecification;
- return this;
- }
-
- /**
- * Get agreementSpecification
- * @return agreementSpecification
- **/
- @Schema(description = "")
-
- @Valid
-
- public AgreementSpecificationRef getAgreementSpecification() {
- return agreementSpecification;
- }
-
- public void setAgreementSpecification(AgreementSpecificationRef agreementSpecification) {
- this.agreementSpecification = agreementSpecification;
- }
-
- public AgreementCreate agreementItem(List agreementItem) {
- this.agreementItem = agreementItem;
- return this;
- }
-
- public AgreementCreate addAgreementItemItem(AgreementItem agreementItemItem) {
- this.agreementItem.add(agreementItemItem);
- return this;
- }
-
- /**
- * Get agreementItem
- * @return agreementItem
- **/
- @Schema(description = "")
- @NotNull
-
- @Valid
-
- public List getAgreementItem() {
- return agreementItem;
- }
-
- public void setAgreementItem(List agreementItem) {
- this.agreementItem = agreementItem;
- }
-
- public AgreementCreate engagedPartyRole(List engagedPartyRole) {
- this.engagedPartyRole = engagedPartyRole;
- return this;
- }
-
- public AgreementCreate addEngagedPartyRoleItem(PartyRoleRef engagedPartyRoleItem) {
- this.engagedPartyRole.add(engagedPartyRoleItem);
- return this;
- }
-
- /**
- * Get engagedPartyRole
- * @return engagedPartyRole
- **/
- @Schema(description = "")
- @NotNull
-
- @Valid
-
- public List getEngagedPartyRole() {
- return engagedPartyRole;
- }
-
- public void setEngagedPartyRole(List engagedPartyRole) {
- this.engagedPartyRole = engagedPartyRole;
- }
-
- public AgreementCreate agreementAuthorization(List agreementAuthorization) {
- this.agreementAuthorization = agreementAuthorization;
- return this;
- }
-
- public AgreementCreate addAgreementAuthorizationItem(AgreementAuthorization agreementAuthorizationItem) {
- if (this.agreementAuthorization == null) {
- this.agreementAuthorization = new ArrayList<>();
- }
- this.agreementAuthorization.add(agreementAuthorizationItem);
- return this;
- }
-
- /**
- * Get agreementAuthorization
- * @return agreementAuthorization
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getAgreementAuthorization() {
- return agreementAuthorization;
- }
-
- public void setAgreementAuthorization(List agreementAuthorization) {
- this.agreementAuthorization = agreementAuthorization;
- }
-
- public AgreementCreate characteristic(List characteristic) {
- this.characteristic = characteristic;
- return this;
- }
-
- public AgreementCreate addCharacteristicItem(Characteristic characteristicItem) {
- if (this.characteristic == null) {
- this.characteristic = new ArrayList<>();
- }
- this.characteristic.add(characteristicItem);
- return this;
- }
-
- /**
- * Get characteristic
- * @return characteristic
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getCharacteristic() {
- return characteristic;
- }
-
- public void setCharacteristic(List characteristic) {
- this.characteristic = characteristic;
- }
-
- public AgreementCreate associatedAgreement(List associatedAgreement) {
- this.associatedAgreement = associatedAgreement;
- return this;
- }
-
- public AgreementCreate addAssociatedAgreementItem(AgreementRef associatedAgreementItem) {
- if (this.associatedAgreement == null) {
- this.associatedAgreement = new ArrayList<>();
- }
- this.associatedAgreement.add(associatedAgreementItem);
- return this;
- }
-
- /**
- * Get associatedAgreement
- * @return associatedAgreement
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getAssociatedAgreement() {
- return associatedAgreement;
- }
-
- public void setAssociatedAgreement(List associatedAgreement) {
- this.associatedAgreement = associatedAgreement;
- }
-
- public AgreementCreate type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * The class type of the actual resource (for type extension).
- * @return type
- **/
- @Schema(description = "The class type of the actual resource (for type extension).")
-
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public AgreementCreate schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A link to the schema describing a resource (for type extension).
- * @return schemaLocation
- **/
- @Schema(description = "A link to the schema describing a resource (for type extension).")
-
-
- public String getSchemaLocation() {
- return schemaLocation;
- }
-
- public void setSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public AgreementCreate baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * The base type for use in polymorphic collections
- * @return baseType
- **/
- @Schema(description = "The base type for use in polymorphic collections")
-
-
- public String getBaseType() {
- return baseType;
- }
-
- public void setBaseType(String baseType) {
- this.baseType = baseType;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AgreementCreate agreementCreate = (AgreementCreate) o;
- return Objects.equals(this.agreementPeriod, agreementCreate.agreementPeriod) &&
- Objects.equals(this.completionDate, agreementCreate.completionDate) &&
- Objects.equals(this.description, agreementCreate.description) &&
- Objects.equals(this.documentNumber, agreementCreate.documentNumber) &&
- Objects.equals(this.initialDate, agreementCreate.initialDate) &&
- Objects.equals(this.name, agreementCreate.name) &&
- Objects.equals(this.statementOfIntent, agreementCreate.statementOfIntent) &&
- Objects.equals(this.status, agreementCreate.status) &&
- Objects.equals(this.type, agreementCreate.type) &&
- Objects.equals(this.version, agreementCreate.version) &&
- Objects.equals(this.agreementSpecification, agreementCreate.agreementSpecification) &&
- Objects.equals(this.agreementItem, agreementCreate.agreementItem) &&
- Objects.equals(this.engagedPartyRole, agreementCreate.engagedPartyRole) &&
- Objects.equals(this.agreementAuthorization, agreementCreate.agreementAuthorization) &&
- Objects.equals(this.characteristic, agreementCreate.characteristic) &&
- Objects.equals(this.associatedAgreement, agreementCreate.associatedAgreement) &&
- Objects.equals(this.type, agreementCreate.type) &&
- Objects.equals(this.schemaLocation, agreementCreate.schemaLocation) &&
- Objects.equals(this.baseType, agreementCreate.baseType);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(agreementPeriod, completionDate, description, documentNumber, initialDate, name, statementOfIntent, status, type, version, agreementSpecification, agreementItem, engagedPartyRole, agreementAuthorization, characteristic, associatedAgreement, type, schemaLocation, baseType);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AgreementCreate {\n");
-
- sb.append(" agreementPeriod: ").append(toIndentedString(agreementPeriod)).append("\n");
- sb.append(" completionDate: ").append(toIndentedString(completionDate)).append("\n");
- sb.append(" description: ").append(toIndentedString(description)).append("\n");
- sb.append(" documentNumber: ").append(toIndentedString(documentNumber)).append("\n");
- sb.append(" initialDate: ").append(toIndentedString(initialDate)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" statementOfIntent: ").append(toIndentedString(statementOfIntent)).append("\n");
- sb.append(" status: ").append(toIndentedString(status)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" version: ").append(toIndentedString(version)).append("\n");
- sb.append(" agreementSpecification: ").append(toIndentedString(agreementSpecification)).append("\n");
- sb.append(" agreementItem: ").append(toIndentedString(agreementItem)).append("\n");
- sb.append(" engagedPartyRole: ").append(toIndentedString(engagedPartyRole)).append("\n");
- sb.append(" agreementAuthorization: ").append(toIndentedString(agreementAuthorization)).append("\n");
- sb.append(" characteristic: ").append(toIndentedString(characteristic)).append("\n");
- sb.append(" associatedAgreement: ").append(toIndentedString(associatedAgreement)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
-
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementItem.java b/src/main/java/org/etsi/osl/tmf/am651/model/AgreementItem.java
deleted file mode 100644
index a07440a16ef1a71e1628f7fc55ad6674544411e9..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementItem.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * A part of the agreement expressed in terms of a product offering and possibly including specific terms and conditions.
- */
-@Schema(description = "A part of the agreement expressed in terms of a product offering and possibly including specific terms and conditions.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-
-public class AgreementItem {
- @JsonProperty("productOffering")
- @Valid
- private List productOffering = null;
-
- @JsonProperty("termOrCondition")
- @Valid
- private List termOrCondition = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public AgreementItem productOffering(List productOffering) {
- this.productOffering = productOffering;
- return this;
- }
-
- public AgreementItem addProductOfferingItem(ProductOfferingRef productOfferingItem) {
- if (this.productOffering == null) {
- this.productOffering = new ArrayList<>();
- }
- this.productOffering.add(productOfferingItem);
- return this;
- }
-
- /**
- * Get productOffering
- * @return productOffering
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getProductOffering() {
- return productOffering;
- }
-
- public void setProductOffering(List productOffering) {
- this.productOffering = productOffering;
- }
-
- public AgreementItem termOrCondition(List termOrCondition) {
- this.termOrCondition = termOrCondition;
- return this;
- }
-
- public AgreementItem addTermOrConditionItem(AgreementTermOrCondition termOrConditionItem) {
- if (this.termOrCondition == null) {
- this.termOrCondition = new ArrayList<>();
- }
- this.termOrCondition.add(termOrConditionItem);
- return this;
- }
-
- /**
- * Get termOrCondition
- * @return termOrCondition
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getTermOrCondition() {
- return termOrCondition;
- }
-
- public void setTermOrCondition(List termOrCondition) {
- this.termOrCondition = termOrCondition;
- }
-
- public AgreementItem type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * The class type of the actual resource (for type extension).
- * @return type
- **/
- @Schema(description = "The class type of the actual resource (for type extension).")
-
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AgreementItem agreementItem = (AgreementItem) o;
- return Objects.equals(this.productOffering, agreementItem.productOffering) &&
- Objects.equals(this.termOrCondition, agreementItem.termOrCondition) &&
- Objects.equals(this.type, agreementItem.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(productOffering, termOrCondition, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AgreementItem {\n");
-
- sb.append(" productOffering: ").append(toIndentedString(productOffering)).append("\n");
- sb.append(" termOrCondition: ").append(toIndentedString(termOrCondition)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
-
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementRef.java b/src/main/java/org/etsi/osl/tmf/am651/model/AgreementRef.java
deleted file mode 100644
index 98aa30272e18867c51d9b201d45074ca643db486..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementRef.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.BaseRootNamedEntity;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.persistence.Entity;
-import jakarta.validation.constraints.NotNull;
-
-/**
- * Agreement reference. An agreement represents a contract or arrangement, either written or verbal and sometimes enforceable by law, such as a service level agreement or a customer price agreement. An agreement involves a number of other business entities, such as products, services, and resources and/or their specifications.
- */
-@Schema(description = "Agreement reference. An agreement represents a contract or arrangement, either written or verbal and sometimes enforceable by law, such as a service level agreement or a customer price agreement. An agreement involves a number of other business entities, such as products, services, and resources and/or their specifications.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-@Entity(name = "AgreementRef")
-public class AgreementRef extends BaseRootNamedEntity{
-
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("@referredType")
- private String referredType = null;
-
-
- public AgreementRef id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Identifier of the agreement
- * @return id
- **/
- @Schema(description = "Identifier of the agreement")
- @NotNull
-
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
-
- /**
- * The actual type of the target instance when needed for disambiguation.
- * @return referredType
- **/
- @Schema(description = "The actual type of the target instance when needed for disambiguation.")
-
-
- public String getReferredType() {
- return referredType;
- }
-
- public void setReferredType(String referredType) {
- this.referredType = referredType;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AgreementRef agreementRef = (AgreementRef) o;
- return Objects.equals(this.href, agreementRef.href) &&
- Objects.equals(this.id, agreementRef.id) &&
- Objects.equals(this.name, agreementRef.name) &&
- Objects.equals(this.referredType, agreementRef.referredType);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AgreementRef {\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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
-
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecCharacteristic.java b/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecCharacteristic.java
deleted file mode 100644
index 1ae0e42ba56fe0b462b645b1b1285f33ea191c1f..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecCharacteristic.java
+++ /dev/null
@@ -1,288 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.TimePeriod;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * A characteristic quality or distinctive feature of an agreement.
- */
-@Schema(description = "A characteristic quality or distinctive feature of an agreement.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-
-public class AgreementSpecCharacteristic {
- @JsonProperty("configurable")
- private Boolean configurable = null;
-
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("name")
- private String name = null;
-
- @JsonProperty("validFor")
- private TimePeriod validFor = null;
-
- @JsonProperty("valueType")
- private String valueType = null;
-
- @JsonProperty("specCharacteristicValue")
- @Valid
- private List specCharacteristicValue = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- public AgreementSpecCharacteristic configurable(Boolean configurable) {
- this.configurable = configurable;
- return this;
- }
-
- /**
- * If true, the Boolean indicates that the characteristic is configurable
- * @return configurable
- **/
- @Schema(description = "If true, the Boolean indicates that the characteristic is configurable")
-
-
- public Boolean isConfigurable() {
- return configurable;
- }
-
- public void setConfigurable(Boolean configurable) {
- this.configurable = configurable;
- }
-
- public AgreementSpecCharacteristic description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * A narrative that explains in detail what the characteristic is
- * @return description
- **/
- @Schema(description = "A narrative that explains in detail what the characteristic is")
-
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public AgreementSpecCharacteristic name(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * Name of the characteristic being specified.
- * @return name
- **/
- @Schema(description = "Name of the characteristic being specified.")
-
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public AgreementSpecCharacteristic validFor(TimePeriod validFor) {
- this.validFor = validFor;
- return this;
- }
-
- /**
- * The period for which the specification characteristic is valid
- * @return validFor
- **/
- @Schema(description = "The period for which the specification characteristic is valid")
-
- @Valid
-
- public TimePeriod getValidFor() {
- return validFor;
- }
-
- public void setValidFor(TimePeriod validFor) {
- this.validFor = validFor;
- }
-
- public AgreementSpecCharacteristic valueType(String valueType) {
- this.valueType = valueType;
- return this;
- }
-
- /**
- * A kind of value that the characteristic can take on, such as numeric, text and so forth
- * @return valueType
- **/
- @Schema(description = "A kind of value that the characteristic can take on, such as numeric, text and so forth")
-
-
- public String getValueType() {
- return valueType;
- }
-
- public void setValueType(String valueType) {
- this.valueType = valueType;
- }
-
- public AgreementSpecCharacteristic specCharacteristicValue(List specCharacteristicValue) {
- this.specCharacteristicValue = specCharacteristicValue;
- return this;
- }
-
- public AgreementSpecCharacteristic addSpecCharacteristicValueItem(AgreementSpecCharacteristicValue specCharacteristicValueItem) {
- if (this.specCharacteristicValue == null) {
- this.specCharacteristicValue = new ArrayList<>();
- }
- this.specCharacteristicValue.add(specCharacteristicValueItem);
- return this;
- }
-
- /**
- * Get specCharacteristicValue
- * @return specCharacteristicValue
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getSpecCharacteristicValue() {
- return specCharacteristicValue;
- }
-
- public void setSpecCharacteristicValue(List specCharacteristicValue) {
- this.specCharacteristicValue = specCharacteristicValue;
- }
-
- public AgreementSpecCharacteristic type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * The class type of the actual resource (for type extension).
- * @return type
- **/
- @Schema(description = "The class type of the actual resource (for type extension).")
-
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public AgreementSpecCharacteristic schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A link to the schema describing a resource (for type extension).
- * @return schemaLocation
- **/
- @Schema(description = "A link to the schema describing a resource (for type extension).")
-
-
- public String getSchemaLocation() {
- return schemaLocation;
- }
-
- public void setSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AgreementSpecCharacteristic agreementSpecCharacteristic = (AgreementSpecCharacteristic) o;
- return Objects.equals(this.configurable, agreementSpecCharacteristic.configurable) &&
- Objects.equals(this.description, agreementSpecCharacteristic.description) &&
- Objects.equals(this.name, agreementSpecCharacteristic.name) &&
- Objects.equals(this.validFor, agreementSpecCharacteristic.validFor) &&
- Objects.equals(this.valueType, agreementSpecCharacteristic.valueType) &&
- Objects.equals(this.specCharacteristicValue, agreementSpecCharacteristic.specCharacteristicValue) &&
- Objects.equals(this.type, agreementSpecCharacteristic.type) &&
- Objects.equals(this.schemaLocation, agreementSpecCharacteristic.schemaLocation);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(configurable, description, name, validFor, valueType, specCharacteristicValue, type, schemaLocation);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AgreementSpecCharacteristic {\n");
-
- sb.append(" configurable: ").append(toIndentedString(configurable)).append("\n");
- sb.append(" description: ").append(toIndentedString(description)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" validFor: ").append(toIndentedString(validFor)).append("\n");
- sb.append(" valueType: ").append(toIndentedString(valueType)).append("\n");
- sb.append(" specCharacteristicValue: ").append(toIndentedString(specCharacteristicValue)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
-
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecCharacteristicValue.java b/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecCharacteristicValue.java
deleted file mode 100644
index 1e3c66153267ce978e7fa5cff1ff4a75380d22d4..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecCharacteristicValue.java
+++ /dev/null
@@ -1,276 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.TimePeriod;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * A number or text that can be assigned to an agreement specification characteristic.
- */
-@Schema(description = "A number or text that can be assigned to an agreement specification characteristic.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-
-public class AgreementSpecCharacteristicValue {
- @JsonProperty("default")
- private Boolean _default = null;
-
- @JsonProperty("unitOfMeasure")
- private String unitOfMeasure = null;
-
- @JsonProperty("validFor")
- private TimePeriod validFor = null;
-
- @JsonProperty("value")
- private String value = null;
-
- @JsonProperty("valueFrom")
- private String valueFrom = null;
-
- @JsonProperty("valueTo")
- private String valueTo = null;
-
- @JsonProperty("valueType")
- private String valueType = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public AgreementSpecCharacteristicValue _default(Boolean _default) {
- this._default = _default;
- return this;
- }
-
- /**
- * Indicates if the value is the default value for a characteristic
- * @return _default
- **/
- @Schema(description = "Indicates if the value is the default value for a characteristic")
-
-
- public Boolean isDefault() {
- return _default;
- }
-
- public void setDefault(Boolean _default) {
- this._default = _default;
- }
-
- public AgreementSpecCharacteristicValue unitOfMeasure(String unitOfMeasure) {
- this.unitOfMeasure = unitOfMeasure;
- return this;
- }
-
- /**
- * Unit of measure for the characteristic, such as minutes, gigabytes (GB) and so on.
- * @return unitOfMeasure
- **/
- @Schema(description = "Unit of measure for the characteristic, such as minutes, gigabytes (GB) and so on.")
-
-
- public String getUnitOfMeasure() {
- return unitOfMeasure;
- }
-
- public void setUnitOfMeasure(String unitOfMeasure) {
- this.unitOfMeasure = unitOfMeasure;
- }
-
- public AgreementSpecCharacteristicValue validFor(TimePeriod validFor) {
- this.validFor = validFor;
- return this;
- }
-
- /**
- * The period of time for which a value is applicable
- * @return validFor
- **/
- @Schema(description = "The period of time for which a value is applicable")
-
- @Valid
-
- public TimePeriod getValidFor() {
- return validFor;
- }
-
- public void setValidFor(TimePeriod validFor) {
- this.validFor = validFor;
- }
-
- public AgreementSpecCharacteristicValue value(String value) {
- this.value = value;
- return this;
- }
-
- /**
- * A discrete value that the characteristic can take on
- * @return value
- **/
- @Schema(description = "A discrete value that the characteristic can take on")
-
-
- public String getValue() {
- return value;
- }
-
- public void setValue(String value) {
- this.value = value;
- }
-
- public AgreementSpecCharacteristicValue valueFrom(String valueFrom) {
- this.valueFrom = valueFrom;
- return this;
- }
-
- /**
- * The low range value that a characteristic can take on
- * @return valueFrom
- **/
- @Schema(description = "The low range value that a characteristic can take on")
-
-
- public String getValueFrom() {
- return valueFrom;
- }
-
- public void setValueFrom(String valueFrom) {
- this.valueFrom = valueFrom;
- }
-
- public AgreementSpecCharacteristicValue valueTo(String valueTo) {
- this.valueTo = valueTo;
- return this;
- }
-
- /**
- * The upper range value that a characteristic can take on
- * @return valueTo
- **/
- @Schema(description = "The upper range value that a characteristic can take on")
-
-
- public String getValueTo() {
- return valueTo;
- }
-
- public void setValueTo(String valueTo) {
- this.valueTo = valueTo;
- }
-
- public AgreementSpecCharacteristicValue valueType(String valueType) {
- this.valueType = valueType;
- return this;
- }
-
- /**
- * A kind of value that the characteristic can take on, such as numeric, text, and so forth
- * @return valueType
- **/
- @Schema(description = "A kind of value that the characteristic can take on, such as numeric, text, and so forth")
-
-
- public String getValueType() {
- return valueType;
- }
-
- public void setValueType(String valueType) {
- this.valueType = valueType;
- }
-
- public AgreementSpecCharacteristicValue type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * The class type of the actual resource (for type extension).
- * @return type
- **/
- @Schema(description = "The class type of the actual resource (for type extension).")
-
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AgreementSpecCharacteristicValue agreementSpecCharacteristicValue = (AgreementSpecCharacteristicValue) o;
- return Objects.equals(this._default, agreementSpecCharacteristicValue._default) &&
- Objects.equals(this.unitOfMeasure, agreementSpecCharacteristicValue.unitOfMeasure) &&
- Objects.equals(this.validFor, agreementSpecCharacteristicValue.validFor) &&
- Objects.equals(this.value, agreementSpecCharacteristicValue.value) &&
- Objects.equals(this.valueFrom, agreementSpecCharacteristicValue.valueFrom) &&
- Objects.equals(this.valueTo, agreementSpecCharacteristicValue.valueTo) &&
- Objects.equals(this.valueType, agreementSpecCharacteristicValue.valueType) &&
- Objects.equals(this.type, agreementSpecCharacteristicValue.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(_default, unitOfMeasure, validFor, value, valueFrom, valueTo, valueType, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AgreementSpecCharacteristicValue {\n");
-
- sb.append(" _default: ").append(toIndentedString(_default)).append("\n");
- sb.append(" unitOfMeasure: ").append(toIndentedString(unitOfMeasure)).append("\n");
- sb.append(" validFor: ").append(toIndentedString(validFor)).append("\n");
- sb.append(" value: ").append(toIndentedString(value)).append("\n");
- sb.append(" valueFrom: ").append(toIndentedString(valueFrom)).append("\n");
- sb.append(" valueTo: ").append(toIndentedString(valueTo)).append("\n");
- sb.append(" valueType: ").append(toIndentedString(valueType)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
-
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecification.java b/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecification.java
deleted file mode 100644
index 86b99c1e006c81314ffdf1592aff553558e7e797..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecification.java
+++ /dev/null
@@ -1,548 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.time.OffsetDateTime;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.TimePeriod;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-import jakarta.validation.constraints.NotNull;
-
-/**
- * A template of an agreement that can be used when establishing partnerships.
- */
-@Schema(description = "A template of an agreement that can be used when establishing partnerships.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-
-public class AgreementSpecification {
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("isBundle")
- private Boolean isBundle = null;
-
- @JsonProperty("lastUpdate")
- private OffsetDateTime lastUpdate = null;
-
- @JsonProperty("lifecycleStatus")
- private String lifecycleStatus = null;
-
- @JsonProperty("name")
- private String name = null;
-
- @JsonProperty("validFor")
- private TimePeriod validFor = null;
-
- @JsonProperty("version")
- private String version = null;
-
- @JsonProperty("serviceCategory")
- private CategoryRef serviceCategory = null;
-
- @JsonProperty("specCharacteristic")
- @Valid
- private List specCharacteristic = null;
-
- @JsonProperty("relatedParty")
- @Valid
- private List relatedParty = null;
-
- @JsonProperty("attachment")
- @Valid
- private List attachment = null;
-
- @JsonProperty("specificationRelationship")
- @Valid
- private List specificationRelationship = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- public AgreementSpecification description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * A narrative that explains in detail what the agreement specification is about.
- * @return description
- **/
- @Schema(description = "A narrative that explains in detail what the agreement specification is about.")
-
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public AgreementSpecification href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of the agreement specification
- * @return href
- **/
- @Schema(description = "Reference of the agreement specification")
-
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public AgreementSpecification id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Unique identifier of the agreement specification
- * @return id
- **/
- @Schema(description = "Unique identifier of the agreement specification")
-
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public AgreementSpecification isBundle(Boolean isBundle) {
- this.isBundle = isBundle;
- return this;
- }
-
- /**
- * Indicates that this agreement specification is a grouping of other agreement specifications. The list of bundled agreement specifications is provided via the specificationRelationship property.
- * @return isBundle
- **/
- @Schema(description = "Indicates that this agreement specification is a grouping of other agreement specifications. The list of bundled agreement specifications is provided via the specificationRelationship property.")
-
-
- public Boolean isIsBundle() {
- return isBundle;
- }
-
- public void setIsBundle(Boolean isBundle) {
- this.isBundle = isBundle;
- }
-
- public AgreementSpecification lastUpdate(OffsetDateTime lastUpdate) {
- this.lastUpdate = lastUpdate;
- return this;
- }
-
- /**
- * Date and time of the last update
- * @return lastUpdate
- **/
- @Schema(description = "Date and time of the last update")
-
- @Valid
-
- public OffsetDateTime getLastUpdate() {
- return lastUpdate;
- }
-
- public void setLastUpdate(OffsetDateTime lastUpdate) {
- this.lastUpdate = lastUpdate;
- }
-
- public AgreementSpecification lifecycleStatus(String lifecycleStatus) {
- this.lifecycleStatus = lifecycleStatus;
- return this;
- }
-
- /**
- * Indicates the current lifecycle status
- * @return lifecycleStatus
- **/
- @Schema(description = "Indicates the current lifecycle status")
-
-
- public String getLifecycleStatus() {
- return lifecycleStatus;
- }
-
- public void setLifecycleStatus(String lifecycleStatus) {
- this.lifecycleStatus = lifecycleStatus;
- }
-
- public AgreementSpecification name(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * Name of the agreement specification
- * @return name
- **/
- @Schema(description = "Name of the agreement specification")
- @NotNull
-
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public AgreementSpecification validFor(TimePeriod validFor) {
- this.validFor = validFor;
- return this;
- }
-
- /**
- * The period for which the agreement specification is valid
- * @return validFor
- **/
- @Schema(description = "The period for which the agreement specification is valid")
-
- @Valid
-
- public TimePeriod getValidFor() {
- return validFor;
- }
-
- public void setValidFor(TimePeriod validFor) {
- this.validFor = validFor;
- }
-
- public AgreementSpecification version(String version) {
- this.version = version;
- return this;
- }
-
- /**
- * Agreement specification version
- * @return version
- **/
- @Schema(description = "Agreement specification version")
-
-
- public String getVersion() {
- return version;
- }
-
- public void setVersion(String version) {
- this.version = version;
- }
-
- public AgreementSpecification serviceCategory(CategoryRef serviceCategory) {
- this.serviceCategory = serviceCategory;
- return this;
- }
-
- /**
- * Get serviceCategory
- * @return serviceCategory
- **/
- @Schema(description = "")
-
- @Valid
-
- public CategoryRef getServiceCategory() {
- return serviceCategory;
- }
-
- public void setServiceCategory(CategoryRef serviceCategory) {
- this.serviceCategory = serviceCategory;
- }
-
- public AgreementSpecification specCharacteristic(List specCharacteristic) {
- this.specCharacteristic = specCharacteristic;
- return this;
- }
-
- public AgreementSpecification addSpecCharacteristicItem(AgreementSpecCharacteristic specCharacteristicItem) {
- if (this.specCharacteristic == null) {
- this.specCharacteristic = new ArrayList<>();
- }
- this.specCharacteristic.add(specCharacteristicItem);
- return this;
- }
-
- /**
- * Get specCharacteristic
- * @return specCharacteristic
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getSpecCharacteristic() {
- return specCharacteristic;
- }
-
- public void setSpecCharacteristic(List specCharacteristic) {
- this.specCharacteristic = specCharacteristic;
- }
-
- public AgreementSpecification relatedParty(List relatedParty) {
- this.relatedParty = relatedParty;
- return this;
- }
-
- public AgreementSpecification addRelatedPartyItem(RelatedPartyRef relatedPartyItem) {
- if (this.relatedParty == null) {
- this.relatedParty = new ArrayList<>();
- }
- this.relatedParty.add(relatedPartyItem);
- return this;
- }
-
- /**
- * Get relatedParty
- * @return relatedParty
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getRelatedParty() {
- return relatedParty;
- }
-
- public void setRelatedParty(List relatedParty) {
- this.relatedParty = relatedParty;
- }
-
- public AgreementSpecification attachment(List attachment) {
- this.attachment = attachment;
- return this;
- }
-
- public AgreementSpecification addAttachmentItem(AgreementAttachment attachmentItem) {
- if (this.attachment == null) {
- this.attachment = new ArrayList<>();
- }
- this.attachment.add(attachmentItem);
- return this;
- }
-
- /**
- * Get attachment
- * @return attachment
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getAttachment() {
- return attachment;
- }
-
- public void setAttachment(List attachment) {
- this.attachment = attachment;
- }
-
- public AgreementSpecification specificationRelationship(List specificationRelationship) {
- this.specificationRelationship = specificationRelationship;
- return this;
- }
-
- public AgreementSpecification addSpecificationRelationshipItem(AgreementSpecificationRelationship specificationRelationshipItem) {
- if (this.specificationRelationship == null) {
- this.specificationRelationship = new ArrayList<>();
- }
- this.specificationRelationship.add(specificationRelationshipItem);
- return this;
- }
-
- /**
- * Get specificationRelationship
- * @return specificationRelationship
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getSpecificationRelationship() {
- return specificationRelationship;
- }
-
- public void setSpecificationRelationship(List specificationRelationship) {
- this.specificationRelationship = specificationRelationship;
- }
-
- public AgreementSpecification type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * The class type of the actual resource (for type extension).
- * @return type
- **/
- @Schema(description = "The class type of the actual resource (for type extension).")
-
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public AgreementSpecification schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A link to the schema describing a resource (for type extension).
- * @return schemaLocation
- **/
- @Schema(description = "A link to the schema describing a resource (for type extension).")
-
-
- public String getSchemaLocation() {
- return schemaLocation;
- }
-
- public void setSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public AgreementSpecification baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * The base type for use in polymorphic collections
- * @return baseType
- **/
- @Schema(description = "The base type for use in polymorphic collections")
-
-
- public String getBaseType() {
- return baseType;
- }
-
- public void setBaseType(String baseType) {
- this.baseType = baseType;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AgreementSpecification agreementSpecification = (AgreementSpecification) o;
- return Objects.equals(this.description, agreementSpecification.description) &&
- Objects.equals(this.href, agreementSpecification.href) &&
- Objects.equals(this.id, agreementSpecification.id) &&
- Objects.equals(this.isBundle, agreementSpecification.isBundle) &&
- Objects.equals(this.lastUpdate, agreementSpecification.lastUpdate) &&
- Objects.equals(this.lifecycleStatus, agreementSpecification.lifecycleStatus) &&
- Objects.equals(this.name, agreementSpecification.name) &&
- Objects.equals(this.validFor, agreementSpecification.validFor) &&
- Objects.equals(this.version, agreementSpecification.version) &&
- Objects.equals(this.serviceCategory, agreementSpecification.serviceCategory) &&
- Objects.equals(this.specCharacteristic, agreementSpecification.specCharacteristic) &&
- Objects.equals(this.relatedParty, agreementSpecification.relatedParty) &&
- Objects.equals(this.attachment, agreementSpecification.attachment) &&
- Objects.equals(this.specificationRelationship, agreementSpecification.specificationRelationship) &&
- Objects.equals(this.type, agreementSpecification.type) &&
- Objects.equals(this.schemaLocation, agreementSpecification.schemaLocation) &&
- Objects.equals(this.baseType, agreementSpecification.baseType);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(description, href, id, isBundle, lastUpdate, lifecycleStatus, name, validFor, version, serviceCategory, specCharacteristic, relatedParty, attachment, specificationRelationship, type, schemaLocation, baseType);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AgreementSpecification {\n");
-
- sb.append(" description: ").append(toIndentedString(description)).append("\n");
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" isBundle: ").append(toIndentedString(isBundle)).append("\n");
- sb.append(" lastUpdate: ").append(toIndentedString(lastUpdate)).append("\n");
- sb.append(" lifecycleStatus: ").append(toIndentedString(lifecycleStatus)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" validFor: ").append(toIndentedString(validFor)).append("\n");
- sb.append(" version: ").append(toIndentedString(version)).append("\n");
- sb.append(" serviceCategory: ").append(toIndentedString(serviceCategory)).append("\n");
- sb.append(" specCharacteristic: ").append(toIndentedString(specCharacteristic)).append("\n");
- sb.append(" relatedParty: ").append(toIndentedString(relatedParty)).append("\n");
- sb.append(" attachment: ").append(toIndentedString(attachment)).append("\n");
- sb.append(" specificationRelationship: ").append(toIndentedString(specificationRelationship)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
-
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecificationCreate.java b/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecificationCreate.java
deleted file mode 100644
index b68894c0514ac65b9ebdd17e9abd46559bc93a22..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecificationCreate.java
+++ /dev/null
@@ -1,496 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.time.OffsetDateTime;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.TimePeriod;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-import jakarta.validation.constraints.NotNull;
-
-/**
- * A template of an agreement that can be used when establishing partnerships. Skipped properties: id,href
- */
-@Schema(description = "A template of an agreement that can be used when establishing partnerships. Skipped properties: id,href")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-
-public class AgreementSpecificationCreate {
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("isBundle")
- private Boolean isBundle = null;
-
- @JsonProperty("lastUpdate")
- private OffsetDateTime lastUpdate = null;
-
- @JsonProperty("lifecycleStatus")
- private String lifecycleStatus = null;
-
- @JsonProperty("name")
- private String name = null;
-
- @JsonProperty("validFor")
- private TimePeriod validFor = null;
-
- @JsonProperty("version")
- private String version = null;
-
- @JsonProperty("serviceCategory")
- private CategoryRef serviceCategory = null;
-
- @JsonProperty("specCharacteristic")
- @Valid
- private List specCharacteristic = null;
-
- @JsonProperty("relatedParty")
- @Valid
- private List relatedParty = null;
-
- @JsonProperty("attachment")
- @Valid
- private List attachment = new ArrayList<>();
-
- @JsonProperty("specificationRelationship")
- @Valid
- private List specificationRelationship = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- @JsonProperty("@schemaLocation")
- private String schemaLocation = null;
-
- @JsonProperty("@baseType")
- private String baseType = null;
-
- public AgreementSpecificationCreate description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * A narrative that explains in detail what the agreement specification is about.
- * @return description
- **/
- @Schema(description = "A narrative that explains in detail what the agreement specification is about.")
-
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public AgreementSpecificationCreate isBundle(Boolean isBundle) {
- this.isBundle = isBundle;
- return this;
- }
-
- /**
- * Indicates that this agreement specification is a grouping of other agreement specifications. The list of bundled agreement specifications is provided via the specificationRelationship property.
- * @return isBundle
- **/
- @Schema(description = "Indicates that this agreement specification is a grouping of other agreement specifications. The list of bundled agreement specifications is provided via the specificationRelationship property.")
-
-
- public Boolean isIsBundle() {
- return isBundle;
- }
-
- public void setIsBundle(Boolean isBundle) {
- this.isBundle = isBundle;
- }
-
- public AgreementSpecificationCreate lastUpdate(OffsetDateTime lastUpdate) {
- this.lastUpdate = lastUpdate;
- return this;
- }
-
- /**
- * Date and time of the last update
- * @return lastUpdate
- **/
- @Schema(description = "Date and time of the last update")
-
- @Valid
-
- public OffsetDateTime getLastUpdate() {
- return lastUpdate;
- }
-
- public void setLastUpdate(OffsetDateTime lastUpdate) {
- this.lastUpdate = lastUpdate;
- }
-
- public AgreementSpecificationCreate lifecycleStatus(String lifecycleStatus) {
- this.lifecycleStatus = lifecycleStatus;
- return this;
- }
-
- /**
- * Indicates the current lifecycle status
- * @return lifecycleStatus
- **/
- @Schema(description = "Indicates the current lifecycle status")
-
-
- public String getLifecycleStatus() {
- return lifecycleStatus;
- }
-
- public void setLifecycleStatus(String lifecycleStatus) {
- this.lifecycleStatus = lifecycleStatus;
- }
-
- public AgreementSpecificationCreate name(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * Name of the agreement specification
- * @return name
- **/
- @Schema(description = "Name of the agreement specification")
- @NotNull
-
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public AgreementSpecificationCreate validFor(TimePeriod validFor) {
- this.validFor = validFor;
- return this;
- }
-
- /**
- * The period for which the agreement specification is valid
- * @return validFor
- **/
- @Schema(description = "The period for which the agreement specification is valid")
-
- @Valid
-
- public TimePeriod getValidFor() {
- return validFor;
- }
-
- public void setValidFor(TimePeriod validFor) {
- this.validFor = validFor;
- }
-
- public AgreementSpecificationCreate version(String version) {
- this.version = version;
- return this;
- }
-
- /**
- * Agreement specification version
- * @return version
- **/
- @Schema(description = "Agreement specification version")
-
-
- public String getVersion() {
- return version;
- }
-
- public void setVersion(String version) {
- this.version = version;
- }
-
- public AgreementSpecificationCreate serviceCategory(CategoryRef serviceCategory) {
- this.serviceCategory = serviceCategory;
- return this;
- }
-
- /**
- * Get serviceCategory
- * @return serviceCategory
- **/
- @Schema(description = "")
-
- @Valid
-
- public CategoryRef getServiceCategory() {
- return serviceCategory;
- }
-
- public void setServiceCategory(CategoryRef serviceCategory) {
- this.serviceCategory = serviceCategory;
- }
-
- public AgreementSpecificationCreate specCharacteristic(List specCharacteristic) {
- this.specCharacteristic = specCharacteristic;
- return this;
- }
-
- public AgreementSpecificationCreate addSpecCharacteristicItem(AgreementSpecCharacteristic specCharacteristicItem) {
- if (this.specCharacteristic == null) {
- this.specCharacteristic = new ArrayList<>();
- }
- this.specCharacteristic.add(specCharacteristicItem);
- return this;
- }
-
- /**
- * Get specCharacteristic
- * @return specCharacteristic
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getSpecCharacteristic() {
- return specCharacteristic;
- }
-
- public void setSpecCharacteristic(List specCharacteristic) {
- this.specCharacteristic = specCharacteristic;
- }
-
- public AgreementSpecificationCreate relatedParty(List relatedParty) {
- this.relatedParty = relatedParty;
- return this;
- }
-
- public AgreementSpecificationCreate addRelatedPartyItem(RelatedPartyRef relatedPartyItem) {
- if (this.relatedParty == null) {
- this.relatedParty = new ArrayList<>();
- }
- this.relatedParty.add(relatedPartyItem);
- return this;
- }
-
- /**
- * Get relatedParty
- * @return relatedParty
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getRelatedParty() {
- return relatedParty;
- }
-
- public void setRelatedParty(List relatedParty) {
- this.relatedParty = relatedParty;
- }
-
- public AgreementSpecificationCreate attachment(List attachment) {
- this.attachment = attachment;
- return this;
- }
-
- public AgreementSpecificationCreate addAttachmentItem(AgreementAttachment attachmentItem) {
- this.attachment.add(attachmentItem);
- return this;
- }
-
- /**
- * Get attachment
- * @return attachment
- **/
- @Schema(description = "")
- @NotNull
-
- @Valid
-
- public List getAttachment() {
- return attachment;
- }
-
- public void setAttachment(List attachment) {
- this.attachment = attachment;
- }
-
- public AgreementSpecificationCreate specificationRelationship(List specificationRelationship) {
- this.specificationRelationship = specificationRelationship;
- return this;
- }
-
- public AgreementSpecificationCreate addSpecificationRelationshipItem(AgreementSpecificationRelationship specificationRelationshipItem) {
- if (this.specificationRelationship == null) {
- this.specificationRelationship = new ArrayList<>();
- }
- this.specificationRelationship.add(specificationRelationshipItem);
- return this;
- }
-
- /**
- * Get specificationRelationship
- * @return specificationRelationship
- **/
- @Schema(description = "")
-
- @Valid
-
- public List getSpecificationRelationship() {
- return specificationRelationship;
- }
-
- public void setSpecificationRelationship(List specificationRelationship) {
- this.specificationRelationship = specificationRelationship;
- }
-
- public AgreementSpecificationCreate type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * The class type of the actual resource (for type extension).
- * @return type
- **/
- @Schema(description = "The class type of the actual resource (for type extension).")
-
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public AgreementSpecificationCreate schemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- return this;
- }
-
- /**
- * A link to the schema describing a resource (for type extension).
- * @return schemaLocation
- **/
- @Schema(description = "A link to the schema describing a resource (for type extension).")
-
-
- public String getSchemaLocation() {
- return schemaLocation;
- }
-
- public void setSchemaLocation(String schemaLocation) {
- this.schemaLocation = schemaLocation;
- }
-
- public AgreementSpecificationCreate baseType(String baseType) {
- this.baseType = baseType;
- return this;
- }
-
- /**
- * The base type for use in polymorphic collections
- * @return baseType
- **/
- @Schema(description = "The base type for use in polymorphic collections")
-
-
- public String getBaseType() {
- return baseType;
- }
-
- public void setBaseType(String baseType) {
- this.baseType = baseType;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AgreementSpecificationCreate agreementSpecificationCreate = (AgreementSpecificationCreate) o;
- return Objects.equals(this.description, agreementSpecificationCreate.description) &&
- Objects.equals(this.isBundle, agreementSpecificationCreate.isBundle) &&
- Objects.equals(this.lastUpdate, agreementSpecificationCreate.lastUpdate) &&
- Objects.equals(this.lifecycleStatus, agreementSpecificationCreate.lifecycleStatus) &&
- Objects.equals(this.name, agreementSpecificationCreate.name) &&
- Objects.equals(this.validFor, agreementSpecificationCreate.validFor) &&
- Objects.equals(this.version, agreementSpecificationCreate.version) &&
- Objects.equals(this.serviceCategory, agreementSpecificationCreate.serviceCategory) &&
- Objects.equals(this.specCharacteristic, agreementSpecificationCreate.specCharacteristic) &&
- Objects.equals(this.relatedParty, agreementSpecificationCreate.relatedParty) &&
- Objects.equals(this.attachment, agreementSpecificationCreate.attachment) &&
- Objects.equals(this.specificationRelationship, agreementSpecificationCreate.specificationRelationship) &&
- Objects.equals(this.type, agreementSpecificationCreate.type) &&
- Objects.equals(this.schemaLocation, agreementSpecificationCreate.schemaLocation) &&
- Objects.equals(this.baseType, agreementSpecificationCreate.baseType);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(description, isBundle, lastUpdate, lifecycleStatus, name, validFor, version, serviceCategory, specCharacteristic, relatedParty, attachment, specificationRelationship, type, schemaLocation, baseType);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AgreementSpecificationCreate {\n");
-
- sb.append(" description: ").append(toIndentedString(description)).append("\n");
- sb.append(" isBundle: ").append(toIndentedString(isBundle)).append("\n");
- sb.append(" lastUpdate: ").append(toIndentedString(lastUpdate)).append("\n");
- sb.append(" lifecycleStatus: ").append(toIndentedString(lifecycleStatus)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" validFor: ").append(toIndentedString(validFor)).append("\n");
- sb.append(" version: ").append(toIndentedString(version)).append("\n");
- sb.append(" serviceCategory: ").append(toIndentedString(serviceCategory)).append("\n");
- sb.append(" specCharacteristic: ").append(toIndentedString(specCharacteristic)).append("\n");
- sb.append(" relatedParty: ").append(toIndentedString(relatedParty)).append("\n");
- sb.append(" attachment: ").append(toIndentedString(attachment)).append("\n");
- sb.append(" specificationRelationship: ").append(toIndentedString(specificationRelationship)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n");
- sb.append(" baseType: ").append(toIndentedString(baseType)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
-
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecificationRef.java b/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecificationRef.java
deleted file mode 100644
index 58150aa920b9f53401035b1bffc713a0a24581a7..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecificationRef.java
+++ /dev/null
@@ -1,200 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import org.springframework.validation.annotation.Validated;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-
-/**
- * AgreementSpecification reference. An AgreementSpecification represents a template of an agreement that can be used when establishing partnerships.
- */
-@Schema(description = "AgreementSpecification reference. An AgreementSpecification represents a template of an agreement that can be used when establishing partnerships.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-
-public class AgreementSpecificationRef {
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("name")
- private String name = null;
-
- @JsonProperty("@referredType")
- private String referredType = null;
-
- public AgreementSpecificationRef description(String description) {
- this.description = description;
- return this;
- }
-
- /**
- * A narrative that explains in detail what the agreement specification is about.
- * @return description
- **/
- @Schema(description = "A narrative that explains in detail what the agreement specification is about.")
-
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public AgreementSpecificationRef href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference URL of the agreement specification
- * @return href
- **/
- @Schema(description = "Reference URL of the agreement specification")
-
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public AgreementSpecificationRef id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Unique identifier of the agreement specification
- * @return id
- **/
- @Schema(description = "Unique identifier of the agreement specification")
-
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public AgreementSpecificationRef name(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * Name of the agreement specification
- * @return name
- **/
- @Schema(description = "Name of the agreement specification")
-
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public AgreementSpecificationRef referredType(String referredType) {
- this.referredType = referredType;
- return this;
- }
-
- /**
- * The actual type of the target instance when needed for disambiguation.
- * @return referredType
- **/
- @Schema(description = "The actual type of the target instance when needed for disambiguation.")
-
-
- public String getReferredType() {
- return referredType;
- }
-
- public void setReferredType(String referredType) {
- this.referredType = referredType;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AgreementSpecificationRef agreementSpecificationRef = (AgreementSpecificationRef) o;
- return Objects.equals(this.description, agreementSpecificationRef.description) &&
- Objects.equals(this.href, agreementSpecificationRef.href) &&
- Objects.equals(this.id, agreementSpecificationRef.id) &&
- Objects.equals(this.name, agreementSpecificationRef.name) &&
- Objects.equals(this.referredType, agreementSpecificationRef.referredType);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(description, href, id, name, referredType);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AgreementSpecificationRef {\n");
-
- sb.append(" description: ").append(toIndentedString(description)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
-
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecificationRelationship.java b/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecificationRelationship.java
deleted file mode 100644
index afba9f93f1c8ff9ade4911589234f9d16f8aa863..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecificationRelationship.java
+++ /dev/null
@@ -1,201 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.TimePeriod;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * A relationship between agreement specifications. Typical relationships are substitution and dependency.
- */
-@Schema(description = "A relationship between agreement specifications. Typical relationships are substitution and dependency.")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-
-public class AgreementSpecificationRelationship {
- @JsonProperty("href")
- private String href = null;
-
- @JsonProperty("id")
- private String id = null;
-
- @JsonProperty("type")
- private String typeAgreementSpecificationRelationship = null;
-
- @JsonProperty("validFor")
- private TimePeriod validFor = null;
-
- @JsonProperty("@type")
- private String type = null;
-
- public AgreementSpecificationRelationship href(String href) {
- this.href = href;
- return this;
- }
-
- /**
- * Reference of an agreement specification.
- * @return href
- **/
- @Schema(description = "Reference of an agreement specification.")
-
-
- public String getHref() {
- return href;
- }
-
- public void setHref(String href) {
- this.href = href;
- }
-
- public AgreementSpecificationRelationship id(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Unique identifier of the related agreement specification.
- * @return id
- **/
- @Schema(description = "Unique identifier of the related agreement specification.")
-
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public AgreementSpecificationRelationship typeAgreementSpecificationRelationship(String type) {
- this.typeAgreementSpecificationRelationship = type;
- return this;
- }
-
- /**
- * Type of relationship such as, substitution or dependency.
- * @return type
- **/
- @Schema(description = "Type of relationship such as, substitution or dependency.")
-
-
- public String getTypeAgreementSpecificationRelationship() {
- return typeAgreementSpecificationRelationship;
- }
-
- public void setTypeAgreementSpecificationRelationship(String type) {
- this.typeAgreementSpecificationRelationship = type;
- }
-
- public AgreementSpecificationRelationship validFor(TimePeriod validFor) {
- this.validFor = validFor;
- return this;
- }
-
- /**
- * The period for which the relationship is valid
- * @return validFor
- **/
- @Schema(description = "The period for which the relationship is valid")
-
- @Valid
-
- public TimePeriod getValidFor() {
- return validFor;
- }
-
- public void setValidFor(TimePeriod validFor) {
- this.validFor = validFor;
- }
-
- public AgreementSpecificationRelationship type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * The class type of the actual resource (for type extension).
- * @return type
- **/
- @Schema(description = "The class type of the actual resource (for type extension).")
-
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AgreementSpecificationRelationship agreementSpecificationRelationship = (AgreementSpecificationRelationship) o;
- return Objects.equals(this.href, agreementSpecificationRelationship.href) &&
- Objects.equals(this.id, agreementSpecificationRelationship.id) &&
- Objects.equals(this.type, agreementSpecificationRelationship.type) &&
- Objects.equals(this.validFor, agreementSpecificationRelationship.validFor) &&
- Objects.equals(this.type, agreementSpecificationRelationship.type);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(href, id, type, validFor, type);
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AgreementSpecificationRelationship {\n");
-
- sb.append(" href: ").append(toIndentedString(href)).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" validFor: ").append(toIndentedString(validFor)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).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(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-}
-
diff --git a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecificationUpdate.java b/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecificationUpdate.java
deleted file mode 100644
index f9a0476c636edc279a814fa84963dd975d47b988..0000000000000000000000000000000000000000
--- a/src/main/java/org/etsi/osl/tmf/am651/model/AgreementSpecificationUpdate.java
+++ /dev/null
@@ -1,496 +0,0 @@
-/*-
- * ========================LICENSE_START=================================
- * org.etsi.osl.tmf.api
- * %%
- * Copyright (C) 2019 openslice.io
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================LICENSE_END==================================
- */
-package org.etsi.osl.tmf.am651.model;
-
-import java.time.OffsetDateTime;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import org.etsi.osl.tmf.common.model.TimePeriod;
-import org.springframework.validation.annotation.Validated;
-import io.swagger.v3.oas.annotations.media.Schema;
-import jakarta.validation.Valid;
-
-/**
- * A template of an agreement that can be used when establishing partnerships. Skipped properties: id,href,id,href
- */
-@Schema(description = "A template of an agreement that can be used when establishing partnerships. Skipped properties: id,href,id,href")
-@Validated
-@jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00")
-
-public class AgreementSpecificationUpdate {
- @JsonProperty("description")
- private String description = null;
-
- @JsonProperty("isBundle")
- private Boolean isBundle = null;
-
- @JsonProperty("lastUpdate")
- private OffsetDateTime lastUpdate = null;
-
- @JsonProperty("lifecycleStatus")
- private String lifecycleStatus = null;
-
- @JsonProperty("name")
- private String name = null;
-
- @JsonProperty("validFor")
- private TimePeriod validFor = null;
-
- @JsonProperty("version")
- private String version = null;
-
- @JsonProperty("serviceCategory")
- private CategoryRef serviceCategory = null;
-
- @JsonProperty("specCharacteristic")
- @Valid
- private List specCharacteristic = null;
-
- @JsonProperty("relatedParty")
- @Valid
- private List relatedParty = null;
-
- @JsonProperty("attachment")
- @Valid
- private List