]> git.basschouten.com Git - openhab-addons.git/blob
d33e6d35489def2c2b29e10b7ebf98f9ef04f7c7
[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 java.time.ZonedDateTime;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
19
20 /**
21  * @author Arjan Mels - Initial contribution
22  */
23 @NonNullByDefault
24 public class Ignition {
25
26     private @Nullable ZonedDateTime updatedAt;
27     private @Nullable String type;
28
29     public @Nullable ZonedDateTime getUpdatedAt() {
30         return updatedAt;
31     }
32
33     public @Nullable String getType() {
34         return type;
35     }
36
37     @Override
38     public String toString() {
39         return new ToStringBuilder(this).append("updatedAt", updatedAt).append("type", type).toString();
40     }
41 }