com.app55.message.UserGetRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of app55-java Show documentation
Show all versions of app55-java Show documentation
App55 client library for the Java platform.
The newest version!
package com.app55.message;
import org.codehaus.jackson.annotate.JsonIgnore;
import com.app55.domain.User;
public class UserGetRequest extends Request
{
private User user;
public UserGetRequest()
{
super(UserGetResponse.class);
}
public UserGetRequest(User user)
{
this();
this.user = user;
}
@Override
@JsonIgnore
public String getHttpEndpoint()
{
return getGateway().getEnvironment().getBaseUrl() + "/user/" + user.getId();
}
public User getUser()
{
return user;
}
public void setUser(User user)
{
this.user = user;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy