aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/www/vk/Token.java
blob: 88f9862283b4afab456e4632942ce36e6a075302 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.juick.www.vk;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by vitalyster on 28.11.2016.
 */
public class Token {
    private Long userId;
    private String accessToken;
    private String expiresIn;

    @JsonProperty("user_id")
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @JsonProperty("access_token")
    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    @JsonProperty("expires_in")
    public String getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(String expiresIn) {
        this.expiresIn = expiresIn;
    }
}