diff options
Diffstat (limited to 'BRMSGateway/src/main/java/org/onap/policy/brms/api/NotificationPojo.java')
-rw-r--r-- | BRMSGateway/src/main/java/org/onap/policy/brms/api/NotificationPojo.java | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/BRMSGateway/src/main/java/org/onap/policy/brms/api/NotificationPojo.java b/BRMSGateway/src/main/java/org/onap/policy/brms/api/NotificationPojo.java new file mode 100644 index 000000000..788cbf7fd --- /dev/null +++ b/BRMSGateway/src/main/java/org/onap/policy/brms/api/NotificationPojo.java @@ -0,0 +1,58 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP Policy Engine + * ================================================================================ + * Copyright (C) 2017 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.brms.api; + +import java.util.List; + +/** + * This POJO will be transformed to JSON for Notification Purposes. + * + */ +public class NotificationPojo { + private String requestId; + private String entity; + private List<ControllerPojo> controllers; + + public String getRequestId() { + return requestId; + } + + public void setRequestId(final String requestId) { + this.requestId = requestId; + } + + public String getEntity() { + return entity; + } + + public void setEntity(final String entity) { + this.entity = entity; + } + + public List<ControllerPojo> getControllers() { + return controllers; + } + + public void setControllers(final List<ControllerPojo> controllers) { + this.controllers = controllers; + } + +} |