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 class
GetJobStatsResponse.Builder
Builder forGetJobStatsResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetJobStatsResponse>
_DESERIALIZER
Json 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 long
count()
Required - API name:count
java.util.List<JobStats>
jobs()
Required - API name:jobs
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupGetJobStatsResponseDeserializer(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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupGetJobStatsResponseDeserializer
protected static void setupGetJobStatsResponseDeserializer(DelegatingDeserializer<GetJobStatsResponse.Builder> op)
-