ff53b33073233ad27cc171161b396d3f286188c1
[dcaegen2/services/son-handler.git] / src / main / java / org / onap / dcaegen2 / services / sonhms / restclient / RequestInfo.java
1 /*******************************************************************************
2  *  ============LICENSE_START=======================================================
3  *  son-handler
4  *  ================================================================================
5  *   Copyright (C) 2019 Wipro Limited.
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
22 package org.onap.dcaegen2.services.sonhms.restclient;
23
24 import java.util.List;
25
26 public class RequestInfo {
27     String transactionId = null;
28     String requestId = null;
29     String callbackUrl = null;
30     String sourceId = null;
31     String requestType = null;
32     int numSolutions;
33     List<String> optimizers = null;
34
35     public void setOptimizers(List<String> optimizers) {
36         this.optimizers = optimizers;
37     }
38
39     public List<String> getOptimizers() {
40         return optimizers;
41     }
42
43     int timeout;
44
45     public String getRequestId() {
46         return requestId;
47     }
48
49     public void setRequestId(String requestId) {
50         this.requestId = requestId;
51     }
52
53     public String getCallbackUrl() {
54         return callbackUrl;
55     }
56
57     public void setCallbackUrl(String callbackUrl) {
58         this.callbackUrl = callbackUrl;
59     }
60
61     public String getSourceId() {
62         return sourceId;
63     }
64
65     public void setSourceId(String sourceId) {
66         this.sourceId = sourceId;
67     }
68
69     public String getRequestType() {
70         return requestType;
71     }
72
73     public void setRequestType(String requestType) {
74         this.requestType = requestType;
75     }
76
77     public int getNumSolutions() {
78         return numSolutions;
79     }
80
81     public void setNumSolutions(int numSolutions) {
82         this.numSolutions = numSolutions;
83     }
84
85     public int getTimeout() {
86         return timeout;
87     }
88
89     public void setTimeout(int timeout) {
90         this.timeout = timeout;
91     }
92
93     public String getTransactionId() {
94         return transactionId;
95     }
96
97     public void setTransactionId(String transactionId) {
98         this.transactionId = transactionId;
99     }
100
101 }