Class GetCalendarsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.GetCalendarsRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class GetCalendarsRequest
extends RequestBase
implements JsonpSerializable
Get calendar configuration info.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetCalendarsRequest>Json deserializer forGetCalendarsRequeststatic final Endpoint<GetCalendarsRequest,GetCalendarsResponse, ErrorResponse> Endpoint "ml.get_calendars". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringA string that uniquely identifies a calendar.final Integerfrom()Skips the specified number of calendars.static GetCalendarsRequestfinal Pagepage()This object is supported only when you omit the calendar identifier.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integersize()Specifies the maximum number of calendars to obtain.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forGetCalendarsRequest -
_ENDPOINT
Endpoint "ml.get_calendars".
-
-
Method Details
-
of
public static GetCalendarsRequest of(Function<GetCalendarsRequest.Builder, ObjectBuilder<GetCalendarsRequest>> fn) -
calendarId
A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using_allor*or by omitting the calendar identifier.API name:
calendar_id -
from
Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier.API name:
from -
page
This object is supported only when you omit the calendar identifier.API name:
page -
size
Specifies the maximum number of calendars to obtain. This parameter is supported only when you omit the calendar identifier.API name:
size -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGetCalendarsRequestDeserializer
protected static void setupGetCalendarsRequestDeserializer(ObjectDeserializer<GetCalendarsRequest.Builder> op)
-