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 / ResourceDefinition.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 ResourceDefinition {
22         
23         @JsonProperty("type")
24         private CommonEnum.type type;
25         
26         @JsonProperty("resourceDefinitionId")
27         private String resourceDefinitionId;
28         
29         @JsonProperty("vdu")
30         private String vdu;
31
32         public CommonEnum.type getType() {
33                 return type;
34         }
35
36         public void setType(CommonEnum.type type) {
37                 this.type = type;
38         }
39
40         public String getResourceDefinitionId() {
41                 return resourceDefinitionId;
42         }
43
44         public void setResourceDefinitionId(String resourceDefinitionId) {
45                 this.resourceDefinitionId = resourceDefinitionId;
46         }
47
48         public String getVdu() {
49                 return vdu;
50         }
51
52         public void setVdu(String vdu) {
53                 this.vdu = vdu;
54         }
55         
56         
57         
58
59 }