import Foundation /** An object containing the information required to issue a registration request to the server. */ public struct DeviceRegistration: Codable { /// The push token of the registering device public let pushToken: PushToken /// The application id for which the device wants to register public 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. */ public let name: String }