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:
org.elasticsearch.common.io.stream.Writeable, org.elasticsearch.core.RefCounted, org.elasticsearch.tasks.TaskAwareRequest

public class DeleteCalendarEventRequest extends org.elasticsearch.action.ActionRequest
Request class for removing an event from an existing calendar
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest

    org.elasticsearch.transport.TransportRequest.Empty

    Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

    org.elasticsearch.common.io.stream.Writeable.Reader<V extends Object>, org.elasticsearch.common.io.stream.Writeable.Writer<V extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new request referencing an existing Calendar and which event to remove from it.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
     
     
     
    int
     
    org.elasticsearch.action.ActionRequestValidationException
     

    Methods inherited from class org.elasticsearch.action.ActionRequest

    getShouldStoreResult, writeTo

    Methods inherited from class org.elasticsearch.transport.TransportRequest

    getParentTask, setParentTask, toString

    Methods inherited from class org.elasticsearch.transport.TransportMessage

    decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest

    createTask, getDescription, setParentTask
  • Constructor Details

    • DeleteCalendarEventRequest

      public DeleteCalendarEventRequest(String calendarId, 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 calendar
      eventId - Scheduled Event to remove from the calendar, Cannot be null.
  • Method Details

    • getEventId

      public String getEventId()
    • getCalendarId

      public String getCalendarId()
    • validate

      public org.elasticsearch.action.ActionRequestValidationException validate()
      Specified by:
      validate in class org.elasticsearch.action.ActionRequest
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object