aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/www/vk/Token.java
blob: abeb7c96d055c86d86d516494bb55d937b5378e2 (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
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;

    @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;
    }
}