2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.icloud.internal.handler.dto.json.response;
16 * Serializable class to parse json response received from the Apple server.
18 * @author Patrik Gfeller - Initial Contribution
21 public class ICloudAccountUserInfo {
22 private int accountFormatter;
24 private String firstName;
26 private boolean hasMembers;
28 private String lastName;
30 private Object membersInfo;
32 public int getAccountFormatter() {
33 return this.accountFormatter;
36 public String getFirstName() {
37 return this.firstName;
40 public boolean getHasMembers() {
41 return this.hasMembers;
44 public String getLastName() {
48 public Object getMembersInfo() {
49 return this.membersInfo;
52 public void setAccountFormatter(int accountFormatter) {
53 this.accountFormatter = accountFormatter;
56 public void setFirstName(String firstName) {
57 this.firstName = firstName;
60 public void setHasMembers(boolean hasMembers) {
61 this.hasMembers = hasMembers;
64 public void setLastName(String lastName) {
65 this.lastName = lastName;
68 public void setMembersInfo(Object membersInfo) {
69 this.membersInfo = membersInfo;