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.vnfmdriver.bo.entity;
 
  18 import com.fasterxml.jackson.annotation.JsonProperty;
 
  19 import com.nokia.vfcadaptor.constant.CommonEnum;
 
  21 public class VnfInfo {
 
  22         @JsonProperty("vnfInstanceId")
 
  23         private String vnfInstanceId;
 
  25         @JsonProperty("vnfInstanceName")
 
  26         private String vnfInstanceName;
 
  28         @JsonProperty("vnfInstanceDescription")
 
  29         private String vnfInstanceDescription;
 
  31         @JsonProperty("vnfdId")
 
  32         private String vnfdId;
 
  34         @JsonProperty("vnfPackageId")
 
  35         private String vnfPackageId;
 
  37         @JsonProperty("version")
 
  38         private String version;
 
  40         @JsonProperty("vnfProvider")
 
  41         private String vnfProvider;
 
  43         @JsonProperty("vnfType")
 
  44         private String vnfType;
 
  46         @JsonProperty("vnfStatus")
 
  47         private CommonEnum.InstantiationState vnfStatus;
 
  49         public String getVnfInstanceId() {
 
  53         public void setVnfInstanceId(String vnfInstanceId) {
 
  54                 this.vnfInstanceId = vnfInstanceId;
 
  57         public String getVnfInstanceName() {
 
  58                 return vnfInstanceName;
 
  61         public void setVnfInstanceName(String vnfInstanceName) {
 
  62                 this.vnfInstanceName = vnfInstanceName;
 
  65         public String getVnfInstanceDescription() {
 
  66                 return vnfInstanceDescription;
 
  69         public void setVnfInstanceDescription(String vnfInstanceDescription) {
 
  70                 this.vnfInstanceDescription = vnfInstanceDescription;
 
  73         public String getVnfdId() {
 
  77         public void setVnfdId(String vnfdId) {
 
  81         public String getVnfPackageId() {
 
  85         public void setVnfPackageId(String vnfPackageId) {
 
  86                 this.vnfPackageId = vnfPackageId;
 
  89         public String getVersion() {
 
  93         public void setVersion(String version) {
 
  94                 this.version = version;
 
  97         public String getVnfProvider() {
 
 101         public void setVnfProvider(String vnfProvider) {
 
 102                 this.vnfProvider = vnfProvider;
 
 105         public String getVnfType() {
 
 109         public void setVnfType(String vnfType) {
 
 110                 this.vnfType = vnfType;
 
 113         public CommonEnum.InstantiationState getVnfStatus() {
 
 117         public void setVnfStatus(CommonEnum.InstantiationState vnfStatus) {
 
 118                 this.vnfStatus = vnfStatus;