public class TestRoleResult extends Object implements Serializable, Cloneable
 The TestRoleResponse structure.
 
| Constructor and Description | 
|---|
| TestRoleResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| TestRoleResult | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getMessages()If the  Successelement containsfalse, this
 value is an array of one or more error messages that were generated
 during the test process. | 
| String | getSuccess()If the operation is successful, this value is  true;
 otherwise, the value isfalse. | 
| int | hashCode() | 
| void | setMessages(Collection<String> messages)If the  Successelement containsfalse, this
 value is an array of one or more error messages that were generated
 during the test process. | 
| void | setSuccess(String success)If the operation is successful, this value is  true;
 otherwise, the value isfalse. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| TestRoleResult | withMessages(Collection<String> messages)If the  Successelement containsfalse, this
 value is an array of one or more error messages that were generated
 during the test process. | 
| TestRoleResult | withMessages(String... messages)If the  Successelement containsfalse, this
 value is an array of one or more error messages that were generated
 during the test process. | 
| TestRoleResult | withSuccess(String success)If the operation is successful, this value is  true;
 otherwise, the value isfalse. | 
public String getSuccess()
true;
 otherwise, the value is false.
 
 Constraints:
 Pattern: (^true$)|(^false$)
true;
         otherwise, the value is false.public void setSuccess(String success)
true;
 otherwise, the value is false.
 
 Constraints:
 Pattern: (^true$)|(^false$)
success - If the operation is successful, this value is true;
         otherwise, the value is false.public TestRoleResult withSuccess(String success)
true;
 otherwise, the value is false.
 Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Pattern: (^true$)|(^false$)
success - If the operation is successful, this value is true;
         otherwise, the value is false.public List<String> getMessages()
Success element contains false, this
 value is an array of one or more error messages that were generated
 during the test process.Success element contains false, this
         value is an array of one or more error messages that were generated
         during the test process.public void setMessages(Collection<String> messages)
Success element contains false, this
 value is an array of one or more error messages that were generated
 during the test process.messages - If the Success element contains false, this
         value is an array of one or more error messages that were generated
         during the test process.public TestRoleResult withMessages(String... messages)
Success element contains false, this
 value is an array of one or more error messages that were generated
 during the test process.
 
 NOTE: This method appends the values to the existing list (if
 any). Use setMessages(java.util.Collection) or withMessages(java.util.Collection) if you want to override the
 existing values.
 
Returns a reference to this object so that method calls can be chained together.
messages - If the Success element contains false, this
         value is an array of one or more error messages that were generated
         during the test process.public TestRoleResult withMessages(Collection<String> messages)
Success element contains false, this
 value is an array of one or more error messages that were generated
 during the test process.
 Returns a reference to this object so that method calls can be chained together.
messages - If the Success element contains false, this
         value is an array of one or more error messages that were generated
         during the test process.public String toString()
toString in class ObjectObject.toString()public TestRoleResult clone()
Copyright © 2015. All rights reserved.