EffortClass Object

Root Connection

All EffortClass objects of an account are accessible by a query on the root connection effortClasses. Such a query will return a EffortClassConnection!, which contains the EffortClass objects in its nodes field.

effortClasses (EffortClassConnection!)

Root connection for retrieving EffortClass 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 EffortClassFilter

Filter to determine which EffortClass records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Fields

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

account (Account)

The account this record belongs to.

costMultiplier (Decimal)

The amount with which to multiply the cost of time entries with this effort class.

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

disabled (Boolean)

Whether the effort class may no longer be related to any more timesheet settings.

id (ID!)

Unique identifier of the object.

name (String)

The name of the effort class.

position (Int)

The position that the effort class takes when it is displayed in a sorted list.

source (String)

An identifier for the client application submitting the resource or the name of an external system

sourceID (String)

The unique identifier of the resource in an external system

updatedAt (ISO8601Timestamp)

The date and time of the last update of the record. If the record has no updates it contains the createdAt value.

Connections

The connection fields in this section allow (paged) access to objects related to a specific EffortClass record. The actual objects will be in the nodes field of the connection.

timesheetSettings (TimesheetSettingConnection)

Timesheet settings of this effort class.

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.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Implements

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