Class IncidentComment

java.lang.Object
org.netxms.client.events.IncidentComment

public class IncidentComment extends Object
Incident comment
  • Constructor Details

    • IncidentComment

      public IncidentComment(NXCPMessage msg, long baseId)
      Create incident comment from NXCP message
      Parameters:
      msg - Source NXCP message
      baseId - Base variable ID for parsing
  • Method Details

    • getId

      public long getId()
      Get comment ID
      Returns:
      comment ID
    • getIncidentId

      public long getIncidentId()
      Get incident ID
      Returns:
      incident ID
    • getCreationTime

      public Date getCreationTime()
      Get creation time
      Returns:
      creation time
    • getUserId

      public int getUserId()
      Get user ID of comment author
      Returns:
      user ID
    • getText

      public String getText()
      Get comment text
      Returns:
      comment text
    • isAiGenerated

      public boolean isAiGenerated()
      Returns:
      the aiGenerated
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: