]> git.basschouten.com Git - openhab-addons.git/blob
e61b7e5889bcb278521a5d9ced4acca74c0e8127
[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.groupepsa.internal.rest.api.dto;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * @author Arjan Mels - Initial contribution
20  */
21 @NonNullByDefault
22 public class ErrorObject {
23     private @Nullable String uuid;
24     private @Nullable String code;
25     private @Nullable String message;
26
27     public @Nullable String getUuid() {
28         return uuid;
29     }
30
31     public @Nullable String getMessage() {
32         return message;
33     }
34
35     public @Nullable String getCode() {
36         return code;
37     }
38
39     @Override
40     public String toString() {
41         return new ToStringBuilder(this).append("uuid", uuid).append("code", code).append("message", message)
42                 .toString();
43     }
44 }