2 * Copyright (c) 2018 Huawei
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
7 * http://www.apache.org/licenses/LICENSE-2.0
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.
14 package org.onap.nbi.apis.serviceorder.model;
16 import com.fasterxml.jackson.annotation.JsonProperty;
18 public class ResourceSpecification {
21 private String id = null;
24 private String name = null;
26 @JsonProperty("version")
27 private String version = null;
29 @JsonProperty("instanceName")
30 private String instanceName = null;
32 @JsonProperty("resourceInvariantUUID")
33 private String resourceInvariantUUID = null;
35 @JsonProperty("resourceType")
36 private String resourceType = null;
38 @JsonProperty("@type")
39 private String type = null;
41 public String getId() {
45 public void setId(String id) {
49 public String getName() {
53 public void setName(String name) {
57 public String getVersion() {
61 public void setVersion(String version) {
62 this.version = version;
65 public String getInstanceName() {
69 public void setInstanceName(String instanceName) {
70 this.instanceName = instanceName;
73 public String getResourceInvariantUUID() {
74 return resourceInvariantUUID;
77 public void setResourceInvariantUUID(String resourceInvariantUUID) {
78 this.resourceInvariantUUID = resourceInvariantUUID;
81 public String getResourceType() {
85 public void setResourceType(String resourceType) {
86 this.resourceType = resourceType;
89 public String getType() {
93 public void setType(String type) {