2 * Copyright 2016-2017, Nokia Corporation
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com.nokia.vfcadaptor.nslcm.bo;
18 import com.fasterxml.jackson.annotation.JsonProperty;
19 import com.nokia.vfcadaptor.constant.CommonEnum;
20 import com.nokia.vfcadaptor.nslcm.bo.entity.AffectedVirtualLink;
21 import com.nokia.vfcadaptor.nslcm.bo.entity.AffectedVirtualStorage;
22 import com.nokia.vfcadaptor.nslcm.bo.entity.AffectedVnfc;
24 public class NslcmNotifyLCMEventsRequest {
26 @JsonProperty("status")
27 private CommonEnum.status status;
29 @JsonProperty("vnfInstanceId")
30 private String vnfInstanceId;
31 @JsonProperty("operation")
32 private String operation;
33 @JsonProperty("jobId")
35 @JsonProperty("affectedVnfc")
36 private AffectedVnfc affectedVnfc;
37 @JsonProperty("affectedVl")
38 private AffectedVirtualLink affectedVl;
39 @JsonProperty("affectedVirtualStorage")
40 private AffectedVirtualStorage affectedVirtualStorage;
41 public CommonEnum.status getStatus() {
44 public void setStatus(CommonEnum.status status) {
47 public String getVnfInstanceId() {
50 public void setVnfInstanceId(String vnfInstanceId) {
51 this.vnfInstanceId = vnfInstanceId;
53 public String getOperation() {
56 public void setOperation(String operation) {
57 this.operation = operation;
59 public String getJobId() {
62 public void setJobId(String jobId) {
65 public AffectedVnfc getAffectedVnfc() {
68 public void setAffectedVnfc(AffectedVnfc affectedVnfc) {
69 this.affectedVnfc = affectedVnfc;
71 public AffectedVirtualLink getAffectedVl() {
74 public void setAffectedVl(AffectedVirtualLink affectedVl) {
75 this.affectedVl = affectedVl;
77 public AffectedVirtualStorage getAffectedVirtualStorage() {
78 return affectedVirtualStorage;
80 public void setAffectedVirtualStorage(AffectedVirtualStorage affectedVirtualStorage) {
81 this.affectedVirtualStorage = affectedVirtualStorage;