Skip to main content

Building

No description

type Building {  addressCity: String  addressCountry: String  addressNumber: String  addressState: String  addressStreet: String  addressZipCode: String  client: Client!  clientId: String!  id: String!  name: String!  rooms(after: String, before: String, first: Int, last: Int): RoomsConnection  roomsCount: Int}

Fields#

addressCity (String)#

Name of the city where the building is located (e.g. Zurich)

addressCountry (String)#

The code in the format iso3166_alpha2 of the country where where the building is located (e.g. CH)

addressNumber (String)#

Number of the street where the building is located (e.g. 109)

addressState (String)#

Postcode of the city where the building is located (e.g. 8004)

addressStreet (String)#

Name of the street where the building is located (e.g. Mattenstrasse)

addressZipCode (String)#

Postal code of the city where the building is located (e.g. 8004)

client (Client!)#

clientId (String!)#

UUID of the client

id (String!)#

name (String!)#

rooms (RoomsConnection)#

Returns a list of rooms in this building

Returns the elements in the list that come after the specified cursor. Can only be used together with 'first'.

Returns the elements in the list that come before the specified cursor. Can only be used together with 'last'.

Returns the first n elements from the list.

Returns the last n elements from the list.

roomsCount (Int)#

number of rooms in this building