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.miio.internal.cloud;
15 import com.google.gson.annotations.Expose;
16 import com.google.gson.annotations.SerializedName;
19 * This DTO class wraps the login step 1 json structure
21 * @author Marcel Verpaalen - Initial contribution
23 public class CloudLogin1DTO {
24 @SerializedName("serviceParam")
26 private String serviceParam;
30 @SerializedName("code")
33 @SerializedName("description")
35 private String description;
36 @SerializedName("securityStatus")
38 private Integer securityStatus;
39 @SerializedName("_sign")
42 @SerializedName("sid")
45 @SerializedName("result")
47 private String result;
48 @SerializedName("captchaUrl")
50 private String captchaUrl;
51 @SerializedName("callback")
53 private String callback;
54 @SerializedName("location")
56 private String location;
57 @SerializedName("pwd")
60 @SerializedName("child")
62 private Integer child;
63 @SerializedName("desc")
67 public String getServiceParam() {
71 public String getQs() {
75 public Integer getCode() {
79 public String getDescription() {
83 public Integer getSecurityStatus() {
84 return securityStatus;
87 public String getSign() {
91 public String getSid() {
95 public String getResult() {
99 public String getCaptchaUrl() {
103 public String getCallback() {
107 public String getLocation() {
111 public Integer getPwd() {
115 public Integer getChild() {
119 public String getDesc() {