PerilGroup

public final class PerilGroup: NSObject

Group of perils. Users can register to this groups to be notified about their perils.

To get all peril groups for an organisation call getAllGroups from AlertingService instance, after it was set up with cliend id and secret.

  • id

    Peril group ID.

    Declaration

    Swift

    public var id: String
  • Peril group name.

    Declaration

    Swift

    public var name: String?
  • Peril group description.

    Declaration

    Swift

    public var aDescription: String?
  • Compares two PerilGroups by id.

    Declaration

    Swift

    public override func isEqual(_ object: Any?) -> Bool