]> git.basschouten.com Git - openhab-addons.git/blob
87a650016dc45d84120a20cbfd79729783506a21
[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.generacmobilelink.internal.dto;
14
15 import java.util.Map;
16
17 /**
18  * /**
19  * The {@link SignInConfig} represents the SignInConfig object used in login
20  *
21  * @author Dan Cunningham - Initial contribution
22  */
23 public class SignInConfig {
24     public String remoteResource;
25     public int retryLimit;
26     public boolean trimSpacesInPassword;
27     public String api;
28     public String csrf;
29     public String transId;
30     public String pageViewId;
31     public boolean suppressElementCss;
32     public boolean isPageViewIdSentWithHeader;
33     public boolean allowAutoFocusOnPasswordField;
34     public int pageMode;
35     public Map<String, String> config;
36     public Map<String, String> hosts;
37     public Locale locale;
38     public XhrSettings xhrSettings;
39
40     public class Locale {
41         public String lang;
42     }
43
44     public class XhrSettings {
45         public boolean retryEnabled;
46         public int retryMaxAttempts;
47         public int retryDelay;
48         public int retryExponent;
49         public String[] retryOn;
50     }
51 }