Class GetJobStatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetJobStatsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class GetJobStatsResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetJobStatsResponse.BuilderBuilder forGetJobStatsResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetJobStatsResponse>_DESERIALIZERJson deserializer forGetJobStatsResponse -
Constructor Summary
Constructors Constructor Description GetJobStatsResponse(GetJobStatsResponse.Builder builder)GetJobStatsResponse(java.util.function.Function<GetJobStatsResponse.Builder,GetJobStatsResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description longcount()Required - API name:countjava.util.List<JobStats>jobs()Required - API name:jobsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGetJobStatsResponseDeserializer(DelegatingDeserializer<GetJobStatsResponse.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetJobStatsResponse
-
-
Constructor Details
-
GetJobStatsResponse
-
GetJobStatsResponse
public GetJobStatsResponse(java.util.function.Function<GetJobStatsResponse.Builder,GetJobStatsResponse.Builder> fn)
-
-
Method Details
-
count
public long count()Required - API name:count -
jobs
Required - API name:jobs -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGetJobStatsResponseDeserializer
protected static void setupGetJobStatsResponseDeserializer(DelegatingDeserializer<GetJobStatsResponse.Builder> op)
-