+
+ /**
+ * Constructs the object, making a deep copy.
+ *
+ * @param source source from which to copy
+ */
+ public PdpStatus(final PdpStatus source) {
+ super(source);
+
+ this.pdpType = source.pdpType;
+ this.state = source.state;
+ this.healthy = source.healthy;
+ this.description = source.description;
+ this.policies = PfUtils.mapList(source.policies, ToscaConceptIdentifier::new, new ArrayList<>(0));
+ this.deploymentInstanceInfo = source.deploymentInstanceInfo;
+ this.properties = source.properties;
+ this.response = (source.response == null ? null : new PdpResponseDetails(source.response));
+ }