Class FileActivityEntry

java.lang.Object
ai.reveng.model.FileActivityEntry

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class FileActivityEntry extends Object
FileActivityEntry
  • Field Details

  • Constructor Details

    • FileActivityEntry

      public FileActivityEntry()
  • Method Details

    • events

      public FileActivityEntry events(@Nullable List<ReportEvent> events)
    • addEventsItem

      public FileActivityEntry addEventsItem(ReportEvent eventsItem)
    • getEvents

      @Nullable public List<ReportEvent> getEvents()
      Get events
      Returns:
      events
    • setEvents

      public void setEvents(@Nullable List<ReportEvent> events)
    • path

      public FileActivityEntry path(@Nonnull String path)
    • getPath

      @Nonnull public String getPath()
      Get path
      Returns:
      path
    • setPath

      public void setPath(@Nonnull String path)
    • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to FileActivityEntry
    • fromJson

      public static FileActivityEntry fromJson(String jsonString) throws IOException
      Create an instance of FileActivityEntry given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of FileActivityEntry
      Throws:
      IOException - if the JSON string is invalid with respect to FileActivityEntry
    • toJson

      public String toJson()
      Convert an instance of FileActivityEntry to an JSON string
      Returns:
      JSON string