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.hue.internal.dto;
16 * Details of a bridge firmware update.
18 * @author Q42 - Initial contribution
19 * @author Denis Dudnik - moved Jue library source code inside the smarthome Hue binding
21 public class SoftwareUpdate {
22 private int updatestate;
25 private boolean notify;
28 * Returns the state of the update.
31 * Actual meaning currently undocumented
33 * @return state of update
35 public int getUpdateState() {
40 * Returns the url of the changelog.
42 * @return changelog url
44 public String getUrl() {
49 * Returns a description of the update.
51 * @return update description
53 public String getText() {
58 * Returns if there will be a notification about this update.
60 * @return true for notification, false otherwise
62 public boolean isNotified() {