]> git.basschouten.com Git - openhab-addons.git/blob
e02d08b67ba199514a54a6634cacec10b18c43d8
[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.webexteams.internal.api;
14
15 import java.util.Date;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
19
20 /**
21  * a <code>Person</code> object that is received from the Webex API.
22  * 
23  * @author Tom Deckers - Initial contribution
24  */
25 @NonNullByDefault
26 public class Person {
27     private @Nullable String id;
28     private @Nullable String displayName;
29     private @Nullable String firstName;
30     private @Nullable String lastName;
31     private @Nullable String avatar;
32     private @Nullable Date lastActivity;
33     private @Nullable String status;
34     private @Nullable String type;
35
36     @Nullable
37     public String getId() {
38         return id;
39     }
40
41     public void setId(String id) {
42         this.id = id;
43     }
44
45     @Nullable
46     public String getDisplayName() {
47         return displayName;
48     }
49
50     public void setDisplayName(String displayName) {
51         this.displayName = displayName;
52     }
53
54     @Nullable
55     public String getFirstName() {
56         return firstName;
57     }
58
59     public void setFirstName(String firstName) {
60         this.firstName = firstName;
61     }
62
63     @Nullable
64     public String getLastName() {
65         return lastName;
66     }
67
68     public void setLastName(String lastName) {
69         this.lastName = lastName;
70     }
71
72     @Nullable
73     public String getAvatar() {
74         return avatar;
75     }
76
77     public void setAvatar(String avatar) {
78         this.avatar = avatar;
79     }
80
81     @Nullable
82     public Date getLastActivity() {
83         return lastActivity;
84     }
85
86     public void setLastActivity(Date lastActivity) {
87         this.lastActivity = lastActivity;
88     }
89
90     @Nullable
91     public String getStatus() {
92         return status;
93     }
94
95     public void setStatus(String status) {
96         this.status = status;
97     }
98
99     @Nullable
100     public String getType() {
101         return type;
102     }
103
104     public void setType(String type) {
105         this.type = type;
106     }
107 }