/*
* Copyright 2014 Sonoport (Asia) Pte Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License 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.sonoport.freesound.response;
/**
* Object representing the data associated with the currently authorised user that the client is acting on behalf of on
* the freesound.org API. Full documentation of the data structure can be found at
* http://www.freesound.org/docs/api/resources_apiv2.html#me-information-about-user-authenticated-using-oauth2-oauth2-required.
*/
public class CurrentUser extends User {
/** Unique identifier associated with the user. */
private Integer uniqueIdentifier;
/** Email address of the user. */
private String email;
/**
* @return the uniqueIdentifier
*/
public Integer getUniqueIdentifier() {
return uniqueIdentifier;
}
/**
* @param uniqueIdentifier the uniqueIdentifier to set
*/
public void setUniqueIdentifier(final Integer uniqueIdentifier) {
this.uniqueIdentifier = uniqueIdentifier;
}
/**
* @return the email
*/
public String getEmail() {
return email;
}
/**
* @param email the email to set
*/
public void setEmail(final String email) {
this.email = email;
}
}