61473b954ba51900a2607879b027dc40d85863c1
[externalapi/nbi.git] / src / main / java / org / onap / nbi / apis / serviceorder / model / ResourceSpecification.java
1 /**
2  * Copyright (c) 2018 Huawei
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
5  * the License. You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
10  * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
11  * specific language governing permissions and limitations under the License.
12  */
13
14 package org.onap.nbi.apis.serviceorder.model;
15
16 import com.fasterxml.jackson.annotation.JsonProperty;
17
18 public class ResourceSpecification {
19         
20         @JsonProperty("id")
21     private String id = null;
22
23     @JsonProperty("name")
24     private String name = null;
25
26     @JsonProperty("version")
27     private String version = null;
28
29     @JsonProperty("instanceName")
30     private String instanceName = null;
31     
32     @JsonProperty("resourceInvariantUUID")
33     private String resourceInvariantUUID = null;
34     
35         @JsonProperty("resourceType")
36     private String resourceType = null;
37     
38     @JsonProperty("@type")
39     private String type = null;
40     
41     public String getId() {
42                 return id;
43         }
44
45         public void setId(String id) {
46                 this.id = id;
47         }
48
49         public String getName() {
50                 return name;
51         }
52
53         public void setName(String name) {
54                 this.name = name;
55         }
56
57         public String getVersion() {
58                 return version;
59         }
60
61         public void setVersion(String version) {
62                 this.version = version;
63         }
64
65         public String getInstanceName() {
66                 return instanceName;
67         }
68
69         public void setInstanceName(String instanceName) {
70                 this.instanceName = instanceName;
71         }
72
73         public String getResourceInvariantUUID() {
74                 return resourceInvariantUUID;
75         }
76
77         public void setResourceInvariantUUID(String resourceInvariantUUID) {
78                 this.resourceInvariantUUID = resourceInvariantUUID;
79         }
80
81         public String getResourceType() {
82                 return resourceType;
83         }
84
85         public void setResourceType(String resourceType) {
86                 this.resourceType = resourceType;
87         }
88
89         public String getType() {
90                 return type;
91         }
92
93         public void setType(String type) {
94                 this.type = type;
95         }
96
97
98
99         
100
101 }