DBTEAMGetActivityReport

@interface DBTEAMGetActivityReport
    : DBTEAMBaseDfbReport <DBSerializable, NSCopying>

The GetActivityReport struct.

Activity Report Result. Each of the items in the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

  • Array of total number of adds by team members.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull adds;

    Swift

    var adds: [NSNumber] { get }
  • Array of number of edits by team members. If the same user edits the same file multiple times this is counted as a single edit.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull edits;

    Swift

    var edits: [NSNumber] { get }
  • Array of total number of deletes by team members.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull deletes;

    Swift

    var deletes: [NSNumber] { get }
  • Array of the number of users who have been active in the last 28 days.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull activeUsers28Day;

    Swift

    var activeUsers28Day: [NSNumber] { get }
  • Array of the number of users who have been active in the last week.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull activeUsers7Day;

    Swift

    var activeUsers7Day: [NSNumber] { get }
  • Array of the number of users who have been active in the last day.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull activeUsers1Day;

    Swift

    var activeUsers1Day: [NSNumber] { get }
  • Array of the number of shared folders with some activity in the last 28 days.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        NSArray<NSNumber *> *_Nonnull activeSharedFolders28Day;

    Swift

    var activeSharedFolders28Day: [NSNumber] { get }
  • Array of the number of shared folders with some activity in the last week.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        NSArray<NSNumber *> *_Nonnull activeSharedFolders7Day;

    Swift

    var activeSharedFolders7Day: [NSNumber] { get }
  • Array of the number of shared folders with some activity in the last day.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        NSArray<NSNumber *> *_Nonnull activeSharedFolders1Day;

    Swift

    var activeSharedFolders1Day: [NSNumber] { get }
  • Array of the number of shared links created.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull sharedLinksCreated;

    Swift

    var sharedLinksCreated: [NSNumber] { get }
  • Array of the number of views by team users to shared links created by the team.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        NSArray<NSNumber *> *_Nonnull sharedLinksViewedByTeam;

    Swift

    var sharedLinksViewedByTeam: [NSNumber] { get }
  • Array of the number of views by users outside of the team to shared links created by the team.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        NSArray<NSNumber *> *_Nonnull sharedLinksViewedByOutsideUser;

    Swift

    var sharedLinksViewedByOutsideUser: [NSNumber] { get }
  • Array of the number of views by non-logged-in users to shared links created by the team.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        NSArray<NSNumber *> *_Nonnull sharedLinksViewedByNotLoggedIn;

    Swift

    var sharedLinksViewedByNotLoggedIn: [NSNumber] { get }
  • Array of the total number of views to shared links created by the team.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        NSArray<NSNumber *> *_Nonnull sharedLinksViewedTotal;

    Swift

    var sharedLinksViewedTotal: [NSNumber] { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
                 initWithStartDate:(nonnull NSString *)startDate
                              adds:(nonnull NSArray<NSNumber *> *)adds
                             edits:(nonnull NSArray<NSNumber *> *)edits
                           deletes:(nonnull NSArray<NSNumber *> *)deletes
                  activeUsers28Day:(nonnull NSArray<NSNumber *> *)activeUsers28Day
                   activeUsers7Day:(nonnull NSArray<NSNumber *> *)activeUsers7Day
                   activeUsers1Day:(nonnull NSArray<NSNumber *> *)activeUsers1Day
          activeSharedFolders28Day:
              (nonnull NSArray<NSNumber *> *)activeSharedFolders28Day
           activeSharedFolders7Day:
               (nonnull NSArray<NSNumber *> *)activeSharedFolders7Day
           activeSharedFolders1Day:
               (nonnull NSArray<NSNumber *> *)activeSharedFolders1Day
                sharedLinksCreated:(nonnull NSArray<NSNumber *> *)sharedLinksCreated
           sharedLinksViewedByTeam:
               (nonnull NSArray<NSNumber *> *)sharedLinksViewedByTeam
    sharedLinksViewedByOutsideUser:
        (nonnull NSArray<NSNumber *> *)sharedLinksViewedByOutsideUser
    sharedLinksViewedByNotLoggedIn:
        (nonnull NSArray<NSNumber *> *)sharedLinksViewedByNotLoggedIn
            sharedLinksViewedTotal:
                (nonnull NSArray<NSNumber *> *)sharedLinksViewedTotal;

    Swift

    init(startDate: String, adds: [NSNumber], edits: [NSNumber], deletes: [NSNumber], activeUsers28Day: [NSNumber], activeUsers7Day: [NSNumber], activeUsers1Day: [NSNumber], activeSharedFolders28Day: [NSNumber], activeSharedFolders7Day: [NSNumber], activeSharedFolders1Day: [NSNumber], sharedLinksCreated: [NSNumber], sharedLinksViewedByTeam: [NSNumber], sharedLinksViewedByOutsideUser: [NSNumber], sharedLinksViewedByNotLoggedIn: [NSNumber], sharedLinksViewedTotal: [NSNumber])

    Parameters

    startDate

    First date present in the results as ‘YYYY-MM-DD’ or None.

    adds

    Array of total number of adds by team members.

    edits

    Array of number of edits by team members. If the same user edits the same file multiple times this is counted as a single edit.

    deletes

    Array of total number of deletes by team members.

    activeUsers28Day

    Array of the number of users who have been active in the last 28 days.

    activeUsers7Day

    Array of the number of users who have been active in the last week.

    activeUsers1Day

    Array of the number of users who have been active in the last day.

    activeSharedFolders28Day

    Array of the number of shared folders with some activity in the last 28 days.

    activeSharedFolders7Day

    Array of the number of shared folders with some activity in the last week.

    activeSharedFolders1Day

    Array of the number of shared folders with some activity in the last day.

    sharedLinksCreated

    Array of the number of shared links created.

    sharedLinksViewedByTeam

    Array of the number of views by team users to shared links created by the team.

    sharedLinksViewedByOutsideUser

    Array of the number of views by users outside of the team to shared links created by the team.

    sharedLinksViewedByNotLoggedIn

    Array of the number of views by non-logged-in users to shared links created by the team.

    sharedLinksViewedTotal

    Array of the total number of views to shared links created by the team.

    Return Value

    An initialized instance.