]> git.basschouten.com Git - openhab-addons.git/blob
c8e11bdb15ae4dd67012d69a0bd4c4c9280549e7
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.ecobee.internal.dto;
14
15 /**
16  * The {@link PageDTO} is optional and will only appear for responses which
17  * can be paged. It will not appear for responses which do not contain pageable content.
18  *
19  * @author Mark Hilbush - Initial contribution
20  */
21 public class PageDTO {
22
23     /*
24      * The page retrieved or, in the case of a request parameter, the specific page requested.
25      */
26     public Integer page;
27
28     /*
29      * The total pages available.
30      */
31     public Integer totalPages;
32
33     /*
34      * The number of objects on this page.
35      */
36     public Integer pageSize;
37
38     /*
39      * The total number of objects available.
40      */
41     public Integer total;
42 }