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 java.util.List;
20 import com.fasterxml.jackson.annotation.JsonProperty;
22 public class ResourceDefinition {
24 @JsonProperty("vnfInstanceId")
25 private String vnfInstanceId;
26 @JsonProperty("addResource")
27 private List<AddResource> addResource;
28 @JsonProperty("vimId")
30 @JsonProperty("additionalParam")
31 private AdditionalParam additionalParam;
33 public String getVnfInstanceId() {
37 public void setVnfInstanceId(String vnfInstanceId) {
38 this.vnfInstanceId = vnfInstanceId;
41 public List<AddResource> getAddResource() {
45 public void setAddResource(List<AddResource> addResource) {
46 this.addResource = addResource;
49 public String getVimId() {
53 public void setVimId(String vimId) {
57 public AdditionalParam getAdditionalParam() {
58 return additionalParam;
61 public void setAdditionalParam(AdditionalParam additionalParam) {
62 this.additionalParam = additionalParam;
65 /*@JsonProperty("type")
66 private CommonEnum.type type;
68 @JsonProperty("resourceDefinitionId")
69 private String resourceDefinitionId;
74 /*public CommonEnum.type getType() {
78 public void setType(CommonEnum.type type) {
82 public String getResourceDefinitionId() {
83 return resourceDefinitionId;
86 public void setResourceDefinitionId(String resourceDefinitionId) {
87 this.resourceDefinitionId = resourceDefinitionId;
90 public String getVdu() {
94 public void setVdu(String vdu) {