com.app55.message.UserUpdateRequest 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 final class UserUpdateRequest extends Request
{
private User user;
public UserUpdateRequest()
{
super(UserUpdateResponse.class);
}
public UserUpdateRequest(User user)
{
this();
this.user = user;
}
@Override
@JsonIgnore
public String getHttpEndpoint()
{
return getGateway().getEnvironment().getBaseUrl() + "/user/" + user.getId();
}
@Override
@JsonIgnore
public String getHttpMethod()
{
return "POST";
}
public User getUser()
{
return user;
}
public void setUser(User user)
{
this.user = user;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy