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