Skip to main content

Group

group

type Group implements Node {
id: ID!
name: String!
code: String!
active: Boolean!
default: Boolean!
enableRateProfile: Boolean!
rateProfile: String
createdAt: GQLTDate!
updatedAt: GQLTDate!
parentId: ID
productGroupId: ID
buildingId: ID
children(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [GroupOrderBy] = []
where: GQLTQueryGroupWhere
include: [GQLTGroupIncludeObject] = []
): GroupHasManyChildrenList
parent: Group
users(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [UserOrderBy] = []
where: GQLTQueryUserWhere
include: [GQLTUserIncludeObject] = []
): UserBelongsToManyUsersList
rooms(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [RoomOrderBy] = []
where: GQLTQueryRoomWhere
include: [GQLTRoomIncludeObject] = []
): RoomBelongsToManyRoomsList
devices(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [DeviceOrderBy] = []
where: GQLTQueryDeviceWhere
include: [GQLTDeviceIncludeObject] = []
): DeviceBelongsToManyDevicesList
productGroup: ProductGroup
vouchers(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [VoucherOrderBy] = []
where: GQLTQueryVoucherWhere
include: [GQLTVoucherIncludeObject] = []
): VoucherHasManyVouchersList
building: Building
}

Fields#

id (ID!)#

The ID of an object

name (String!)#

define the name of the group

code (String!)#

code is a unique identifier for each group

active (Boolean!)#

defines if the group is active or not

default (Boolean!)#

This is the default group assigned if the value is set to true

enableRateProfile (Boolean!)#

If set to true this will assign the value from the rateProfile field to the user

rateProfile (String)#

This is the rate profile to be assigned to the user on add

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

parentId (ID)#

The ID of an object

productGroupId (ID)#

The ID of an object

buildingId (ID)#

The ID of an object

children (GroupHasManyChildrenList)#

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

parent (Group)#

users (UserBelongsToManyUsersList)#

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

rooms (RoomBelongsToManyRoomsList)#

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

devices (DeviceBelongsToManyDevicesList)#

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

productGroup (ProductGroup)#

vouchers (VoucherHasManyVouchersList)#

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

building (Building)#

The building associated to the group

Interfaces#

Node#

An object with an ID