2 * Copyright (c) 2019 Amdocs
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.nbi.apis.servicecatalog.model;
18 import com.fasterxml.jackson.annotation.JsonProperty;
19 import io.swagger.annotations.ApiModel;
20 import io.swagger.annotations.ApiModelProperty;
21 import org.onap.nbi.commons.Resource;
22 import org.springframework.data.annotation.Id;
25 public class SpecificationInputSchema implements Resource {
30 private String id = null;
32 @JsonProperty("schema")
33 private String specificationSchemaJson = null;
37 @ApiModelProperty(required = true, value = "uuid for the specification input schema")
38 public String getId() {
41 public void setId(String id) {
45 @JsonProperty("schema")
46 @ApiModelProperty(required = true, value = "Input schema for the service")
47 public String getSpecificationSchemaJson() {
48 return specificationSchemaJson;
51 public void setSpecificationSchemaJson(String specificationSchemaJson) {
52 this.specificationSchemaJson = specificationSchemaJson;