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.innogysmarthome.internal.client.entity;
16 * Defines a {@link Property}, that is a basic key/value structure used for several data types in the innogy API.
18 * @author Oliver Kuhl - Initial contribution
20 public class Property {
26 private String lastchanged;
29 // used for serialization
33 * Constructs a new {@link Property} with the given name and value.
38 public Property(String name, Object value) {
46 public String getName() {
51 * @param name the name to set
53 public void setName(String name) {
60 public Object getValue() {
65 * @param value the value to set
67 public void setValue(Object value) {
72 * @return the lastchanged
74 public String getLastchanged() {
79 * @param lastchanged the lastchanged to set
81 public void setLastchanged(String lastchanged) {
82 this.lastchanged = lastchanged;