package com.gertherb.api;
import com.google.gson.annotations.SerializedName;
/**
*
* Example:
*
* {
* "id": 1,
* "url": "https://api.github.com/authorizations/1",
* "scopes": [
* "public_repo"
* ],
* "token": "abc123",
* "app": {
* "url": "http://my-github-app.com",
* "name": "my github app",
* "client_id": "abcde12345fghij67890"
* },
* "note": "optional note",
* "note_url": "http://optional/note/url",
* "updated_at": "2011-09-06T20:39:23Z",
* "created_at": "2011-09-06T17:26:27Z"
* }
*/
public class TokenResponse {
@SerializedName("token")
private final String token;
public TokenResponse(String token) {
this.token = token;
}
public String getToken() {
return token;
}
}