]> git.basschouten.com Git - openhab-addons.git/blob
0ab6d33592dba28d22ab68ede7466edbc93136b2
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.mybmw.internal.dto.remote;
14
15 /**
16  * The {@link ExecutionStatusContainer} Data Transfer Object
17  *
18  * @author Bernd Weymann - Initial contribution
19  * @author Martin Grassl - refactored to Java Bean
20  */
21 public class ExecutionStatusContainer {
22     private String eventId = "";
23     private String creationTime = "";
24     private String eventStatus = "";
25     private ExecutionError errorDetails = null;
26
27     public String getEventId() {
28         return eventId;
29     }
30
31     public void setEventId(String eventId) {
32         this.eventId = eventId;
33     }
34
35     public String getCreationTime() {
36         return creationTime;
37     }
38
39     public void setCreationTime(String creationTime) {
40         this.creationTime = creationTime;
41     }
42
43     public String getEventStatus() {
44         return eventStatus;
45     }
46
47     public void setEventStatus(String eventStatus) {
48         this.eventStatus = eventStatus;
49     }
50
51     public ExecutionError getErrorDetails() {
52         return errorDetails;
53     }
54
55     public void setErrorDetails(ExecutionError errorDetails) {
56         this.errorDetails = errorDetails;
57     }
58
59     @Override
60     public String toString() {
61         return "ExecutionStatusContainer [eventId=" + eventId + ", creationTime=" + creationTime + ", eventStatus="
62                 + eventStatus + ", errorDetails=" + errorDetails + "]";
63     }
64 }