com.springml.marketo.rest.client.model.OAuthResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marketo-rest-client Show documentation
Show all versions of marketo-rest-client Show documentation
Java client for Marketo Lead Database REST API
The newest version!
package com.springml.marketo.rest.client.model;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Created by sam on 29/12/16.
*/
public class OAuthResponse {
@JsonProperty("access_token")
private String accessToken;
@JsonProperty("token_type")
private String tokenType;
@JsonProperty("expires_in")
private Integer expiresIn;
private String scope;
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public String getTokenType() {
return tokenType;
}
public void setTokenType(String tokenType) {
this.tokenType = tokenType;
}
public Integer getExpiresIn() {
return expiresIn;
}
public void setExpiresIn(Integer expiresIn) {
this.expiresIn = expiresIn;
}
public String getScope() {
return scope;
}
public void setScope(String scope) {
this.scope = scope;
}
@Override
public String toString() {
return "OAuthResponse{" +
"accessToken='" + accessToken + '\'' +
", tokenType='" + tokenType + '\'' +
", expiresIn=" + expiresIn +
", scope='" + scope + '\'' +
'}';
}
}