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 com.google.gson.annotations.SerializedName;
18 * The {@link VeSyncLoginCredentials} is the Java class as a DTO to hold login credentials for the Vesync
21 * @author David Goodyear - Initial contribution
23 public class VeSyncLoginCredentials extends VeSyncRequest {
25 @SerializedName("email")
27 @SerializedName("password")
28 public String passwordMd5;
29 @SerializedName("userType")
30 public String userType;
31 @SerializedName("devToken")
32 public String devToken = "";
34 public VeSyncLoginCredentials() {
40 public VeSyncLoginCredentials(String email, String password) {
43 this.passwordMd5 = password;