a7a2795d49016c6e6d51b67586e7cfccc4bb32e6
[appc.git] / services / appc-dmaap-service / appc-event-listener-bundle / src / main / java / org / onap / appc / listener / LCM / model / ActionIdentifiers.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
8  * =============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * 
21  * ============LICENSE_END=========================================================
22  */
23
24 package org.onap.appc.listener.LCM.model;
25
26 import com.fasterxml.jackson.annotation.JsonProperty;
27
28 import java.io.Serializable;
29
30
31 public class ActionIdentifiers implements Serializable {
32
33     @JsonProperty("service-instance-id")
34     private String serviceInstanceId;
35     @JsonProperty("vnf-id")
36     private String vnfID;
37     @JsonProperty("vnfc-name")
38     private String vnfcName;
39     @JsonProperty("vserver-id")
40     private String vserverId;
41
42     public ActionIdentifiers() {
43     }
44
45     public ActionIdentifiers(ActionIdentifiers actionIdentifiers) {
46         this.serviceInstanceId=actionIdentifiers.getServiceInstanceId();
47         this.vnfID=actionIdentifiers.getVnfID();
48         this.vnfcName=actionIdentifiers.getVnfcName();
49         this.vserverId=actionIdentifiers.getVserverId();
50     }
51
52     public String getServiceInstanceId() {
53         return serviceInstanceId;
54     }
55
56     public void setServiceInstanceId(String serviceInstanceId) {
57         this.serviceInstanceId = serviceInstanceId;
58     }
59
60     public String getVnfID() {
61         return vnfID;
62     }
63
64     public void setVnfID(String vnfID) {
65         this.vnfID = vnfID;
66     }
67
68     public String getVnfcName() {
69         return vnfcName;
70     }
71
72     public void setVnfcName(String vnfcName) {
73         this.vnfcName = vnfcName;
74     }
75
76     public String getVserverId() {
77         return vserverId;
78     }
79
80     public void setVserverId(String vserverId) {
81         this.vserverId = vserverId;
82     }
83 }