Skip to main content

Building

buildings

type Building implements Node {
id: ID!
name: String!
code: String!
options: GQLTJson
notification: String
acctTrackingCode: String!
ewayCountry: String!
formattedAddress: String
pop: String
createdAt: GQLTDate!
updatedAt: GQLTDate!
productGroupId: ID
fileItemId: ID
addressId: ID
productGroup: ProductGroup
users(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [UserOrderBy] = []
where: GQLTQueryUserWhere
include: [GQLTUserIncludeObject] = []
): UserHasManyUsersList
fileItem: Item
address: Address
groups(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [GroupOrderBy] = []
where: GQLTQueryGroupWhere
include: [GQLTGroupIncludeObject] = []
): GroupHasManyGroupsList
}

Fields#

id (ID!)#

The ID of an object

name (String!)#

define the building name

code (String!)#

define the code for every building

options (GQLTJson)#

JSON field type to store metadata of the building

notification (String)#

notification column

acctTrackingCode (String!)#

define the tracking code in every building for accounting purposes

ewayCountry (String!)#

define the country code being set for eway gateway

formattedAddress (String)#

define the formal and proper arrangement of the building address

pop (String)#

pop column

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

productGroupId (ID)#

The ID of an object

fileItemId (ID)#

The ID of an object

addressId (ID)#

The ID of an object

productGroup (ProductGroup)#

users (UserHasManyUsersList)#

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

fileItem (Item)#

address (Address)#

Show the address of the building

groups (GroupHasManyGroupsList)#

Groups assigned to the building

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