Replaced all tabs with spaces in java and pom.xml
[so.git] / bpmn / so-bpmn-tasks / src / main / java / org / onap / so / client / oof / beans / RequestInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2018 Intel Corp.  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.client.oof.beans;
22
23 import java.io.Serializable;
24 import java.util.List;
25 import com.fasterxml.jackson.annotation.JsonInclude;
26 import com.fasterxml.jackson.annotation.JsonProperty;
27 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
28 import com.fasterxml.jackson.annotation.JsonRootName;
29
30 @JsonInclude(JsonInclude.Include.NON_NULL)
31 @JsonPropertyOrder({"transactionId", "requestId", "callbackUrl", "sourceId", "requestType", "numSolutions",
32         "optimizers", "timeout"})
33 @JsonRootName("requestInfo")
34 public class RequestInfo implements Serializable {
35
36     private static final long serialVersionUID = -759180997599143791L;
37
38     @JsonProperty("transactionId")
39     private String transactionId;
40     @JsonProperty("requestId")
41     private String requestId;
42     @JsonProperty("callbackUrl")
43     private String callbackUrl;
44     @JsonProperty("sourceId")
45     private String sourceId;
46     @JsonProperty("requestType")
47     private String requestType;
48     @JsonProperty("numSolutions")
49     private Integer numSolutions;
50     @JsonProperty("optimizers")
51     private List<String> optimizers = null;
52     @JsonProperty("timeout")
53     private Long timeout;
54
55     @JsonProperty("transactionId")
56     public String getTransactionId() {
57         return transactionId;
58     }
59
60     @JsonProperty("transactionId")
61     public void setTransactionId(String transactionId) {
62         this.transactionId = transactionId;
63     }
64
65     @JsonProperty("requestId")
66     public String getRequestId() {
67         return requestId;
68     }
69
70     @JsonProperty("requestId")
71     public void setRequestId(String requestId) {
72         this.requestId = requestId;
73     }
74
75     @JsonProperty("callbackUrl")
76     public String getCallbackUrl() {
77         return callbackUrl;
78     }
79
80     @JsonProperty("callbackUrl")
81     public void setCallbackUrl(String callbackUrl) {
82         this.callbackUrl = callbackUrl;
83     }
84
85     @JsonProperty("sourceId")
86     public String getSourceId() {
87         return sourceId;
88     }
89
90     @JsonProperty("sourceId")
91     public void setSourceId(String sourceId) {
92         this.sourceId = sourceId;
93     }
94
95     @JsonProperty("requestType")
96     public String getRequestType() {
97         return requestType;
98     }
99
100     @JsonProperty("requestType")
101     public void setRequestType(String requestType) {
102         this.requestType = requestType;
103     }
104
105     @JsonProperty("numSolutions")
106     public Integer getNumSolutions() {
107         return numSolutions;
108     }
109
110     @JsonProperty("numSolutions")
111     public void setNumSolutions(Integer numSolutions) {
112         this.numSolutions = numSolutions;
113     }
114
115     @JsonProperty("optimizers")
116     public List<String> getOptimizers() {
117         return optimizers;
118     }
119
120     @JsonProperty("optimizers")
121     public void setOptimizers(List<String> optimizers) {
122         this.optimizers = optimizers;
123     }
124
125     @JsonProperty("timeout")
126     public Long getTimeout() {
127         return timeout;
128     }
129
130     @JsonProperty("timeout")
131     public void setTimeout(Long timeout) {
132         this.timeout = timeout;
133     }
134
135 }