Skip to main content

DeviceTemplate

device-template

type DeviceTemplate implements Node {
id: ID!
config: String!
version: Int!
createdAt: GQLTDate!
updatedAt: GQLTDate!
deviceConfigId: ID
deviceConfig: DeviceConfig
deviceTemplateConfigs(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [DeviceTemplateConfigOrderBy] = []
where: GQLTQueryDeviceTemplateConfigWhere
include: [GQLTDeviceTemplateConfigIncludeObject] = []
): DeviceTemplateConfigHasManyDeviceTemplateConfigsList
}

Fields#

id (ID!)#

The ID of an object

config (String!)#

Show the configuration being used by the template

version (Int!)#

Show the current version of the configuration being used

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

deviceConfigId (ID)#

The ID of an object

deviceConfig (DeviceConfig)#

Show the device config being used in the template

deviceTemplateConfigs (DeviceTemplateConfigHasManyDeviceTemplateConfigsList)#

Shows the list of all device template configs under device template

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

Interfaces#

Node#

An object with an ID