Update db process part
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / nslcm / bo / entity / AddResource.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 org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity;
17
18 import com.fasterxml.jackson.annotation.JsonProperty;
19
20 public class AddResource {
21         @JsonProperty("type")
22         private String type;
23         
24         @JsonProperty("resourceTemplate")
25         private ResourceTemplate resourceTemplate;
26         
27         @JsonProperty("resourceDefinitionId")
28         private int  resourceDefinitionId;
29         
30         @JsonProperty("vdu")
31         private String vdu;
32         
33         public String getType() {
34                 return type;
35         }
36         public void setType(String type) {
37                 this.type = type;
38         }
39         public ResourceTemplate getResourceTemplate() {
40                 return resourceTemplate;
41         }
42         public void setResourceTemplate(ResourceTemplate resourceTemplate) {
43                 this.resourceTemplate = resourceTemplate;
44         }
45         public int getResourceDefinitionId() {
46                 return resourceDefinitionId;
47         }
48         public void setResourceDefinitionId(int resourceDefinitionId) {
49                 this.resourceDefinitionId = resourceDefinitionId;
50         }
51         public String getVdu() {
52                 return vdu;
53         }
54         public void setVdu(String vdu) {
55                 this.vdu = vdu;
56         }
57         
58         
59         
60         
61         
62 }