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.vesync.internal.dto.responses;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link VeSyncManagedDevicesPage} is a Java class used as a DTO to hold the Vesync's API's response data to a
19 * page of data requesting the manages devices.
21 * @author David Goodyear - Initial contribution
23 public class VeSyncManagedDevicesPage extends VeSyncResponse {
25 @SerializedName("result")
26 public Outcome outcome;
28 public class Outcome {
29 @SerializedName("pageNo")
32 @SerializedName("total")
35 @SerializedName("pageSize")
36 public String pageSize;
38 @SerializedName("list")
39 public VeSyncManagedDeviceBase[] list;
41 public String getPageNo() {
45 public String getPageSize() {
49 public String getTotal() {