DBTEAMUserCustomQuotaResult

Objective-C

@interface DBTEAMUserCustomQuotaResult : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMUserCustomQuotaResult : NSObject, DBSerializable, NSCopying

The UserCustomQuotaResult struct.

User and their custom quota in GB (1 TB = 1024 GB). No quota returns if the user has no custom quota set.

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

Instance fields

  • (no description).

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBTEAMUserSelectorArg *_Nonnull user;

    Swift

    var user: DBTEAMUserSelectorArg { get }
  • (no description).

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *quotaGb;

    Swift

    var quotaGb: NSNumber? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUser:(nonnull DBTEAMUserSelectorArg *)user
                                 quotaGb:(nullable NSNumber *)quotaGb;

    Swift

    init(user: DBTEAMUserSelectorArg, quotaGb: NSNumber?)

    Parameters

    user

    (no description).

    quotaGb

    (no description).

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUser:(nonnull DBTEAMUserSelectorArg *)user;

    Swift

    init(user: DBTEAMUserSelectorArg)

    Parameters

    user

    (no description).

    Return Value

    An initialized instance.