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.surepetcare.internal.dto;
16 * The {@link SurePetcareUser} is the Java class used to represent a Sure Petcare API user. It's used to deserialize
19 * @author Rene Scherer - Initial contribution
21 public class SurePetcareUser extends SurePetcareBaseObject {
25 // "email_address":"rs@gugus.com",
26 // "first_name":"Admin",
27 // "last_name":"User",
30 // "marketing_opt_in":false,
31 // "terms_accepted":true,
35 // "created_at":"2019-09-02T08:20:03+00:00",
36 // "updated_at":"2019-09-02T08:20:03+00:00",
38 // "device_status":true,
39 // "animal_movement":true,
40 // "intruder_movements":true,
41 // "new_device_pet":true,
42 // "household_management":true,
44 // "low_battery":true,
46 // "feeding_activity":true
50 public String emailAddress;
51 public String firstName;
52 public String lastName;
53 public Integer countryId;
54 public Integer languageId;
55 // and various others not yet mapped
58 public String toString() {
59 return "User [id=" + id + ", email_address=" + emailAddress + ", first_name=" + firstName + ", last_name="