]> git.basschouten.com Git - openhab-addons.git/blob
5efa3aa4f0b87a2eb853ae48cdc4b8e5adc27ce9
[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 icon.
17  *
18  * @author Gregory Moyer - Initial contribution
19  */
20 public class Icon {
21     private Integer id;
22     private String title;
23     private String code;
24     private IconType type;
25     private String category;
26     private String url;
27     private Thumb thumb;
28
29     public Integer getId() {
30         return id;
31     }
32
33     public void setId(Integer id) {
34         this.id = id;
35     }
36
37     public Icon withId(Integer id) {
38         this.id = id;
39         return this;
40     }
41
42     public String getTitle() {
43         return title;
44     }
45
46     public void setTitle(String title) {
47         this.title = title;
48     }
49
50     public Icon withTitle(String title) {
51         this.title = title;
52         return this;
53     }
54
55     public String getCode() {
56         return code;
57     }
58
59     public void setCode(String code) {
60         this.code = code;
61     }
62
63     public Icon withCode(String code) {
64         this.code = code;
65         return this;
66     }
67
68     public IconType getType() {
69         return type;
70     }
71
72     public void setType(IconType type) {
73         this.type = type;
74     }
75
76     public Icon withType(IconType type) {
77         this.type = type;
78         return this;
79     }
80
81     public String getCategory() {
82         return category;
83     }
84
85     public void setCategory(String category) {
86         this.category = category;
87     }
88
89     public Icon withCategory(String category) {
90         this.category = category;
91         return this;
92     }
93
94     public String getUrl() {
95         return url;
96     }
97
98     public void setUrl(String url) {
99         this.url = url;
100     }
101
102     public Icon withUrl(String url) {
103         this.url = url;
104         return this;
105     }
106
107     public Thumb getThumb() {
108         return thumb;
109     }
110
111     public void setThumb(Thumb thumb) {
112         this.thumb = thumb;
113     }
114
115     public Icon withThumb(Thumb thumb) {
116         this.thumb = thumb;
117         return this;
118     }
119 }