public class PendingTaskCount extends Object implements Serializable, Cloneable
Contains the count of tasks in a task list.
Constructor and Description |
---|
PendingTaskCount() |
Modifier and Type | Method and Description |
---|---|
PendingTaskCount |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The number of tasks in the task list.
|
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() |
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(Integer count)
The number of tasks in the task list.
|
void |
setTruncated(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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PendingTaskCount |
withCount(Integer count)
The number of tasks in the task list.
|
PendingTaskCount |
withTruncated(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(Integer count)
The number of tasks in the task list.
count
- The number of tasks in the task list.public Integer getCount()
The number of tasks in the task list.
public PendingTaskCount withCount(Integer count)
The number of tasks in the task list.
count
- The number of tasks in the task list.public void setTruncated(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 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(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 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 String toString()
toString
in class Object
Object.toString()
public PendingTaskCount clone()
Copyright © 2018. All rights reserved.