Package org.elasticsearch.client.ml
Class DeleteCalendarEventRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.client.ml.DeleteCalendarEventRequest
- All Implemented Interfaces:
Writeable
,TaskAwareRequest
public class DeleteCalendarEventRequest extends ActionRequest
Request class for removing an event from an existing calendar
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V extends java.lang.Object>, Writeable.Writer<V extends java.lang.Object>
-
Constructor Summary
Constructors Constructor Description DeleteCalendarEventRequest(java.lang.String calendarId, java.lang.String eventId)
Create a new request referencing an existing Calendar and which event to remove from it. -
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.String
getCalendarId()
java.lang.String
getEventId()
int
hashCode()
ActionRequestValidationException
validate()
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
DeleteCalendarEventRequest
public DeleteCalendarEventRequest(java.lang.String calendarId, java.lang.String eventId)Create a new request referencing an existing Calendar and which event to remove from it.- Parameters:
calendarId
- The non-null ID of the calendareventId
- Scheduled Event to remove from the calendar, Cannot be null.
-
-
Method Details
-
getEventId
public java.lang.String getEventId() -
getCalendarId
public java.lang.String getCalendarId() -
validate
- Specified by:
validate
in classActionRequest
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)- Overrides:
equals
in classjava.lang.Object
-