UserNotification

public class UserNotification : Codable, Hashable

A root object that stores information about a user notification resource.

Properties

  • id

    The id of the resource.

    Declaration

    Swift

    public let id: String
  • The type of the resource.

    Declaration

    Swift

    public let type: String
  • The relative link to where the resource is located.

    Declaration

    Swift

    public let href: String
  • The attributes belonging to the user notification.

    Declaration

    Swift

    public var attributes: UserNotification.Attributes

Functions

  • Declaration

    Swift

    public static func == (lhs: UserNotification, rhs: UserNotification) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)
  • A root object that stores information about a single user notification, such as the notification’s type, read status, and payload.

    See more

    Declaration

    Swift

    public struct Attributes : Codable
  • A root object that stores information about user notification payload.

    See more

    Declaration

    Swift

    public struct Payload : Codable