Package org.elasticsearch.client.ml
Class GetModelSnapshotsResponse
- java.lang.Object
-
- org.elasticsearch.client.ml.AbstractResultResponse<ModelSnapshot>
-
- org.elasticsearch.client.ml.GetModelSnapshotsResponse
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class GetModelSnapshotsResponse extends AbstractResultResponse<ModelSnapshot>
A response containing the requested snapshots
-
-
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<GetModelSnapshotsResponse,Void>PARSERstatic ParseFieldSNAPSHOTS-
Fields inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, COUNT, results
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static GetModelSnapshotsResponsefromXContent(XContentParser parser)inthashCode()List<ModelSnapshot>snapshots()The retrieved snapshots-
Methods inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, toXContent
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
SNAPSHOTS
public static final ParseField SNAPSHOTS
-
PARSER
public static final ConstructingObjectParser<GetModelSnapshotsResponse,Void> PARSER
-
-
Method Detail
-
fromXContent
public static GetModelSnapshotsResponse fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
snapshots
public List<ModelSnapshot> snapshots()
The retrieved snapshots- Returns:
- the retrieved snapshots
-
-