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 = "requestInfo")
\r
31 @JsonInclude(Include.NON_DEFAULT)
\r
32 public class RequestInfo implements Serializable {
\r
34 private static final long serialVersionUID = 1346372792555344857L;
\r
35 @JsonProperty("resourceType")
\r
36 protected ResourceType resourceType;
\r
37 @JsonProperty("source")
\r
38 protected String source;
\r
39 @JsonProperty("instanceName")
\r
40 protected String instanceName;
\r
41 @JsonProperty("requestorId")
\r
42 protected String requestorId;
\r
45 * Gets the value of the resourceType property.
\r
48 * possible object is
\r
49 * {@link ResourceType }
\r
52 public ResourceType getResourceType() {
\r
53 return resourceType;
\r
57 * Sets the value of the source property.
\r
61 * {@link ResourceType }
\r
64 public void setResourceType(ResourceType value) {
\r
65 this.resourceType = value;
\r
70 * Gets the value of the source property.
\r
73 * possible object is
\r
77 public String getSource() {
\r
82 * Sets the value of the source property.
\r
89 public void setSource(String value) {
\r
90 this.source = value;
\r
93 public String getInstanceName() {
\r
94 return instanceName;
\r
97 public void setInstanceName(String instanceName) {
\r
98 this.instanceName = instanceName;
\r
101 public String getRequestorId() {
\r
102 return requestorId;
\r
105 public void setRequestorId(String requestorId) {
\r
106 this.requestorId = requestorId;
\r
110 public String toString() {
\r
111 return "RequestInfo [source=" + source
\r
112 + ", instanceName=" + instanceName
\r
113 + ", requestorId=" + requestorId
\r
114 + ", resourceType=" + resourceType + "]";
\r