Class DeleteAccountResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- org.elasticsearch.action.ActionResponse
-
- com.floragunn.signals.actions.account.delete.DeleteAccountResponse
-
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.core.RefCounted,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
public class DeleteAccountResponse extends org.elasticsearch.action.ActionResponse implements org.elasticsearch.xcontent.ToXContentObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeleteAccountResponse.Result-
Nested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
org.elasticsearch.action.ActionResponse.Empty
-
-
Constructor Summary
Constructors Constructor Description DeleteAccountResponse()DeleteAccountResponse(String id, long version, DeleteAccountResponse.Result result, org.elasticsearch.rest.RestStatus restStatus, String message)DeleteAccountResponse(org.elasticsearch.common.io.stream.StreamInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()StringgetMessage()org.elasticsearch.rest.RestStatusgetRestStatus()DeleteAccountResponse.ResultgetResult()longgetVersion()voidsetId(String id)voidsetMessage(String message)voidsetRestStatus(org.elasticsearch.rest.RestStatus restStatus)voidsetResult(DeleteAccountResponse.Result result)voidsetVersion(long version)org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)voidwriteTo(org.elasticsearch.common.io.stream.StreamOutput out)-
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef
-
-
-
-
Constructor Detail
-
DeleteAccountResponse
public DeleteAccountResponse()
-
DeleteAccountResponse
public DeleteAccountResponse(String id, long version, DeleteAccountResponse.Result result, org.elasticsearch.rest.RestStatus restStatus, String message)
-
DeleteAccountResponse
public DeleteAccountResponse(org.elasticsearch.common.io.stream.StreamInput in) throws IOException- Throws:
IOException
-
-
Method Detail
-
writeTo
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws IOException- Specified by:
writeToin interfaceorg.elasticsearch.common.io.stream.Writeable- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
getId
public String getId()
-
setId
public void setId(String id)
-
getVersion
public long getVersion()
-
setVersion
public void setVersion(long version)
-
getResult
public DeleteAccountResponse.Result getResult()
-
setResult
public void setResult(DeleteAccountResponse.Result result)
-
getRestStatus
public org.elasticsearch.rest.RestStatus getRestStatus()
-
setRestStatus
public void setRestStatus(org.elasticsearch.rest.RestStatus restStatus)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
-