Class GetCalendarEventsResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetCalendarEventsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class GetCalendarEventsResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetCalendarEventsResponse>Json deserializer forGetCalendarEventsResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal longcount()Required - API name:countfinal List<CalendarEvent>events()Required - API name:eventsstatic GetCalendarEventsResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupGetCalendarEventsResponseDeserializer(ObjectDeserializer<GetCalendarEventsResponse.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forGetCalendarEventsResponse
-
-
Method Details
-
of
public static GetCalendarEventsResponse of(Function<GetCalendarEventsResponse.Builder, ObjectBuilder<GetCalendarEventsResponse>> fn) -
count
public final long count()Required - API name:count -
events
Required - API name:events -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetCalendarEventsResponseDeserializer
protected static void setupGetCalendarEventsResponseDeserializer(ObjectDeserializer<GetCalendarEventsResponse.Builder> op)
-