]> git.basschouten.com Git - openhab-addons.git/blob
99df9454f0e9094327be9235db57e58c820320dd
[openhab-addons.git] /
1 /**
2  * Copyright 2017-2018 Gregory Moyer and contributors.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package org.openhab.binding.lametrictime.api.cloud.model;
17
18 public class Icon
19 {
20     private Integer id;
21     private String title;
22     private String code;
23     private IconType type;
24     private String category;
25     private String url;
26     private Thumb thumb;
27
28     public Integer getId()
29     {
30         return id;
31     }
32
33     public void setId(Integer id)
34     {
35         this.id = id;
36     }
37
38     public Icon withId(Integer id)
39     {
40         this.id = id;
41         return this;
42     }
43
44     public String getTitle()
45     {
46         return title;
47     }
48
49     public void setTitle(String title)
50     {
51         this.title = title;
52     }
53
54     public Icon withTitle(String title)
55     {
56         this.title = title;
57         return this;
58     }
59
60     public String getCode()
61     {
62         return code;
63     }
64
65     public void setCode(String code)
66     {
67         this.code = code;
68     }
69
70     public Icon withCode(String code)
71     {
72         this.code = code;
73         return this;
74     }
75
76     public IconType getType()
77     {
78         return type;
79     }
80
81     public void setType(IconType type)
82     {
83         this.type = type;
84     }
85
86     public Icon withType(IconType type)
87     {
88         this.type = type;
89         return this;
90     }
91
92     public String getCategory()
93     {
94         return category;
95     }
96
97     public void setCategory(String category)
98     {
99         this.category = category;
100     }
101
102     public Icon withCategory(String category)
103     {
104         this.category = category;
105         return this;
106     }
107
108     public String getUrl()
109     {
110         return url;
111     }
112
113     public void setUrl(String url)
114     {
115         this.url = url;
116     }
117
118     public Icon withUrl(String url)
119     {
120         this.url = url;
121         return this;
122     }
123
124     public Thumb getThumb()
125     {
126         return thumb;
127     }
128
129     public void setThumb(Thumb thumb)
130     {
131         this.thumb = thumb;
132     }
133
134     public Icon withThumb(Thumb thumb)
135     {
136         this.thumb = thumb;
137         return this;
138     }
139 }