Class GetJobStatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetJobStatsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GetJobStatsResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
Method Summary
Modifier and Type Method Description long
count()
Required - API name:count
java.util.List<JobStats>
jobs()
Required - API name:jobs
static GetJobStatsResponse
of(java.util.function.Function<GetJobStatsResponse.Builder,ObjectBuilder<GetJobStatsResponse>> fn)
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(ObjectDeserializer<GetJobStatsResponse.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetJobStatsResponse
-
-
Method Details
-
of
public static GetJobStatsResponse of(java.util.function.Function<GetJobStatsResponse.Builder,ObjectBuilder<GetJobStatsResponse>> fn) -
count
public final long count()Required - API name:count
-
jobs
Required - API name:jobs
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupGetJobStatsResponseDeserializer
protected static void setupGetJobStatsResponseDeserializer(ObjectDeserializer<GetJobStatsResponse.Builder> op)
-