VoLTE service instance
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / serviceinstancebeans / E2EService.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.mso.apihandlerinfra.serviceinstancebeans;
22
23 import java.util.HashMap;
24 import java.util.Map;
25
26 import org.codehaus.jackson.annotate.JsonIgnore;
27 import org.codehaus.jackson.annotate.JsonIgnoreProperties;
28 import org.codehaus.jackson.annotate.JsonProperty;
29
30 @JsonIgnoreProperties({ "additionalProperties" })
31 public class E2EService {
32
33         @JsonProperty("name")
34         private String name;
35         @JsonProperty("description")
36         private String description;
37         @JsonProperty("serviceDefId")
38         private String serviceDefId;
39         @JsonProperty("templateId")
40         private String templateId;
41         @JsonProperty("parameters")
42         private E2EParameters parameters;
43         @JsonIgnore
44         private Map<String, Object> additionalProperties = new HashMap<>();
45
46         public String getName() {
47                 return name;
48         }
49
50         public void setName(String name) {
51                 this.name = name;
52         }
53
54         public String getDescription() {
55                 return description;
56         }
57
58         public void setDescription(String description) {
59                 this.description = description;
60         }
61
62         public String getServiceDefId() {
63                 return serviceDefId;
64         }
65
66         public void setServiceDefId(String serviceDefId) {
67                 this.serviceDefId = serviceDefId;
68         }
69
70         public String getTemplateId() {
71                 return templateId;
72         }
73
74         public void setTemplateId(String templateId) {
75                 this.templateId = templateId;
76         }
77
78         public E2EParameters getParameters() {
79                 return parameters;
80         }
81
82         public void setParameters(E2EParameters parameters) {
83                 this.parameters = parameters;
84         }
85
86         public Map<String, Object> getAdditionalProperties() {
87                 return this.additionalProperties;
88         }
89
90         public void setAdditionalProperty(String name, Object value) {
91                 this.additionalProperties.put(name, value);
92         }
93
94 }