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.ecovacs.internal.api.impl.dto.request.portal;
15 import org.openhab.binding.ecovacs.internal.api.impl.PortalTodo;
17 import com.google.gson.annotations.SerializedName;
20 * @author Johannes Ptaszyk - Initial contribution
22 public class PortalLoginRequest {
24 @SerializedName("todo")
25 final PortalTodo todo;
27 @SerializedName("country")
30 @SerializedName("last")
33 @SerializedName("org")
36 @SerializedName("resource")
37 final String resource;
39 @SerializedName("realm")
42 @SerializedName("token")
45 @SerializedName("userid")
48 @SerializedName("edition")
51 public PortalLoginRequest(PortalTodo todo, String country, String last, String org, String resource, String realm,
52 String token, String userId, String edition) {
54 this.country = country;
57 this.resource = resource;
61 this.edition = edition;