bcad1f33ccbe801b37ee783c67651919e1aaa678
[so.git] /
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.List;
25 import java.util.Map;
26
27 import org.codehaus.jackson.annotate.JsonIgnore;
28 import org.codehaus.jackson.annotate.JsonIgnoreProperties;
29 import org.codehaus.jackson.annotate.JsonProperty;
30
31 @JsonIgnoreProperties({ "additionalProperties" })
32 public class E2EParameters {
33
34         @JsonProperty("globalSubscriberId")
35         private String globalSubscriberId;
36
37         @JsonProperty("subscriberName")
38         private String subscriberName;
39         
40         @JsonProperty("serviceType")
41         private String serviceType;
42         
43         @JsonProperty("templateName")
44         private String templateName;
45         
46
47         @JsonProperty("resources")
48         private List<ResourceRequest> resources;
49
50         @JsonIgnore
51         private Map<String, Object> additionalProperties = new HashMap<>();
52
53         
54     /**
55      * @return Returns the serviceType.
56      */
57     public String getServiceType() {
58         return serviceType;
59     }
60     
61     /**
62      * @param serviceType The serviceType to set.
63      */
64     public void setServiceType(String serviceType) {
65         this.serviceType = serviceType;
66     }
67    
68     /**
69      * @return Returns the templateName.
70      */
71     public String getTemplateName() {
72         return templateName;
73     }
74     
75     /**
76      * @param templateName The templateName to set.
77      */
78     public void setTemplateName(String templateName) {
79         this.templateName = templateName;
80     }
81
82     public String getGlobalSubscriberId() {
83                 return globalSubscriberId;
84         }
85
86         public void setGlobalSubscriberId(String globalSubscriberId) {
87                 this.globalSubscriberId = globalSubscriberId;
88         }
89
90         public String getSubscriberName() {
91                 return subscriberName;
92         }
93
94         public void setSubscriberName(String subscriberName) {
95                 this.subscriberName = subscriberName;
96         }
97
98         public Map<String, Object> getAdditionalProperties() {
99                 return additionalProperties;
100         }
101
102         public void setAdditionalProperties(Map<String, Object> additionalProperties) {
103                 this.additionalProperties = additionalProperties;
104         }
105     
106     /**
107      * @return Returns the resources.
108      */
109     public List<ResourceRequest> getResources() {
110         return resources;
111     }
112     
113     /**
114      * @param resources The resources to set.
115      */
116     public void setResources(List<ResourceRequest> resources) {
117         this.resources = resources;
118     }
119
120 }