+/**\r
+ * ============LICENSE_START=======================================================\r
+ * RestClient\r
+ * ================================================================================\r
+ * Copyright © 2017 AT&T Intellectual Property.\r
+ * Copyright © 2017 Amdocs\r
+ * All rights reserved.\r
+ * ================================================================================\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ============LICENSE_END=========================================================\r
+ *\r
+ * ECOMP and OpenECOMP are trademarks\r
+ * and service marks of AT&T Intellectual Property.\r
+ */\r
+package org.openecomp.restclient.client;\r
+\r
+import javax.ws.rs.core.MultivaluedMap;\r
+\r
+public class OperationResult {\r
+\r
+ private String result;\r
+ private String failureCause;\r
+ private int resultCode;\r
+ private MultivaluedMap<String, String> headers;\r
+\r
+ /**\r
+ * Get the HTTP headers of the response.\r
+ *\r
+ * @return the HTTP headers of the response.\r
+ */\r
+ public MultivaluedMap<String, String> getHeaders() {\r
+ return headers;\r
+ }\r
+\r
+ public void setHeaders(MultivaluedMap<String, String> headers) {\r
+ this.headers = headers;\r
+ }\r
+\r
+\r
+ public String getResult() {\r
+ return result;\r
+ }\r
+\r
+ public void setResult(String result) {\r
+ this.result = result;\r
+ }\r
+\r
+ public int getResultCode() {\r
+ return resultCode;\r
+ }\r
+\r
+ public String getFailureCause() {\r
+ return failureCause;\r
+ }\r
+\r
+ public void setFailureCause(String failureCause) {\r
+ this.failureCause = failureCause;\r
+ }\r
+\r
+ public void setResultCode(int resultCode) {\r
+ this.resultCode = resultCode;\r
+ }\r
+\r
+ public OperationResult() {\r
+ super();\r
+ }\r
+\r
+ @Override\r
+ public String toString() {\r
+ return "OperationResult [result=" + result + ", resultCode=" + resultCode + "]";\r
+ }\r
+\r
+}\r