Skip to main content

RoomType

A specific room type in a hotel.

type RoomType {
createdAt: DateTime!
createdBy: String
hotel: Hotel!
id: ID!
lastModifiedAt: DateTime!
lastModifiedBy: String
maximumOccupancy: NonNegativeInt!
name: String!
uniqueCode: String
}

Fields

RoomType.createdAt ● DateTime! non-null scalar

The date and time the record was created.

RoomType.createdBy ● String scalar

UTF-8 string value that represents the username of the user who created the record. Optional.

RoomType.hotel ● Hotel! non-null object

The hotel of the room type.

RoomType.id ● ID! non-null scalar

The unique identifier for the room type.

RoomType.lastModifiedAt ● DateTime! non-null scalar

The date and time the record was last modified.

RoomType.lastModifiedBy ● String scalar

UTF-8 string value that represents the username of the user who last modified the record. Optional.

RoomType.maximumOccupancy ● NonNegativeInt! non-null scalar

The maximum number of people allowed in rooms of this type.

RoomType.name ● String! non-null scalar

A UTF-8 string representing the name of the room type.

RoomType.uniqueCode ● String scalar

A customer supplied, UTF-8 string value that represents a unique code for the room type. Optional.

The value must be unique across all room types for an event.

Member Of

Hotel object ● HotelBooking object