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.gree.internal.gson;
17 * The GreeStatusResponsePack4Gson class is used by Gson to hold values returned from
18 * the Air Conditioner during requests for Status Updates to the
21 * @author John Cunha - Initial contribution
23 public class GreeStatusResponsePackDTO {
25 public GreeStatusResponsePackDTO(GreeStatusResponsePackDTO other) {
26 if (other.cols != null) {
27 cols = new String[other.cols.length];
28 dat = new Integer[other.dat.length];
29 System.arraycopy(other.cols, 0, cols, 0, other.cols.length);
30 System.arraycopy(other.dat, 0, dat, 0, other.dat.length);
37 public String t = null;
38 public String mac = null;
40 public String[] cols = null;
41 public Integer[] dat = null;