17df889238603f80b5b410dbea27d12a1ea083e7
[usecase-ui/server.git] /
1 /**
2  * Copyright 2016-2017 ZTE Corporation.
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 package org.onap.usecaseui.server.bean.lcm.sotne2eservice;
17
18 import com.fasterxml.jackson.annotation.JsonIgnore;
19 import com.fasterxml.jackson.annotation.JsonProperty;
20 import org.onap.usecaseui.server.bean.lcm.sotne2eservice.E2EService;
21
22 import java.util.HashMap;
23 import java.util.Map;
24
25 public class E2EServiceInstanceRequest {
26
27     @JsonProperty("service")
28     private E2EService service;
29
30     @JsonIgnore
31     private Map<String, Object> additionalProperties = new HashMap<>();
32
33     public E2EService getService() {
34         return service;
35     }
36
37     public void setService(E2EService service) {
38         this.service = service;
39     }
40
41     public Map<String, Object> getAdditionalProperties() {
42         return this.additionalProperties;
43     }
44
45
46
47     public void setAdditionalProperties(Map<String, Object> additionalProperties) {
48         this.additionalProperties = additionalProperties;
49     }
50
51     public void setAdditionalProperty(String name, Object value) {
52         this.additionalProperties.put(name, value);
53     }
54
55 }