Back to project page Joetz-Android-V2.
The source code is released under:
GNU General Public License
If you think the Android project Joetz-Android-V2 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.jens.myapplication.apimanager.manager; //w w w. ja v a2 s . c om import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by Sam on 23/10/2014. */ public class AuthToken { @JsonProperty("access_token") private String token; @JsonProperty("token_type") private String tokenType; /** * Time in seconds */ @JsonProperty("expires_in") private long expiresIn; @JsonProperty("userName") private String userEmail; //date format atm @JsonProperty(".issued") private String issuedDate; //date format atm @JsonProperty(".expires") private String expiresDate; public String getToken() { return token; } private void setToken(String token) { this.token = token; } public String getTokenType() { return tokenType; } private void setTokenType(String tokenType) { this.tokenType = tokenType; } public long getExpiresIn() { return expiresIn; } private void setExpiresIn(long expiresIn) { this.expiresIn = expiresIn; } public String getUserEmail() { return userEmail; } private void setUserEmail(String userEmail) { this.userEmail = userEmail; } public String getIssuedDate() { return issuedDate; } private void setIssuedDate(String issuedDate) { this.issuedDate = issuedDate; } public String getExpiresDate() { return expiresDate; } private void setExpiresDate(String expiresDate) { this.expiresDate = expiresDate; } }