]> git.basschouten.com Git - openhab-addons.git/blob
33c6edff5afb69941d88a0674fa7419dcdf54e73
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.ecovacs.internal.api.impl.dto.request.portal;
14
15 import org.openhab.binding.ecovacs.internal.api.impl.PortalTodo;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * @author Johannes Ptaszyk - Initial contribution
21  */
22 public class PortalLoginRequest {
23
24     @SerializedName("todo")
25     final PortalTodo todo;
26
27     @SerializedName("country")
28     final String country;
29
30     @SerializedName("last")
31     final String last;
32
33     @SerializedName("org")
34     final String org;
35
36     @SerializedName("resource")
37     final String resource;
38
39     @SerializedName("realm")
40     final String realm;
41
42     @SerializedName("token")
43     final String token;
44
45     @SerializedName("userid")
46     final String userId;
47
48     @SerializedName("edition")
49     final String edition;
50
51     public PortalLoginRequest(PortalTodo todo, String country, String last, String org, String resource, String realm,
52             String token, String userId, String edition) {
53         this.todo = todo;
54         this.country = country;
55         this.last = last;
56         this.org = org;
57         this.resource = resource;
58         this.realm = realm;
59         this.token = token;
60         this.userId = userId;
61         this.edition = edition;
62     }
63 }