com.foresee.api.sdk.model.OAuth2TokenResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of public-api-sdk Show documentation
Show all versions of public-api-sdk Show documentation
SDK to access Foresee data over Public API
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.foresee.api.sdk.model;
public class OAuth2TokenResponse {
@com.google.gson.annotations.SerializedName("access_token")
private String accessToken = null;
@com.google.gson.annotations.SerializedName("token_type")
private String tokenType = null;
@com.google.gson.annotations.SerializedName("expires_in")
private Integer expiresIn = null;
@com.google.gson.annotations.SerializedName("scope")
private String scope = null;
/**
* Gets accessToken
*
* @return accessToken
**/
public String getAccessToken() {
return accessToken;
}
/**
* Sets the value of accessToken.
*
* @param accessToken the new value
*/
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
/**
* Gets tokenType
*
* @return tokenType
**/
public String getTokenType() {
return tokenType;
}
/**
* Sets the value of tokenType.
*
* @param tokenType the new value
*/
public void setTokenType(String tokenType) {
this.tokenType = tokenType;
}
/**
* Gets expiresIn
*
* @return expiresIn
**/
public Integer getExpiresIn() {
return expiresIn;
}
/**
* Sets the value of expiresIn.
*
* @param expiresIn the new value
*/
public void setExpiresIn(Integer expiresIn) {
this.expiresIn = expiresIn;
}
/**
* Gets scope
*
* @return scope
**/
public String getScope() {
return scope;
}
/**
* Sets the value of scope.
*
* @param scope the new value
*/
public void setScope(String scope) {
this.scope = scope;
}
}