DBSHARINGListSharedLinksArg

Objective-C

@interface DBSHARINGListSharedLinksArg : NSObject <DBSerializable, NSCopying>

Swift

class DBSHARINGListSharedLinksArg : NSObject, DBSerializable, NSCopying

The ListSharedLinksArg 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

  • See listSharedLinks description.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *path;

    Swift

    var path: String? { get }
  • The cursor returned by your last call to listSharedLinks.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *cursor;

    Swift

    var cursor: String? { get }
  • See listSharedLinks description.

    Declaration

    Objective-C

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

    Swift

    var directOnly: NSNumber? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPath:(nullable NSString *)path
                                  cursor:(nullable NSString *)cursor
                              directOnly:(nullable NSNumber *)directOnly;

    Swift

    init(path: String?, cursor: String?, directOnly: NSNumber?)

    Parameters

    path

    See listSharedLinks description.

    cursor

    The cursor returned by your last call to listSharedLinks.

    directOnly

    See listSharedLinks description.

    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.