dfe94dd2f0d4233caf527be74db63bb38330d0ba
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / e2eserviceinstancebeans / E2ERequest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.so.apihandlerinfra.e2eserviceinstancebeans;
23
24 import java.sql.Timestamp;
25
26 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
27
28 @JsonSerialize(include = JsonSerialize.Inclusion.NON_DEFAULT)
29 public class E2ERequest {
30
31         protected String operationId;
32         protected String operation;
33         protected String result;
34         protected String reason;
35         protected String userId;
36         protected String operationContent;
37         protected long progress;
38         protected String operateAt;
39         protected String finishedAt;
40
41         public String getOperationId() {
42                 return operationId;
43         }
44
45         public void setOperationId(String operationId) {
46                 this.operationId = operationId;
47         }
48
49         public String getOperation() {
50                 return operation;
51         }
52
53         public void setOperation(String operation) {
54                 this.operation = operation;
55         }
56
57         public String getResult() {
58                 return result;
59         }
60
61         public void setResult(String result) {
62                 this.result = result;
63         }
64
65         public String getReason() {
66                 return reason;
67         }
68
69         public void setReason(String reason) {
70                 this.reason = reason;
71         }
72
73         public String getUserId() {
74                 return userId;
75         }
76
77         public void setUserId(String userId) {
78                 this.userId = userId;
79         }
80
81         public String getOperationContent() {
82                 return operationContent;
83         }
84
85         public void setOperationContent(String operationContent) {
86                 this.operationContent = operationContent;
87         }
88
89         public long getProgress() {
90                 return progress;
91         }
92
93         public void setProgress(long progress) {
94                 this.progress = progress;
95         }
96
97         public String getOperateAt() {
98                 return operateAt;
99         }
100
101         public void setOperateAt(String operateAt) {
102                 this.operateAt = operateAt;
103         }
104
105         public String getFinishedAt() {
106                 return finishedAt;
107         }
108
109         public void setFinishedAt(String finishedAt) {
110                 this.finishedAt = finishedAt;
111         }
112
113 }