Push-Definitions/Sources/PushAPI/DeviceUpdate.swift

14 lines
278 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.
*/
2022-06-05 12:10:38 +02:00
public struct PushTokenUpdate: Codable {
2022-06-05 11:47:58 +02:00
/// The authentication of the requesting device.
let device: DeviceAuthentication
/// The new push token to register
let newToken: PushToken
}