54 lines
1.1 KiB
Java
54 lines
1.1 KiB
Java
package cz.trask.migration.model;
|
|
|
|
public class TokenResponse {
|
|
|
|
// {"access_token":"6be1aa81-d0ae-321e-9e3e-2ea89dd9f847","refresh_token":"5cff194d-cb16-3dc2-ab60-3c44ba25ae4a","scope":"apim:api_view","token_type":"Bearer","expires_in":3600}
|
|
|
|
private String access_token;
|
|
private String refresh_token;
|
|
private String scope;
|
|
private String token_type;
|
|
private long expires_in;
|
|
|
|
public String getAccess_token() {
|
|
return access_token;
|
|
}
|
|
|
|
public void setAccess_token(String access_token) {
|
|
this.access_token = access_token;
|
|
}
|
|
|
|
public String getRefresh_token() {
|
|
return refresh_token;
|
|
}
|
|
|
|
public void setRefresh_token(String refresh_token) {
|
|
this.refresh_token = refresh_token;
|
|
}
|
|
|
|
public String getScope() {
|
|
return scope;
|
|
}
|
|
|
|
public void setScope(String scope) {
|
|
this.scope = scope;
|
|
}
|
|
|
|
public String getToken_type() {
|
|
return token_type;
|
|
}
|
|
|
|
public void setToken_type(String token_type) {
|
|
this.token_type = token_type;
|
|
}
|
|
|
|
public long getExpires_in() {
|
|
return expires_in;
|
|
}
|
|
|
|
public void setExpires_in(long expires_in) {
|
|
this.expires_in = expires_in;
|
|
}
|
|
|
|
}
|