Skip to main content

Credential

credentials

type Credential implements Node {
id: ID!
name: String!
type: CredentialTypeEnum
username: String
password: String
createdAt: GQLTDate!
updatedAt: GQLTDate!
devices(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [DeviceOrderBy] = []
where: GQLTQueryDeviceWhere
include: [GQLTDeviceIncludeObject] = []
): DeviceHasManyDevicesList
}

Fields#

id (ID!)#

The ID of an object

name (String!)#

name column

type (CredentialTypeEnum)#

type column

username (String)#

username column

password (String)#

password column

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

devices (DeviceHasManyDevicesList)#

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