Class CheckBase

java.lang.Object
com.influxdb.client.domain.CheckBase
Direct Known Subclasses:
CheckDiscriminator

public class CheckBase extends Object
CheckBase
  • Field Details

  • Constructor Details

    • CheckBase

      public CheckBase()
  • Method Details

    • getId

      public String getId()
      Get id
      Returns:
      id
    • name

      public CheckBase name(String name)
    • getName

      public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(String name)
    • orgID

      public CheckBase orgID(String orgID)
    • getOrgID

      public String getOrgID()
      The ID of the organization that owns this check.
      Returns:
      orgID
    • setOrgID

      public void setOrgID(String orgID)
    • taskID

      public CheckBase taskID(String taskID)
    • getTaskID

      public String getTaskID()
      The ID of the task associated with this check.
      Returns:
      taskID
    • setTaskID

      public void setTaskID(String taskID)
    • getOwnerID

      public String getOwnerID()
      The ID of creator used to create this check.
      Returns:
      ownerID
    • getCreatedAt

      public OffsetDateTime getCreatedAt()
      Get createdAt
      Returns:
      createdAt
    • getUpdatedAt

      public OffsetDateTime getUpdatedAt()
      Get updatedAt
      Returns:
      updatedAt
    • query

      public CheckBase query(DashboardQuery query)
    • getQuery

      public DashboardQuery getQuery()
      Get query
      Returns:
      query
    • setQuery

      public void setQuery(DashboardQuery query)
    • status

      public CheckBase status(TaskStatusType status)
    • getStatus

      public TaskStatusType getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(TaskStatusType status)
    • description

      public CheckBase description(String description)
    • getDescription

      public String getDescription()
      An optional description of the check.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • getLatestCompleted

      public OffsetDateTime getLatestCompleted()
      Timestamp (in RFC3339 date/time format](https://datatracker.ietf.org/doc/html/rfc3339)) of the latest scheduled and completed run.
      Returns:
      latestCompleted
    • getLastRunStatus

      public CheckBase.LastRunStatusEnum getLastRunStatus()
      Get lastRunStatus
      Returns:
      lastRunStatus
    • getLastRunError

      public String getLastRunError()
      Get lastRunError
      Returns:
      lastRunError
    • labels

      public CheckBase labels(List<Label> labels)
    • addLabelsItem

      public CheckBase addLabelsItem(Label labelsItem)
    • getLabels

      public List<Label> getLabels()
      Get labels
      Returns:
      labels
    • setLabels

      public void setLabels(List<Label> labels)
    • links

      public CheckBase links(CheckBaseLinks links)
    • getLinks

      public CheckBaseLinks getLinks()
      Get links
      Returns:
      links
    • setLinks

      public void setLinks(CheckBaseLinks links)
    • 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