2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.jablotron.internal.model;
15 import java.util.ArrayList;
16 import java.util.List;
18 import org.eclipse.jdt.annotation.NonNullByDefault;
20 import com.google.gson.annotations.SerializedName;
23 * The {@link JablotronServiceDetailSegment} class defines the service segment detail object
25 * @author Ondrej Pecta - Initial contribution
28 public class JablotronServiceDetailSegment {
30 @SerializedName("segment_id")
31 String segmentId = "";
33 @SerializedName("segment_state")
34 String segmentState = "";
36 @SerializedName("segment_name")
37 String segmentName = "";
39 @SerializedName("segment_informations")
40 List<JablotronServiceDetailSegmentInfo> segmentInfos = new ArrayList<>();
42 public String getSegmentId() {
46 public String getSegmentState() {
50 public String getSegmentName() {
54 public List<JablotronServiceDetailSegmentInfo> getSegmentInfos() {