DBSHARINGListFileMembersBatchArg

Objective-C

@interface DBSHARINGListFileMembersBatchArg
    : NSObject <DBSerializable, NSCopying>

Swift

class DBSHARINGListFileMembersBatchArg : NSObject, DBSerializable, NSCopying

The ListFileMembersBatchArg struct.

Arguments for listFileMembersBatch.

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

Instance fields

  • Files for which to return members.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<NSString *> *_Nonnull files;

    Swift

    var files: [String] { get }
  • Number of members to return max per query. Defaults to 10 if no limit is specified.

    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)initWithFiles:(nonnull NSArray<NSString *> *)files
                                    limit:(nullable NSNumber *)limit;

    Swift

    init(files: [String], limit: NSNumber?)

    Parameters

    files

    Files for which to return members.

    limit

    Number of members to return max per query. Defaults to 10 if no limit is specified.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFiles:(nonnull NSArray<NSString *> *)files;

    Swift

    init(files: [String])

    Parameters

    files

    Files for which to return members.

    Return Value

    An initialized instance.