Перейти к содержимому
R-Service R-Service
Руководство разработчика RR Tech Service Management

Trash Object

Эта документация пока недоступна на вашем языке, поэтому показана английская версия.

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.

trash ( TrashConnection! )

Root connection for retrieving Trash records.

ArgumentTypeDescription
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
filterTrashFilterFilter to determine which Trash records are returned.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
orderTrashOrderOrder of the Trash records returned.
viewTrashViewView name. The default value is current_account .

The fields in this section list which values can be retrieved when querying Trash records.

account ( Account! )

The account of the trashed record belongs to.

createdAt ( ISO8601Timestamp )

The date and time at which the trash was created.

id ( ID! )

Unique identifier of the object.

trashed ( HasLifeCycleState )

The trashed record, e.g. Request.

trashedBy ( Person )

The person who trashed the record.

Trash implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a Trash.