DBFILEREQUESTSListFileRequestsArg

Objective-C

@interface DBFILEREQUESTSListFileRequestsArg
    : NSObject <DBSerializable, NSCopying>

Swift

class DBFILEREQUESTSListFileRequestsArg : NSObject, DBSerializable, NSCopying

The ListFileRequestsArg struct.

Arguments for list.

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 maximum number of file requests that should be returned per request.

    Declaration

    Objective-C

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

    Swift

    var limit: NSNumber { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLimit:(nullable NSNumber *)limit;

    Swift

    init(limit: NSNumber?)

    Parameters

    limit

    The maximum number of file requests that should be returned per request.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initDefault;

    Swift

    init(default: ())

    Return Value

    An initialized instance.