Package com.influxdb.client.domain
Class CheckBase
java.lang.Object
com.influxdb.client.domain.CheckBase
- Direct Known Subclasses:
CheckDiscriminator
CheckBase
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Gets or Sets lastRunStatus -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem
(Label labelsItem) description
(String description) boolean
Get createdAtAn optional description of the check.getId()
Get idGet labelsGet lastRunErrorGet lastRunStatusTimestamp (in RFC3339 date/time format](https://datatracker.ietf.org/doc/html/rfc3339)) of the latest scheduled and completed run.getLinks()
Get linksgetName()
Get namegetOrgID()
The ID of the organization that owns this check.The ID of creator used to create this check.getQuery()
Get queryGet statusThe ID of the task associated with this check.Get updatedAtint
hashCode()
links
(CheckBaseLinks links) query
(DashboardQuery query) void
setDescription
(String description) void
void
setLinks
(CheckBaseLinks links) void
void
void
setQuery
(DashboardQuery query) void
setStatus
(TaskStatusType status) void
status
(TaskStatusType status) toString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_ORG_I_D
- See Also:
-
SERIALIZED_NAME_TASK_I_D
- See Also:
-
SERIALIZED_NAME_OWNER_I_D
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_QUERY
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_LATEST_COMPLETED
- See Also:
-
SERIALIZED_NAME_LAST_RUN_STATUS
- See Also:
-
SERIALIZED_NAME_LAST_RUN_ERROR
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
-
Constructor Details
-
CheckBase
public CheckBase()
-
-
Method Details
-
getId
Get id- Returns:
- id
-
name
-
getName
Get name- Returns:
- name
-
setName
-
orgID
-
getOrgID
The ID of the organization that owns this check.- Returns:
- orgID
-
setOrgID
-
taskID
-
getTaskID
The ID of the task associated with this check.- Returns:
- taskID
-
setTaskID
-
getOwnerID
The ID of creator used to create this check.- Returns:
- ownerID
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
query
-
getQuery
Get query- Returns:
- query
-
setQuery
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
description
-
getDescription
An optional description of the check.- Returns:
- description
-
setDescription
-
getLatestCompleted
Timestamp (in RFC3339 date/time format](https://datatracker.ietf.org/doc/html/rfc3339)) of the latest scheduled and completed run.- Returns:
- latestCompleted
-
getLastRunStatus
Get lastRunStatus- Returns:
- lastRunStatus
-
getLastRunError
Get lastRunError- Returns:
- lastRunError
-
labels
-
addLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-