]> git.basschouten.com Git - openhab-addons.git/blob
5e0d6c4f597d0d814a8e7dc0850aa533480f1013
[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.lametrictime.internal.api.cloud.dto;
14
15 /**
16  * Pojo for icons metadata.
17  *
18  * @author Gregory Moyer - Initial contribution
19  */
20 public class IconsMetadata {
21     private Integer totalIconCount;
22     private Integer page;
23     private Integer pageSize;
24     private Integer pageCount;
25
26     public Integer getTotalIconCount() {
27         return totalIconCount;
28     }
29
30     public void setTotalIconCount(Integer totalIconCount) {
31         this.totalIconCount = totalIconCount;
32     }
33
34     public IconsMetadata withTotalIconCount(Integer totalIconCount) {
35         this.totalIconCount = totalIconCount;
36         return this;
37     }
38
39     public Integer getPage() {
40         return page;
41     }
42
43     public void setPage(Integer page) {
44         this.page = page;
45     }
46
47     public IconsMetadata withPage(Integer page) {
48         this.page = page;
49         return this;
50     }
51
52     public Integer getPageSize() {
53         return pageSize;
54     }
55
56     public void setPageSize(Integer pageSize) {
57         this.pageSize = pageSize;
58     }
59
60     public IconsMetadata withPageSize(Integer pageSize) {
61         this.pageSize = pageSize;
62         return this;
63     }
64
65     public Integer getPageCount() {
66         return pageCount;
67     }
68
69     public void setPageCount(Integer pageCount) {
70         this.pageCount = pageCount;
71     }
72
73     public IconsMetadata withPageCount(Integer pageCount) {
74         this.pageCount = pageCount;
75         return this;
76     }
77 }