DBUSERSTeamSpaceAllocation
Objective-C
@interface DBUSERSTeamSpaceAllocation : NSObject <DBSerializable, NSCopying>
                Swift
class DBUSERSTeamSpaceAllocation : NSObject, DBSerializable, NSCopying
                The TeamSpaceAllocation struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
The total space currently used by the user’s team (bytes).
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull used;Swift
var used: NSNumber { get } - 
                  
                  
The total space allocated to the user’s team (bytes).
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull allocated;Swift
var allocated: NSNumber { get } - 
                  
                  
The total space allocated to the user within its team allocated space (0 means that no restriction is imposed on the user’s quota within its team).
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull userWithinTeamSpaceAllocated;Swift
var userWithinTeamSpaceAllocated: NSNumber { get } - 
                  
                  
The type of the space limit imposed on the team member (off, alert_only, stop_sync).
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMCOMMONMemberSpaceLimitType *_Nonnull userWithinTeamSpaceLimitType;Swift
var userWithinTeamSpaceLimitType: DBTEAMCOMMONMemberSpaceLimitType { get } - 
                  
                  
An accurate cached calculation of a team member’s total space usage (bytes).
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull userWithinTeamSpaceUsedCached;Swift
var userWithinTeamSpaceUsedCached: NSNumber { get } 
- 
                  
-initWithUsed:allocated: userWithinTeamSpaceAllocated: userWithinTeamSpaceLimitType: userWithinTeamSpaceUsedCached: Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithUsed:(nonnull NSNumber *)used allocated:(nonnull NSNumber *)allocated userWithinTeamSpaceAllocated: (nonnull NSNumber *)userWithinTeamSpaceAllocated userWithinTeamSpaceLimitType: (nonnull DBTEAMCOMMONMemberSpaceLimitType *) userWithinTeamSpaceLimitType userWithinTeamSpaceUsedCached: (nonnull NSNumber *)userWithinTeamSpaceUsedCached;Swift
init(used: NSNumber, allocated: NSNumber, userWithinTeamSpaceAllocated: NSNumber, userWithinTeamSpaceLimitType: DBTEAMCOMMONMemberSpaceLimitType, userWithinTeamSpaceUsedCached: NSNumber)Parameters
usedThe total space currently used by the user’s team (bytes).
allocatedThe total space allocated to the user’s team (bytes).
userWithinTeamSpaceAllocatedThe total space allocated to the user within its team allocated space (0 means that no restriction is imposed on the user’s quota within its team).
userWithinTeamSpaceLimitTypeThe type of the space limit imposed on the team member (off, alert_only, stop_sync).
userWithinTeamSpaceUsedCachedAn accurate cached calculation of a team member’s total space usage (bytes).
Return Value
An initialized instance.
 
View on GitHub
        DBUSERSTeamSpaceAllocation Class Reference