For E2E Service instance create
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / e2eserviceinstancebeans / 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.e2eserviceinstancebeans;
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
36         @JsonProperty("description")
37         private String description;
38
39         @JsonProperty("serviceDefId")
40         private String serviceDefId;
41
42         @JsonProperty("templateId")
43         private String templateId;
44
45         @JsonProperty("parameters")
46         private E2EParameters parameters;
47
48         @JsonIgnore
49         private Map<String, Object> additionalProperties = new HashMap<>();
50
51         public String getName() {
52                 return name;
53         }
54
55         public void setName(String name) {
56                 this.name = name;
57         }
58
59         public String getDescription() {
60                 return description;
61         }
62
63         public void setDescription(String description) {
64                 this.description = description;
65         }
66
67         public String getServiceDefId() {
68                 return serviceDefId;
69         }
70
71         public void setServiceDefId(String serviceDefId) {
72                 this.serviceDefId = serviceDefId;
73         }
74
75         public String getTemplateId() {
76                 return templateId;
77         }
78
79         public void setTemplateId(String templateId) {
80                 this.templateId = templateId;
81         }
82
83         public E2EParameters getParameters() {
84                 return parameters;
85         }
86
87         public void setParameters(E2EParameters parameters) {
88                 this.parameters = parameters;
89         }
90
91         public Map<String, Object> getAdditionalProperties() {
92                 return additionalProperties;
93         }
94
95         public void setAdditionalProperties(Map<String, Object> additionalProperties) {
96                 this.additionalProperties = additionalProperties;
97         }
98
99 }