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.vesync.internal.dto.requests;
15 import org.openhab.binding.vesync.internal.dto.responses.VeSyncUserSession;
16 import org.openhab.binding.vesync.internal.exceptions.AuthenticationException;
18 import com.google.gson.annotations.SerializedName;
21 * The {@link VeSyncRequestV1ManagedDeviceDetails} is the Java class as a DTO to hold login credentials for the Vesync
24 * @author David Goodyear - Initial contribution
26 public class VeSyncRequestV1ManagedDeviceDetails extends VeSyncAuthenticatedRequest {
28 @SerializedName("mobileId")
29 public String mobileId = "1234567890123456";
31 @SerializedName("uuid")
32 public String uuid = null;
34 public VeSyncRequestV1ManagedDeviceDetails(final String deviceUuid) {
36 method = "deviceDetail";
39 public VeSyncRequestV1ManagedDeviceDetails(final VeSyncUserSession user) throws AuthenticationException {
41 method = "deviceDetail";
44 public VeSyncRequestV1ManagedDeviceDetails(final VeSyncUserSession user, String deviceUuid)
45 throws AuthenticationException {
50 public String getUuid() {
54 public String getMobileId() {