DBUSERSIndividualSpaceAllocation

Objective-C

@interface DBUSERSIndividualSpaceAllocation
    : NSObject <DBSerializable, NSCopying>

Swift

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

Instance fields

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

    Declaration

    Objective-C

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

    Swift

    var allocated: NSNumber { get }

Constructors

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