]> git.basschouten.com Git - openhab-addons.git/blob
321581eaddeb6bc4781048fa470529001353d1df
[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.miio.internal.cloud;
14
15 import com.google.gson.annotations.Expose;
16 import com.google.gson.annotations.SerializedName;
17
18 /**
19  * This DTO class wraps the login step 1 json structure
20  *
21  * @author Marcel Verpaalen - Initial contribution
22  */
23 public class CloudLogin1DTO {
24     @SerializedName("serviceParam")
25     @Expose
26     private String serviceParam;
27     @SerializedName("qs")
28     @Expose
29     private String qs;
30     @SerializedName("code")
31     @Expose
32     private Integer code;
33     @SerializedName("description")
34     @Expose
35     private String description;
36     @SerializedName("securityStatus")
37     @Expose
38     private Integer securityStatus;
39     @SerializedName("_sign")
40     @Expose
41     private String sign;
42     @SerializedName("sid")
43     @Expose
44     private String sid;
45     @SerializedName("result")
46     @Expose
47     private String result;
48     @SerializedName("captchaUrl")
49     @Expose
50     private String captchaUrl;
51     @SerializedName("callback")
52     @Expose
53     private String callback;
54     @SerializedName("location")
55     @Expose
56     private String location;
57     @SerializedName("pwd")
58     @Expose
59     private Integer pwd;
60     @SerializedName("child")
61     @Expose
62     private Integer child;
63     @SerializedName("desc")
64     @Expose
65     private String desc;
66
67     public String getServiceParam() {
68         return serviceParam;
69     }
70
71     public String getQs() {
72         return qs;
73     }
74
75     public Integer getCode() {
76         return code;
77     }
78
79     public String getDescription() {
80         return description;
81     }
82
83     public Integer getSecurityStatus() {
84         return securityStatus;
85     }
86
87     public String getSign() {
88         return sign;
89     }
90
91     public String getSid() {
92         return sid;
93     }
94
95     public String getResult() {
96         return result;
97     }
98
99     public String getCaptchaUrl() {
100         return captchaUrl;
101     }
102
103     public String getCallback() {
104         return callback;
105     }
106
107     public String getLocation() {
108         return location;
109     }
110
111     public Integer getPwd() {
112         return pwd;
113     }
114
115     public Integer getChild() {
116         return child;
117     }
118
119     public String getDesc() {
120         return desc;
121     }
122 }