Class RevertModelSnapshotAction.Request

All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted, TaskAwareRequest, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject
Enclosing class:
RevertModelSnapshotAction

public static class RevertModelSnapshotAction.Request extends AcknowledgedRequest<RevertModelSnapshotAction.Request> implements org.elasticsearch.xcontent.ToXContentObject
  • Field Details

    • SNAPSHOT_ID

      public static final org.elasticsearch.xcontent.ParseField SNAPSHOT_ID
    • DELETE_INTERVENING

      public static final org.elasticsearch.xcontent.ParseField DELETE_INTERVENING
  • Constructor Details

  • Method Details

    • parseRequest

      public static RevertModelSnapshotAction.Request parseRequest(String jobId, String snapshotId, org.elasticsearch.xcontent.XContentParser parser)
    • getJobId

      public String getJobId()
    • getSnapshotId

      public String getSnapshotId()
    • getDeleteInterveningResults

      public boolean getDeleteInterveningResults()
    • setDeleteInterveningResults

      public void setDeleteInterveningResults(boolean deleteInterveningResults)
    • isForce

      public boolean isForce()
    • setForce

      public void setForce(boolean force)
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class AcknowledgedRequest<RevertModelSnapshotAction.Request>
      Throws:
      IOException
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • hashCode

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

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