getBookableUnits

abstract suspend fun getBookableUnits(parentUnitId: String? = null, pageConfig: PageConfig?, endsAfter: String): Result<Paged<SensorbergUnit.BookableUnit>>

Get BookableUnit's in a paginated way.

Since

1.5.0

Parameters

parentUnitId

(optional) the id of the parent unit. When set you will get the child units only.

pageConfig

(optional) sets the configuration for loading the next page.

endsAfter

(ISO 8601) timestamp. You will get Bookings that ends after this timestamp.