Class PutRoleMappingResponse
java.lang.Object
org.elasticsearch.client.security.PutRoleMappingResponse
public final class PutRoleMappingResponse
extends java.lang.Object
Response when adding/updating a role mapping. Returns a boolean field for
whether the role mapping was created or updated.
-
Constructor Summary
Constructors Constructor Description PutRoleMappingResponse(boolean created) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)static PutRoleMappingResponsefromXContent(org.elasticsearch.common.xcontent.XContentParser parser)inthashCode()booleanisCreated()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PutRoleMappingResponse
public PutRoleMappingResponse(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 PutRoleMappingResponse fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-