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.requests;
15 import org.openhab.binding.vesync.internal.dto.responses.VeSyncUserSession;
16 import org.openhab.binding.vesync.internal.exceptions.AuthenticationException;
18 import com.google.gson.annotations.SerializedName;
21 * The {@link VeSyncRequestManagedDevicesPage} is the Java class as a DTO to hold login credentials for the Vesync
24 * @author David Goodyear - Initial contribution
26 public class VeSyncRequestManagedDevicesPage extends VeSyncAuthenticatedRequest {
28 @SerializedName("pageNo")
31 @SerializedName("pageSize")
32 public String pageSize;
34 public VeSyncRequestManagedDevicesPage(final VeSyncUserSession user) throws AuthenticationException {
39 public VeSyncRequestManagedDevicesPage(final VeSyncUserSession user, int pageNo, int pageSize)
40 throws AuthenticationException {
42 this.pageNo = String.valueOf(pageNo);
43 this.pageSize = String.valueOf(pageSize);
46 public String getPageNo() {
50 public String getPageSize() {