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 classGetJobStatsResponse.BuilderBuilder forGetJobStatsResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetJobStatsResponse>_DESERIALIZERJson deserializer forGetJobStatsResponse -
Method Summary
Modifier and Type Method Description longcount()Required - API name:countjava.util.List<JobStats>jobs()Required - API name:jobsstatic GetJobStatsResponseof(java.util.function.Function<GetJobStatsResponse.Builder,ObjectBuilder<GetJobStatsResponse>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGetJobStatsResponseDeserializer(ObjectDeserializer<GetJobStatsResponse.Builder> op)java.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupGetJobStatsResponseDeserializer
protected static void setupGetJobStatsResponseDeserializer(ObjectDeserializer<GetJobStatsResponse.Builder> op)
-