Package com.symphony.api.model
Class UserError
- java.lang.Object
-
- com.symphony.api.model.UserError
-
public class UserError extends Object
User error information
-
-
Constructor Summary
Constructors Constructor Description UserError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserError
email(String email)
UserError
error(String error)
String
getEmail()
Email with error.String
getError()
Error code informing what is wrongString
getId()
Id with error.UserError
id(String id)
void
setEmail(String email)
void
setError(String error)
void
setId(String id)
String
toString()
-
-
-
Method Detail
-
getError
public String getError()
Error code informing what is wrong- Returns:
- error
-
setError
public void setError(String error)
-
getEmail
public String getEmail()
Email with error. Only one of the following fields should be present: email or id- Returns:
-
setEmail
public void setEmail(String email)
-
getId
public String getId()
Id with error. Only one of the following fields should be present: email or id- Returns:
- id
-
setId
public void setId(String id)
-
-