Trash Object
Root Connection
All Trash objects of an account are accessible by a query on the root connection trash
.
Such a query will return a TrashConnection!
, which contains the Trash objects in its
nodes
field.
TrashConnection!
)
Root connection for retrieving Trash records.
Argument | Type | Description |
---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
filter |
TrashFilter
|
Filter to determine which Trash records are returned. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
order |
[TrashOrder!]
|
Order of the Trash records returned. |
view |
TrashView
|
View name. The default value is |
Fields
The fields in this section list which values can be retrieved when querying Trash records.
Account!
)
The account of the trashed record belongs to.
ISO8601Timestamp
)
The date and time at which the trash was created.
ID!
)
Unique identifier of the object.
HasLifeCycleState
)
The trashed record, e.g. Request.
Person
)
The person who trashed the record.
Implements
Trash implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a Trash.