import Foundation /** An object containing the information required to issue a registration request to the server. */ struct DeviceRegistration { /// The push token of the registering device let pushToken: PushToken /// The application id for which the device wants to register let application: ApplicationId /** A custom name for the device. The name is displayed when registered users request a list of all devices in an application. */ let name: String } extension DeviceRegistration: Codable { }