Package org.elasticsearch.client.ml
Class GetModelSnapshotsResponse
java.lang.Object
org.elasticsearch.client.ml.AbstractResultResponse<ModelSnapshot>
org.elasticsearch.client.ml.GetModelSnapshotsResponse
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
A response containing the requested snapshots
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ConstructingObjectParser<GetModelSnapshotsResponse,Void> static final org.elasticsearch.xcontent.ParseFieldFields inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, COUNT, resultsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GetModelSnapshotsResponsefromXContent(org.elasticsearch.xcontent.XContentParser parser) inthashCode()The retrieved snapshotsMethods inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, toXContentMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
SNAPSHOTS
public static final org.elasticsearch.xcontent.ParseField SNAPSHOTS -
PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<GetModelSnapshotsResponse,Void> PARSER
-
-
Method Details
-
fromXContent
public static GetModelSnapshotsResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
snapshots
The retrieved snapshots- Returns:
- the retrieved snapshots
-
hashCode
public int hashCode() -
equals
-