Containerization feature of SO
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / 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.onap.so.apihandlerinfra.e2eserviceinstancebeans;
22
23 import java.util.HashMap;
24 import java.util.Map;
25
26 import com.fasterxml.jackson.annotation.JsonIgnore;
27 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
28 import com.fasterxml.jackson.annotation.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("serviceInvariantUuid")
40         private String serviceInvariantUuid;
41
42         @JsonProperty("serviceUuid")
43         private String serviceUuid;
44
45         @JsonProperty("globalSubscriberId")
46         private String globalSubscriberId;
47
48         @JsonProperty("serviceType")
49         private String serviceType;
50
51         @JsonProperty("parameters")
52         private E2EParameters parameters;
53
54         @JsonIgnore
55         private Map<String, Object> additionalProperties = new HashMap<>();
56
57         public String getName() {
58                 return name;
59         }
60
61         public void setName(String name) {
62                 this.name = name;
63         }
64
65         public String getDescription() {
66                 return description;
67         }
68
69         public void setDescription(String description) {
70                 this.description = description;
71         }
72
73         public E2EParameters getParameters() {
74                 return parameters;
75         }
76
77         public void setParameters(E2EParameters parameters) {
78                 this.parameters = parameters;
79         }
80
81         public Map<String, Object> getAdditionalProperties() {
82                 return additionalProperties;
83         }
84
85         public void setAdditionalProperties(Map<String, Object> additionalProperties) {
86                 this.additionalProperties = additionalProperties;
87         }
88
89         public String getServiceInvariantUuid() {
90                 return serviceInvariantUuid;
91         }
92
93         public void setServiceInvariantUuid(String serviceInvariantUuid) {
94                 this.serviceInvariantUuid = serviceInvariantUuid;
95         }
96
97         public String getGlobalSubscriberId() {
98                 return globalSubscriberId;
99         }
100
101         public void setGlobalSubscriberId(String globalSubscriberId) {
102                 this.globalSubscriberId = globalSubscriberId;
103         }
104
105         public String getServiceType() {
106                 return serviceType;
107         }
108
109         public void setServiceType(String serviceType) {
110                 this.serviceType = serviceType;
111         }
112
113         public String getServiceUuid() {
114                 return serviceUuid;
115         }
116
117         public void setServiceUuid(String serviceUuid) {
118                 this.serviceUuid = serviceUuid;
119         }
120 }