com.app55.message.UserCreateRequest 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 UserCreateRequest extends Request
{
private User user;
public UserCreateRequest()
{
super(UserCreateResponse.class);
}
public UserCreateRequest(User user)
{
this();
this.user = user;
}
@Override
@JsonIgnore
public String getHttpEndpoint()
{
return getGateway().getEnvironment().getBaseUrl() + "/user";
}
@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