Skip to main content

Room

This is a room table

type Room implements Node {
id: ID!
name: String!
notes: String
createdAt: GQLTDate!
updatedAt: GQLTDate!
meshId: ID
systemUserId: Int
accountUserId: Int
bookings(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [BookingOrderBy] = []
where: GQLTQueryBookingWhere
include: [GQLTBookingIncludeObject] = []
): BookingHasManyBookingsList
mesh: Mesh
systemUser: User
accountUser: User
groups(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [GroupOrderBy] = []
where: GQLTQueryGroupWhere
include: [GQLTGroupIncludeObject] = []
): GroupBelongsToManyGroupsList
}

Fields#

id (ID!)#

The ID of an object

name (String!)#

This is the name of the room that will be displayed.

notes (String)#

This is a short written message that aids the user who will use the room.

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

meshId (ID)#

The ID of an object

systemUserId (Int)#

accountUserId (Int)#

bookings (BookingHasManyBookingsList)#

room belongsToMany bookings

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

mesh (Mesh)#

room belongsTo mesh

systemUser (User)#

accountUser (User)#

groups (GroupBelongsToManyGroupsList)#

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