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.orbitbhyve.internal.model;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
18 import com.google.gson.JsonArray;
19 import com.google.gson.annotations.SerializedName;
22 * The {@link OrbitBhyveZone} holds information about a B-Hyve
25 * @author Ondrej Pecta - Initial contribution
28 public class OrbitBhyveZone {
32 @SerializedName("catch_cup_run_time")
33 int catchCupRunTime = 0;
35 @SerializedName("catch_cup_volumes")
36 JsonArray catchCupVolumes = new JsonArray();
38 @SerializedName("num_sprinklers")
39 int numSprinklers = 0;
41 @SerializedName("landscape_type")
45 @SerializedName("soil_type")
49 @SerializedName("sprinkler_type")
53 @SerializedName("sun_shade")
57 @SerializedName("slope_grade")
60 @SerializedName("image_url")
63 @SerializedName("smart_watering_enabled")
64 boolean smartWateringEnabled = false;
66 public String getName() {
70 public int getStation() {
74 public boolean isSmartWateringEnabled() {
75 return smartWateringEnabled;
78 public void setSmartWateringEnabled(boolean smartWateringEnabled) {
79 this.smartWateringEnabled = smartWateringEnabled;