DBTEAMGetMembershipReport

Objective-C

@interface DBTEAMGetMembershipReport
    : DBTEAMBaseDfbReport <DBSerializable, NSCopying>

Swift

class DBTEAMGetMembershipReport : DBTEAMBaseDfbReport, DBSerializable, NSCopying

The GetMembershipReport struct.

Membership 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.

Instance fields

  • Team size, for each day.

    Declaration

    Objective-C

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

    Swift

    var teamSize: [NSNumber] { get }
  • The number of pending invites to the team, for each day.

    Declaration

    Objective-C

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

    Swift

    var pendingInvites: [NSNumber] { get }
  • The number of members that joined the team, for each day.

    Declaration

    Objective-C

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

    Swift

    var membersJoined: [NSNumber] { get }
  • The number of suspended team members, for each day.

    Declaration

    Objective-C

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

    Swift

    var suspendedMembers: [NSNumber] { get }
  • The total number of licenses the team has, for each day.

    Declaration

    Objective-C

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

    Swift

    var licenses: [NSNumber] { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithStartDate:(nonnull NSString *)startDate
                 teamSize:(nonnull NSArray<NSNumber *> *)teamSize
           pendingInvites:(nonnull NSArray<NSNumber *> *)pendingInvites
            membersJoined:(nonnull NSArray<NSNumber *> *)membersJoined
         suspendedMembers:(nonnull NSArray<NSNumber *> *)suspendedMembers
                 licenses:(nonnull NSArray<NSNumber *> *)licenses;

    Swift

    init(startDate: String, teamSize: [NSNumber], pendingInvites: [NSNumber], membersJoined: [NSNumber], suspendedMembers: [NSNumber], licenses: [NSNumber])

    Parameters

    startDate

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

    teamSize

    Team size, for each day.

    pendingInvites

    The number of pending invites to the team, for each day.

    membersJoined

    The number of members that joined the team, for each day.

    suspendedMembers

    The number of suspended team members, for each day.

    licenses

    The total number of licenses the team has, for each day.

    Return Value

    An initialized instance.