]> git.basschouten.com Git - openhab-addons.git/blob
036d7b0986a06300861411f6c3afeae47083c855
[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 com.google.gson.annotations.SerializedName;
16
17 /**
18  * @author Johannes Ptaszyk - Initial contribution
19  */
20 public class PortalAuthRequestParameter {
21
22     @SerializedName("with")
23     final String with;
24
25     @SerializedName("userid")
26     final String userId;
27
28     @SerializedName("realm")
29     final String realm;
30
31     @SerializedName("token")
32     final String token;
33
34     @SerializedName("resource")
35     final String resource;
36
37     public PortalAuthRequestParameter(String with, String userid, String realm, String token, String resource) {
38         this.with = with;
39         this.userId = userid;
40         this.realm = realm;
41         this.token = token;
42         this.resource = resource;
43     }
44 }