Class PutUserResponse
java.lang.Object
org.elasticsearch.client.security.PutUserResponse
public final class PutUserResponse
extends java.lang.Object
Response when adding a user to the native realm. Returns a
single boolean field for whether the user was created or updated.
-
Constructor Summary
Constructors Constructor Description PutUserResponse(boolean created) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)static PutUserResponsefromXContent(org.elasticsearch.common.xcontent.XContentParser parser)inthashCode()booleanisCreated()
-
Constructor Details
-
PutUserResponse
public PutUserResponse(boolean created)
-
-
Method Details
-
isCreated
public boolean isCreated() -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
fromXContent
public static PutUserResponse fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-