Class ReplayLastEventSnapshotDTO

java.lang.Object
org.apache.nifi.api.toolkit.model.ReplayLastEventSnapshotDTO

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]") public class ReplayLastEventSnapshotDTO extends Object
ReplayLastEventSnapshotDTO
  • Field Details

    • eventsReplayed

      private List<Long> eventsReplayed
    • failureExplanation

      private String failureExplanation
    • eventAvailable

      private Boolean eventAvailable
  • Constructor Details

    • ReplayLastEventSnapshotDTO

      public ReplayLastEventSnapshotDTO()
  • Method Details

    • eventsReplayed

      public ReplayLastEventSnapshotDTO eventsReplayed(List<Long> eventsReplayed)
    • addEventsReplayedItem

      public ReplayLastEventSnapshotDTO addEventsReplayedItem(Long eventsReplayedItem)
    • getEventsReplayed

      public List<Long> getEventsReplayed()
      The IDs of the events that were successfully replayed
      Returns:
      eventsReplayed
    • setEventsReplayed

      public void setEventsReplayed(List<Long> eventsReplayed)
    • failureExplanation

      public ReplayLastEventSnapshotDTO failureExplanation(String failureExplanation)
    • getFailureExplanation

      public String getFailureExplanation()
      If unable to replay an event, specifies why the event could not be replayed
      Returns:
      failureExplanation
    • setFailureExplanation

      public void setFailureExplanation(String failureExplanation)
    • eventAvailable

      public ReplayLastEventSnapshotDTO eventAvailable(Boolean eventAvailable)
    • isEventAvailable

      public Boolean isEventAvailable()
      Whether or not an event was available. This may not be populated if there was a failure.
      Returns:
      eventAvailable
    • setEventAvailable

      public void setEventAvailable(Boolean eventAvailable)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).