Class PutUserResponse
java.lang.Object
org.elasticsearch.client.security.PutUserResponse
Response when adding a user to the native realm. Returns a
single boolean field for whether the user was created or updated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static PutUserResponse
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) int
hashCode()
boolean
-
Constructor Details
-
PutUserResponse
public PutUserResponse(boolean created)
-
-
Method Details
-
isCreated
public boolean isCreated() -
equals
-
hashCode
public int hashCode() -
fromXContent
public static PutUserResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-