d387928e224507e0b0dba35661691def502769d2
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / tenantisolation / CloudOrchestrationRequest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. 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.tenantisolation;
22
23 import java.io.Serializable;
24
25 import org.onap.so.apihandlerinfra.tenantisolationbeans.Distribution;
26 import org.onap.so.apihandlerinfra.tenantisolationbeans.RequestDetails;
27
28 import com.fasterxml.jackson.annotation.JsonProperty;
29
30 public class CloudOrchestrationRequest implements Serializable {
31
32         private static final long serialVersionUID = -4959169541182257787L;
33         @JsonProperty("requestDetails")
34         private RequestDetails requestDetails;
35         @JsonProperty("operationalEnvironmentId")
36         private String operationalEnvironmentId;
37         @JsonProperty("distribution")
38         private Distribution distribution;
39         @JsonProperty("distributionId")
40         private String distributionId;  
41         
42         public String getOperationalEnvironmentId() {
43                 return operationalEnvironmentId;
44         }
45
46         public void setOperationalEnvironmentId(String operationalEnvironmentId) {
47                 this.operationalEnvironmentId = operationalEnvironmentId;
48         }
49
50         public RequestDetails getRequestDetails() {
51                 return requestDetails;
52         }
53         
54         public void setRequestDetails(RequestDetails requestDetails){
55                 this.requestDetails = requestDetails;
56         }
57
58         public Distribution getDistribution() {
59                 return distribution;
60         }
61
62         public void setDistribution(Distribution distribution) {
63                 this.distribution = distribution;
64         }
65
66         public String getDistributionId() {
67                 return distributionId;
68         }
69
70         public void setDistributionId(String distributionId) {
71                 this.distributionId = distributionId;
72         }       
73         
74         @Override
75         public String toString() {
76                 return "ServiceInstancesRequest [requestDetails=" + requestDetails
77                                 + ", operationalEnvironmentId=" + operationalEnvironmentId
78                                 + ", distribution=" + distribution
79                                 + ", distributionId=" + distributionId + "]";
80         }
81 }