Package org.elasticsearch.client.ml
Class DeleteExpiredDataResponse
java.lang.Object
org.elasticsearch.client.ml.DeleteExpiredDataResponse
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class DeleteExpiredDataResponse extends java.lang.Object implements ToXContentObject
A response acknowledging the deletion of expired data
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields Modifier and Type Field Description static ConstructingObjectParser<DeleteExpiredDataResponse,java.lang.Void>
PARSER
-
Constructor Summary
Constructors Constructor Description DeleteExpiredDataResponse(boolean deleted)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static DeleteExpiredDataResponse
fromXContent(XContentParser parser)
java.lang.Boolean
getDeleted()
int
hashCode()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
Constructor Details
-
DeleteExpiredDataResponse
public DeleteExpiredDataResponse(boolean deleted)
-
-
Method Details
-
fromXContent
public static DeleteExpiredDataResponse fromXContent(XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-
getDeleted
public java.lang.Boolean getDeleted() -
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-