7315b31621c5986f704dc3ba304aa98ccf2ee042
[optf/cmso.git] /
1 /*
2  *  ============LICENSE_START==============================================
3  *  Copyright (c) 2019 AT&T Intellectual Property.
4  *  =======================================================================
5  *  Licensed under the Apache License, Version 2.0 (the "License"); you may
6  *  not use this file except in compliance with the License. You may obtain a
7  *  copy of the License at
8  *
9  *         http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
14  * or implied. See the License for the specific language governing
15  * permissions and limitations under the License.
16  * ============LICENSE_END=================================================
17  */
18
19 package org.onap.optf.cmso.optimizer.clients.optimizer.models;
20
21 public class OptimizerEngineResponse
22 {
23
24     public enum OptimizerEngineResponseStatus {
25         IN_PROGRESS, COMPLETED, FAILED, IN_QUEUE,
26     }
27
28     private String requestId;
29     private OptimizerResults optimizerResults;
30     private OptimizerEngineResponseStatus status;
31     private Integer pollingSeconds;
32     private String errorMessage;
33     public String getRequestId() {
34         return requestId;
35     }
36     public void setRequestId(String requestId) {
37         this.requestId = requestId;
38     }
39     public OptimizerResults getOptimizerResults() {
40         return optimizerResults;
41     }
42     public void setOptimizerResults(OptimizerResults oprimizerResults) {
43         this.optimizerResults = oprimizerResults;
44     }
45     public OptimizerEngineResponseStatus getStatus() {
46         return status;
47     }
48     public void setStatus(OptimizerEngineResponseStatus status) {
49         this.status = status;
50     }
51     public Integer getPollingSeconds() {
52         return pollingSeconds;
53     }
54     public void setPollingSeconds(Integer pollingSeconds) {
55         this.pollingSeconds = pollingSeconds;
56     }
57     public String getErrorMessage() {
58         return errorMessage;
59     }
60     public void setErrorMessage(String errorMessage) {
61         this.errorMessage = errorMessage;
62     }
63
64
65 }