public class PendingTaskCount
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the count of tasks in a task list.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
count
The number of tasks in the task list.
|
private java.lang.Boolean |
truncated
If set to true, indicates that the actual count was more than the maximum
supported by this API and the count returned is the truncated value.
|
Constructor and Description |
---|
PendingTaskCount() |
Modifier and Type | Method and Description |
---|---|
PendingTaskCount |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCount()
The number of tasks in the task list.
|
java.lang.Boolean |
getTruncated()
If set to true, indicates that the actual count was more than the maximum
supported by this API and the count returned is the truncated value.
|
int |
hashCode() |
java.lang.Boolean |
isTruncated()
If set to true, indicates that the actual count was more than the maximum
supported by this API and the count returned is the truncated value.
|
void |
setCount(java.lang.Integer count)
The number of tasks in the task list.
|
void |
setTruncated(java.lang.Boolean truncated)
If set to true, indicates that the actual count was more than the maximum
supported by this API and the count returned is the truncated value.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PendingTaskCount |
withCount(java.lang.Integer count)
The number of tasks in the task list.
|
PendingTaskCount |
withTruncated(java.lang.Boolean truncated)
If set to true, indicates that the actual count was more than the maximum
supported by this API and the count returned is the truncated value.
|
private java.lang.Integer count
The number of tasks in the task list.
private java.lang.Boolean truncated
If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
public void setCount(java.lang.Integer count)
The number of tasks in the task list.
count
- The number of tasks in the task list.public java.lang.Integer getCount()
The number of tasks in the task list.
public PendingTaskCount withCount(java.lang.Integer count)
The number of tasks in the task list.
count
- The number of tasks in the task list.public void setTruncated(java.lang.Boolean truncated)
If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
truncated
- If set to true, indicates that the actual count was more than the
maximum supported by this API and the count returned is the
truncated value.public java.lang.Boolean getTruncated()
If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
public PendingTaskCount withTruncated(java.lang.Boolean truncated)
If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
truncated
- If set to true, indicates that the actual count was more than the
maximum supported by this API and the count returned is the
truncated value.public java.lang.Boolean isTruncated()
If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PendingTaskCount clone()
clone
in class java.lang.Object