Create seed code of svnfm vnfmdriver
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / com / nokia / vfcadaptor / nslcm / bo / entity / AffectedVnfc.java
1 /*
2  * Copyright 2016-2017, Nokia Corporation
3  *
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
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16 package com.nokia.vfcadaptor.nslcm.bo.entity;
17
18 import com.fasterxml.jackson.annotation.JsonProperty;
19 import com.nokia.vfcadaptor.constant.CommonEnum;
20
21 public class AffectedVnfc {
22         @JsonProperty("vnfcInstanceId")
23         private String vnfcInstanceId;
24         @JsonProperty("vduId")
25         private String vduId;
26         @JsonProperty("changeType")
27         private CommonEnum.AffectchangeType   changeType;
28         @JsonProperty("storageResource")
29         private ResourceHandle storageResource;
30         public String getVnfcInstanceId() {
31                 return vnfcInstanceId;
32         }
33         public void setVnfcInstanceId(String vnfcInstanceId) {
34                 this.vnfcInstanceId = vnfcInstanceId;
35         }
36         public String getVduId() {
37                 return vduId;
38         }
39         public void setVduId(String vduId) {
40                 this.vduId = vduId;
41         }
42         public CommonEnum.AffectchangeType getChangeType() {
43                 return changeType;
44         }
45         public void setChangeType(CommonEnum.AffectchangeType changeType) {
46                 this.changeType = changeType;
47         }
48         public ResourceHandle getStorageResource() {
49                 return storageResource;
50         }
51         public void setStorageResource(ResourceHandle storageResource) {
52                 this.storageResource = storageResource;
53         }
54         
55         
56         
57 }