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 Integer getCount()
Constraints:
Range: 0 -
public void setCount(Integer count)
Constraints:
Range: 0 -
count
- The number of tasks in the task list.public PendingTaskCount withCount(Integer count)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
count
- The number of tasks in the task list.public Boolean isTruncated()
public void setTruncated(Boolean truncated)
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 PendingTaskCount withTruncated(Boolean truncated)
Returns a reference to this object so that method calls can be chained together.
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()
public String toString()
toString
in class Object
Object.toString()
public PendingTaskCount clone()
Copyright © 2015. All rights reserved.