Class DeleteCalendarEventRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.DeleteCalendarEventRequest
public class DeleteCalendarEventRequest extends RequestBase
Deletes scheduled events from a calendar.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeleteCalendarEventRequest.BuilderBuilder forDeleteCalendarEventRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<DeleteCalendarEventRequest,DeleteCalendarEventResponse,ErrorResponse>_ENDPOINTEndpoint "ml.delete_calendar_event". -
Method Summary
Modifier and Type Method Description java.lang.StringcalendarId()Required - The ID of the calendar to modifyjava.lang.StringeventId()Required - The ID of the event to remove from the calendarstatic DeleteCalendarEventRequestof(java.util.function.Function<DeleteCalendarEventRequest.Builder,ObjectBuilder<DeleteCalendarEventRequest>> fn)Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteCalendarEventRequest,DeleteCalendarEventResponse,ErrorResponse> _ENDPOINTEndpoint "ml.delete_calendar_event".
-
-
Method Details
-
of
public static DeleteCalendarEventRequest of(java.util.function.Function<DeleteCalendarEventRequest.Builder,ObjectBuilder<DeleteCalendarEventRequest>> fn) -
calendarId
public final java.lang.String calendarId()Required - The ID of the calendar to modifyAPI name:
calendar_id -
eventId
public final java.lang.String eventId()Required - The ID of the event to remove from the calendarAPI name:
event_id
-