struct GoogleSecuritySystemDeviceTypeGenerated struct for the Google Security System Device Type.
A device that monitors one or more sensors in a building and can raise an alert if a sensor detects unexpected activity. Security systems can be armed and disarmed. They can be armed at multiple security levels (for example, Home and Away) and they can report information about certain sensors, such as a sensor that detects motion or an open window.
- 
                  
                  Additional information about this device type. DeclarationSwift let metadata: DeviceTypeMetadata
- 
                  
                  The traits that make up this device type. Use this to access traits that are not directly exposed as properties on the DeviceType, like custom traits and traits belonging to utility types.DeclarationSwift let traits: TraitCollection
- 
                  
                  Entrypoint to subscribe to events on this DeviceType. DeclarationSwift let events: any EventController
- 
                  
                  Creates a new DeviceTypefrom the given trait collection.Throws Throws aHomeErrorif the given collection is missing one or more required traits for the given device type.DeclarationSwift init(traits: TraitCollection, eventController: any EventController, metadataBuilder: ([any Trait]?) -> DeviceTypeMetadata) throws
- 
                  
                  A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the String(reflecting:)initializer. This initializer works with any type, and uses the customdebugDescriptionproperty for types that conform toCustomDebugStringConvertible:struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)"The conversion of pto a string in the assignment tosuses thePointtype’sdebugDescriptionproperty.DeclarationSwift var debugDescription: String { get }
- 
                  
                  Trait Container for GoogleSecuritySystemDeviceType Google Traits. DeclarationSwift struct GoogleSecuritySystemGoogleTraits