]> git.basschouten.com Git - openhab-addons.git/blob
65c46f138ecadb0ce91f3e3bf9c167fa59e74e9b
[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.icloud.internal.handler.dto.json.response;
14
15 /**
16  * Serializable class to parse json response received from the Apple server.
17  *
18  * @author Patrik Gfeller - Initial Contribution
19  *
20  */
21 public class ICloudAccountUserInfo {
22     private int accountFormatter;
23
24     private String firstName;
25
26     private boolean hasMembers;
27
28     private String lastName;
29
30     private Object membersInfo;
31
32     public int getAccountFormatter() {
33         return this.accountFormatter;
34     }
35
36     public String getFirstName() {
37         return this.firstName;
38     }
39
40     public boolean getHasMembers() {
41         return this.hasMembers;
42     }
43
44     public String getLastName() {
45         return this.lastName;
46     }
47
48     public Object getMembersInfo() {
49         return this.membersInfo;
50     }
51
52     public void setAccountFormatter(int accountFormatter) {
53         this.accountFormatter = accountFormatter;
54     }
55
56     public void setFirstName(String firstName) {
57         this.firstName = firstName;
58     }
59
60     public void setHasMembers(boolean hasMembers) {
61         this.hasMembers = hasMembers;
62     }
63
64     public void setLastName(String lastName) {
65         this.lastName = lastName;
66     }
67
68     public void setMembersInfo(Object membersInfo) {
69         this.membersInfo = membersInfo;
70     }
71 }