struct SyncNodesRequestextension SyncNodesRequest : AutomationValue, Equatable, Hashable, Sendable, StructDataRepresentableRepresents a request to sync nodes.
See: google3/google/internal/home/platform/mesh/interaction/v1/hub_connection_service.proto
-
Undocumented
Declaration
Swift
let notifications: [NodeNotification] -
Undocumented
Declaration
Swift
let allowNodeProvisioning: Bool -
Undocumented
Declaration
Swift
let nodeMetadata: [UInt64 : NodeMetadata] -
Undocumented
Declaration
Swift
let structureID: String? -
Undocumented
Declaration
Swift
init(notifications: [NodeNotification] = [], allowNodeProvisioning: Bool = false, nodeMetadata: [UInt64 : NodeMetadata] = [:], structureID: String? = nil) -
Creates a new Struct instance using data read from the given
TraitDecoder.Throws
HomeError.parseErrorwhen parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throwsParameters
decoderThe raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws