]> git.basschouten.com Git - openhab-addons.git/blob
d04319e6265572614310f18fa4d0327580486dbb
[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.liquidcheck.internal.json;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 import com.google.gson.annotations.Expose;
18
19 /**
20  * The {@link Header} class is used for serializing and deserializing of JSONs.
21  * It contains the data lika namespace, name, messageId, payloadVersion and authorization.
22  *
23  * @author Marcel Goerentz - Initial contribution
24  */
25 @NonNullByDefault
26 public class Header {
27     @Expose
28     public String namespace = "";
29     @Expose
30     public String name = "";
31     @Expose
32     public String messageId = "";
33     @Expose
34     public String payloadVersion = "";
35
36     public String authorization = "";
37 }