DBUSERSIndividualSpaceAllocation

@interface DBUSERSIndividualSpaceAllocation
    : NSObject <DBSerializable, NSCopying>

The IndividualSpaceAllocation 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 allocated to the user’s account (bytes).

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSNumber *_Nonnull allocated;

    Swift

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAllocated:(nonnull NSNumber *)allocated;

    Swift

    init(allocated: NSNumber)

    Parameters

    allocated

    The total space allocated to the user’s account (bytes).

    Return Value

    An initialized instance.