TimeCondition

public class TimeCondition : ModelObject

Representation of a time restriction for a badge. The badge will only be usable during this time.

  • Time zone of the time restriction

    Declaration

    Swift

    @objc
    public internal(set) dynamic var timeZone: String
  • Start time in timezone. The time string has the format HHMM.

    Declaration

    Swift

    @objc
    public private(set) dynamic var startTime: String
  • Hour component of the startTime

    Declaration

    Swift

    @objc
    public private(set) dynamic var startHour: String
  • Minute component of the startTime

    Declaration

    Swift

    @objc
    public private(set) dynamic var startMinute: String
  • End time in timezone. The time string has the format HHMM.

    Declaration

    Swift

    @objc
    public private(set) dynamic var endTime: String
  • Hour component of the endTime

    Declaration

    Swift

    @objc
    public private(set) dynamic var endHour: String
  • Minute component of the endTime

    Declaration

    Swift

    @objc
    public private(set) dynamic var endMinute: String
  • The days of week when the restriction will be enforced

    Declaration

    Swift

    @objc
    public private(set) dynamic var weekDays: String