MELCloud & MELCloud Home API for Node.js - v48.2.0
    Preparing search index...

    Class ClassicBuilding

    ClassicBuilding model holding zone settings and geographic location.

    Hierarchy

    • BaseModel
      • ClassicBuilding
    Index
    • Builds a building model from a wire-format ClassicBuildingData entry.

      Parameters

      • root0: ClassicBuildingData

        Wire-format building data.

        Wire-format building entry from ListDevices (without the nested Structure). Inherits frost-protection + holiday-mode flags from ClassicZoneSettings.

        • ReadonlyAccessLevel: number
        • ReadonlyAddressLine1: string
        • ReadonlyAddressLine2: string | null
        • ReadonlyBuildingType: number
        • ReadonlyCity: string
        • ReadonlyCoolingDisabled: boolean
        • ReadonlyCountry: number
        • ReadonlyDateBuilt: string | null
        • ReadonlyDirectAccess: boolean
        • ReadonlyDistrict: string | null
        • ReadonlyEndDate: string
        • ReadonlyExpanded: boolean
        • ReadonlyFPDefined: boolean
        • ReadonlyFPEnabled: boolean
        • ReadonlyFPMaxTemperature: number
        • ReadonlyFPMinTemperature: number
        • ReadonlyHasGasSupply: boolean
        • ReadonlyHMDefined: boolean
        • ReadonlyHMEnabled: boolean
        • ReadonlyHMEndDate: string | null
        • ReadonlyHMStartDate: string | null
        • ReadonlyID: ClassicBuildingID
        • ReadonlyiDateBuilt: string | number | null
        • ReadonlyLatitude: number
        • ReadonlyLinkToMELCloudHome: boolean
        • ReadonlyLocation: number
        • ReadonlyLocationLookupDate: string
        • ReadonlyLongitude: number
        • ReadonlyMaxTemperature: number
        • ReadonlyMinTemperature: number
        • ReadonlyName: string
        • ReadonlyOwner: Readonly<Record<string, unknown>> | null
        • ReadonlyPostcode: string
        • ReadonlyPropertyType: number
        • ReadonlyQuantizedCoordinates: ClassicQuantizedCoordinates
        • ReadonlyTimeZone: number
        • ReadonlyTimeZoneCity: number
        • ReadonlyTimeZoneContinent: number

      Returns ClassicBuilding

    id: number
    location: number
    modelKind: "building" = 'building'
    name: string