]> git.basschouten.com Git - openhab-addons.git/blob
d302d697a2fa86d039e45670733025d3a2cab67f
[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.wolfsmartset.internal.dto;
14
15 import javax.annotation.Generated;
16
17 import com.google.gson.annotations.Expose;
18 import com.google.gson.annotations.SerializedName;
19
20 /**
21  * generated with https://www.jsonschema2pojo.org/
22  * 
23  * @author Bo Biene - Initial contribution
24  */
25 @Generated("jsonschema2pojo")
26 public class LoginResponseDTO {
27
28     @SerializedName("access_token")
29     @Expose
30     private String accessToken;
31     @SerializedName("expires_in")
32     @Expose
33     private Integer expiresIn;
34     @SerializedName("token_type")
35     @Expose
36     private String tokenType;
37     @SerializedName("refresh_token")
38     @Expose
39     private String refreshToken;
40     @SerializedName("scope")
41     @Expose
42     private String scope;
43
44     public String getAccessToken() {
45         return accessToken;
46     }
47
48     public void setAccessToken(String accessToken) {
49         this.accessToken = accessToken;
50     }
51
52     public Integer getExpiresIn() {
53         return expiresIn;
54     }
55
56     public void setExpiresIn(Integer expiresIn) {
57         this.expiresIn = expiresIn;
58     }
59
60     public String getTokenType() {
61         return tokenType;
62     }
63
64     public void setTokenType(String tokenType) {
65         this.tokenType = tokenType;
66     }
67
68     public String getRefreshToken() {
69         return refreshToken;
70     }
71
72     public void setRefreshToken(String refreshToken) {
73         this.refreshToken = refreshToken;
74     }
75
76     public String getScope() {
77         return scope;
78     }
79
80     public void setScope(String scope) {
81         this.scope = scope;
82     }
83 }