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 org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity;
18 import org.onap.vfc.nfvo.driver.vnfm.svnfm.constant.CommonEnum;
20 import com.fasterxml.jackson.annotation.JsonProperty;
22 public class AffectedCp {
24 @JsonProperty("virtualLinkInstanceId")
25 private String virtualLinkInstanceId;
26 @JsonProperty("cpinstanceid")
27 private String cpinstanceid;
28 @JsonProperty("cpdid")
30 @JsonProperty("ownerType")
31 private String ownerType;
32 @JsonProperty("ownerId")
33 private String ownerId;
34 @JsonProperty("changeType")
35 private CommonEnum.changeType changeType;
36 @JsonProperty("portResource")
37 private PortResource portResource;
39 public String getVirtualLinkInstanceId() {
40 return virtualLinkInstanceId;
42 public void setVirtualLinkInstanceId(String virtualLinkInstanceId) {
43 this.virtualLinkInstanceId = virtualLinkInstanceId;
45 public String getCpinstanceid() {
48 public void setCpinstanceid(String cpinstanceid) {
49 this.cpinstanceid = cpinstanceid;
51 public String getCpdid() {
54 public void setCpdid(String cpdid) {
57 public String getOwnerType() {
60 public void setOwnerType(String ownerType) {
61 this.ownerType = ownerType;
63 public String getOwnerId() {
66 public void setOwnerId(String ownerId) {
67 this.ownerId = ownerId;
69 public CommonEnum.changeType getChangeType() {
72 public void setChangeType(CommonEnum.changeType changeType) {
73 this.changeType = changeType;
75 public PortResource getPortResource() {
78 public void setPortResource(PortResource portResource) {
79 this.portResource = portResource;