Naming micro-service - upgrade to policy decision API.
[ccsdk/apps.git] / ms / neng / src / main / java / org / onap / ccsdk / apps / ms / neng / core / resource / model / GetConfigRequestV2.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : CCSDK.apps
4  * ================================================================================
5  * Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.ccsdk.apps.ms.neng.core.resource.model;
22
23 import java.io.Serializable;
24 import java.util.Map;
25
26 /**
27  * POJO representing policy manager get-config request, V2.
28  */
29 public class GetConfigRequestV2 implements Serializable {
30     private static final long serialVersionUID = -8039686696076337054L;
31
32     private String onapName;
33     private String onapComponent;
34     private String onapInstance;
35     private String requestId;
36     private String action;
37     private Map<String,Object> resource;
38
39     public String getOnapName() {
40         return onapName;
41     }
42
43     public void setOnapName(String onapName) {
44         this.onapName = onapName;
45     }
46
47     public String getOnapComponent() {
48         return onapComponent;
49     }
50
51     public void setOnapComponent(String onapComponent) {
52         this.onapComponent = onapComponent;
53     }
54
55     public String getOnapInstance() {
56         return onapInstance;
57     }
58
59     public void setOnapInstance(String onapInstance) {
60         this.onapInstance = onapInstance;
61     }
62
63     public String getRequestId() {
64         return requestId;
65     }
66
67     public void setRequestId(String requestId) {
68         this.requestId = requestId;
69     }
70
71     public String getAction() {
72         return action;
73     }
74
75     public void setAction(String action) {
76         this.action = action;
77     }
78
79     public Map<String, Object> getResource() {
80         return resource;
81     }
82
83     public void setResource(Map<String, Object> resource) {
84         this.resource = resource;
85     }
86
87 }