aboutsummaryrefslogtreecommitdiffstats
path: root/models-pap/src
diff options
context:
space:
mode:
authorjh7358 <jh7358@att.com>2019-03-12 13:11:15 -0400
committerJim Hahn <jrh3@att.com>2019-03-13 15:58:15 +0000
commit8c526d778f2b658f5c803102451e0439a4388ae9 (patch)
tree8d5da07b9cf3cbb4c1101133f707cea4c2a7e632 /models-pap/src
parent59483882f3f06f38e5b862687cf7ad2d37bd97a5 (diff)
Added PDP Group model classes
Change-Id: I16298228f9e390362d4783750274703a4db57811 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-pap/src')
-rw-r--r--models-pap/src/main/java/org/onap/policy/models/pap/PdpGroupDeleteResponse.java39
-rw-r--r--models-pap/src/main/java/org/onap/policy/models/pap/PdpGroupDeployResponse.java39
2 files changed, 78 insertions, 0 deletions
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
index 000000000..befc75c34
--- /dev/null
+++ b/models-pap/src/main/java/org/onap/policy/models/pap/PdpGroupDeleteResponse.java
@@ -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
index 000000000..0aee3c541
--- /dev/null
+++ b/models-pap/src/main/java/org/onap/policy/models/pap/PdpGroupDeployResponse.java
@@ -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;
+}
331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421