Push-Definitions/Sources/PushAPI/DeviceUpdate.swift

18 lines
303 B
Swift
Raw Normal View History

2022-06-05 11:47:58 +02:00
import Foundation
/**
An object to update the push token of a device.
*/
struct PushTokenUpdate {
/// The authentication of the requesting device.
let device: DeviceAuthentication
/// The new push token to register
let newToken: PushToken
}
extension PushTokenUpdate: Codable {
}