Class MlJobForecasts
java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.MlJobForecasts
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class MlJobForecasts extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMlJobForecasts.BuilderBuilder forMlJobForecasts. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MlJobForecasts>_DESERIALIZERJson deserializer forMlJobForecasts -
Method Summary
Modifier and Type Method Description longforecastedJobs()Required - API name:forecasted_jobsstatic MlJobForecastsof(java.util.function.Function<MlJobForecasts.Builder,ObjectBuilder<MlJobForecasts>> 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 voidsetupMlJobForecastsDeserializer(ObjectDeserializer<MlJobForecasts.Builder> op)java.lang.StringtoString()longtotal()Required - API name:totalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMlJobForecasts
-
-
Method Details
-
of
public static MlJobForecasts of(java.util.function.Function<MlJobForecasts.Builder,ObjectBuilder<MlJobForecasts>> fn) -
total
public final long total()Required - API name:total -
forecastedJobs
public final long forecastedJobs()Required - API name:forecasted_jobs -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupMlJobForecastsDeserializer
protected static void setupMlJobForecastsDeserializer(ObjectDeserializer<MlJobForecasts.Builder> op)
-