public class GetUserResult extends Object implements Serializable, Cloneable
Contains the response to a successful GetUser request.
Constructor and Description |
---|
GetUserResult() |
Modifier and Type | Method and Description |
---|---|
GetUserResult |
clone() |
boolean |
equals(Object obj) |
User |
getUser()
Information about the user.
|
int |
hashCode() |
void |
setUser(User user)
Information about the user.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetUserResult |
withUser(User user)
Information about the user.
|
public User getUser()
public void setUser(User user)
user
- Information about the user.public GetUserResult withUser(User user)
Returns a reference to this object so that method calls can be chained together.
user
- Information about the user.public String toString()
toString
in class Object
Object.toString()
public GetUserResult clone()
Copyright © 2015. All rights reserved.