Added PDP Group model classes 51/82051/2
authorjh7358 <jh7358@att.com>
Tue, 12 Mar 2019 17:11:15 +0000 (13:11 -0400)
committerJim Hahn <jrh3@att.com>
Wed, 13 Mar 2019 15:58:15 +0000 (15:58 +0000)
Change-Id: I16298228f9e390362d4783750274703a4db57811
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
models-pap/src/main/java/org/onap/policy/models/pap/PdpGroupDeleteResponse.java [new file with mode: 0644]
models-pap/src/main/java/org/onap/policy/models/pap/PdpGroupDeployResponse.java [new file with mode: 0644]

diff --git a/models-pap/src/main/java/org/onap/policy/models/pap/PdpGroupDeleteResponse.java b/models-pap/src/main/java/org/onap/policy/models/pap/PdpGroupDeleteResponse.java
new file mode 100644 (file)
index 0000000..befc75c
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * ============LICENSE_START=======================================================
+ * ONAP Policy Models
+ * ================================================================================
+ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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.onap.policy.models.pap;
+
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+
+/**
+ * Response to PDP Group DELETE REST API.
+ */
+@Getter
+@Setter
+@ToString
+public class PdpGroupDeleteResponse {
+
+    /**
+     * Optional detailed message in error cases.
+     */
+    private String errorDetails;
+}
diff --git a/models-pap/src/main/java/org/onap/policy/models/pap/PdpGroupDeployResponse.java b/models-pap/src/main/java/org/onap/policy/models/pap/PdpGroupDeployResponse.java
new file mode 100644 (file)
index 0000000..0aee3c5
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * ============LICENSE_START=======================================================
+ * ONAP Policy Models
+ * ================================================================================
+ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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.onap.policy.models.pap;
+
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+
+/**
+ * Response to PDP Group DEPLOY REST API.
+ */
+@Getter
+@Setter
+@ToString
+public class PdpGroupDeployResponse {
+
+    /**
+     * Optional detailed message in error cases.
+     */
+    private String errorDetails;
+}