2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.mso.apihandlerinfra.e2eserviceinstancebeans;
23 import java.util.HashMap;
24 import java.util.List;
27 import org.codehaus.jackson.annotate.JsonIgnore;
28 import org.codehaus.jackson.annotate.JsonIgnoreProperties;
29 import org.codehaus.jackson.annotate.JsonProperty;
31 @JsonIgnoreProperties({ "additionalProperties" })
32 public class E2EParameters {
34 @JsonProperty("globalSubscriberId")
35 private String globalSubscriberId;
37 @JsonProperty("subscriberName")
38 private String subscriberName;
40 @JsonProperty("serviceType")
41 private String serviceType;
43 @JsonProperty("templateName")
44 private String templateName;
47 @JsonProperty("resources")
48 private List<ResourceRequest> resources;
51 private Map<String, Object> additionalProperties = new HashMap<>();
55 * @return Returns the serviceType.
57 public String getServiceType() {
62 * @param serviceType The serviceType to set.
64 public void setServiceType(String serviceType) {
65 this.serviceType = serviceType;
69 * @return Returns the templateName.
71 public String getTemplateName() {
76 * @param templateName The templateName to set.
78 public void setTemplateName(String templateName) {
79 this.templateName = templateName;
82 public String getGlobalSubscriberId() {
83 return globalSubscriberId;
86 public void setGlobalSubscriberId(String globalSubscriberId) {
87 this.globalSubscriberId = globalSubscriberId;
90 public String getSubscriberName() {
91 return subscriberName;
94 public void setSubscriberName(String subscriberName) {
95 this.subscriberName = subscriberName;
98 public Map<String, Object> getAdditionalProperties() {
99 return additionalProperties;
102 public void setAdditionalProperties(Map<String, Object> additionalProperties) {
103 this.additionalProperties = additionalProperties;
107 * @return Returns the resources.
109 public List<ResourceRequest> getResources() {
114 * @param resources The resources to set.
116 public void setResources(List<ResourceRequest> resources) {
117 this.resources = resources;