2 * ============LICENSE_START=======================================================
\r
4 * ================================================================================
\r
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
\r
6 * ================================================================================
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
18 * ============LICENSE_END=========================================================
\r
21 package org.openecomp.mso.apihandlerinfra.tenantisolationbeans;
\r
23 import java.io.Serializable;
\r
25 import com.fasterxml.jackson.annotation.JsonInclude;
\r
26 import com.fasterxml.jackson.annotation.JsonInclude.Include;
\r
27 import com.fasterxml.jackson.annotation.JsonProperty;
\r
28 import com.fasterxml.jackson.annotation.JsonRootName;
\r
30 @JsonRootName(value = "requestParameters")
\r
31 @JsonInclude(Include.NON_DEFAULT)
\r
32 public class RequestParameters implements Serializable {
\r
34 private static final long serialVersionUID = 8530327178156183693L;
\r
35 @JsonProperty("operationalEnvironmentType")
\r
36 private OperationalEnvironment operationalEnvironmentType;
\r
37 @JsonProperty("tenantContext")
\r
38 private String tenantContext;
\r
39 @JsonProperty("workloadContext")
\r
40 private String workloadContext;
\r
41 @JsonProperty("manifest")
\r
42 private Manifest manifest;
\r
44 public OperationalEnvironment getOperationalEnvironmentType() {
\r
45 return operationalEnvironmentType;
\r
48 public void setOperationalEnvironmentType(OperationalEnvironment operationalEnvironmentType) {
\r
49 this.operationalEnvironmentType = operationalEnvironmentType;
\r
52 public String getTenantContext() {
\r
53 return tenantContext;
\r
56 public void setTenantContext(String tenantContext) {
\r
57 this.tenantContext = tenantContext;
\r
60 public String getWorkloadContext() {
\r
61 return workloadContext;
\r
64 public void setWorkloadContext(String workloadContext) {
\r
65 this.workloadContext = workloadContext;
\r
68 public Manifest getManifest() {
\r
72 public void setManifest(Manifest manifest) {
\r
73 this.manifest = manifest;
\r
78 public String toString() {
\r
79 return "RequestParameters [operationalEnvironmentType=" + operationalEnvironmentType
\r
80 + ", tenantContext=" + tenantContext
\r
81 + ", workloadContext=" + workloadContext
\r
82 + ", manifes=" + manifest +"]";
\r