Format Java code with respect to ONAP Code Style
[externalapi/nbi.git] / src / main / java / org / onap / nbi / apis / servicecatalog / model / SpecificationInputSchema.java
1 /**
2  *     Copyright (c) 2019 Amdocs
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
17 package org.onap.nbi.apis.servicecatalog.model;
18
19 import com.fasterxml.jackson.annotation.JsonProperty;
20 import io.swagger.annotations.ApiModel;
21 import io.swagger.annotations.ApiModelProperty;
22 import org.onap.nbi.commons.Resource;
23 import org.springframework.data.annotation.Id;
24
25 @ApiModel
26 public class SpecificationInputSchema implements Resource {
27
28     @Id
29     @JsonProperty("id")
30     private String id = null;
31
32     @JsonProperty("schema")
33     private String specificationSchemaJson = null;
34
35     @Override
36     @JsonProperty("id")
37     @ApiModelProperty(required = true, value = "uuid for the specification input schema")
38     public String getId() {
39         return id;
40     }
41
42     public void setId(String id) {
43         this.id = id;
44     }
45
46     @JsonProperty("schema")
47     @ApiModelProperty(required = true, value = "Input schema for the service")
48     public String getSpecificationSchemaJson() {
49         return specificationSchemaJson;
50     }
51
52     public void setSpecificationSchemaJson(String specificationSchemaJson) {
53         this.specificationSchemaJson = specificationSchemaJson;
54     }
55 }