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.
17 package org.onap.nbi.apis.servicecatalog.model;
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;
28 public class ServiceSpecification implements Resource {
32 private String id = null;
34 @JsonProperty("catalogResponse")
35 private Map catalogResponse = null;
39 @ApiModelProperty(required = true, value = "uuid for the service specification")
40 public String getId() {
44 public void setId(String id) {
48 @JsonProperty("catalogResponse")
49 @ApiModelProperty(required = true, value = "catalogResponse for the corresponding service uuid")
50 public Map getCatalogResponse() {
51 return catalogResponse;
54 public void setCatalogResponse(Map catalogResponse) {
55 this.catalogResponse = catalogResponse;