Resource

data class Resource(val id: String, val name: String, val type: ResourceType, val singleInfo: InfoIcon? = null, val i18n: String? = null, val tagid: String? = null, val image: String? = null, val images: List<String>? = null, val buildingPosition: BuildingPosition? = null, val position: Position? = null, val bookingConfig: BookingConfig? = null, val services: List<ResourceService>? = null, val controls: List<Control>? = null, val favourite: Boolean? = false, val sensors: List<SensorInfo>? = null, val subtype: String? = null, val i18nSubtype: String? = null, val metadataTypes: List<String>? = null, val connectedGroupNames: List<String>? = null, val description: String? = null, val integrationKey: String? = null, val additionalServices: List<AdditionalService>? = null, val code: String? = null, val codeUrl: String? = null, val username: String? = null) : Parcelable

Constructors

Link copied to clipboard
constructor(id: String, name: String, type: ResourceType, singleInfo: InfoIcon? = null, i18n: String? = null, tagid: String? = null, image: String? = null, images: List<String>? = null, buildingPosition: BuildingPosition? = null, position: Position? = null, bookingConfig: BookingConfig? = null, services: List<ResourceService>? = null, controls: List<Control>? = null, favourite: Boolean? = false, sensors: List<SensorInfo>? = null, subtype: String? = null, i18nSubtype: String? = null, metadataTypes: List<String>? = null, connectedGroupNames: List<String>? = null, description: String? = null, integrationKey: String? = null, additionalServices: List<AdditionalService>? = null, code: String? = null, codeUrl: String? = null, username: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val code: String? = null
Link copied to clipboard
val codeUrl: String? = null
Link copied to clipboard

Groups

Link copied to clipboard
val controls: List<Control>? = null
Link copied to clipboard
val description: String? = null
Link copied to clipboard
val favourite: Boolean? = false
Link copied to clipboard
val i18n: String? = null
Link copied to clipboard
val i18nSubtype: String? = null
Link copied to clipboard
val id: String

unique id

Link copied to clipboard
val image: String? = null

image url (if start with http/s the url is absolute, relative otherwise)

Link copied to clipboard
val images: List<String>? = null

image url (if start with http/s the url is absolute, relative otherwise)

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val integrationKey: String? = null
Link copied to clipboard
val metadataTypes: List<String>? = null

Search tags

Link copied to clipboard

the name of the resource

Link copied to clipboard
val position: Position? = null
Link copied to clipboard
Link copied to clipboard
val sensors: List<SensorInfo>? = null
Link copied to clipboard
Link copied to clipboard
val singleInfo: InfoIcon? = null
Link copied to clipboard
val subtype: String? = null
Link copied to clipboard
val tagid: String? = null
Link copied to clipboard

the resource type ResourceType

Link copied to clipboard
val username: String? = null

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)