DBFILEREQUESTSUpdateFileRequestArgs

@interface DBFILEREQUESTSUpdateFileRequestArgs
    : NSObject <DBSerializable, NSCopying>

The UpdateFileRequestArgs struct.

Arguments for update.

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

  • id_

    The ID of the file request to update.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull id_;

    Swift

    var id_: String { get }
  • The new title of the file request. Must not be empty.

    Declaration

    Objective-C

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

    Swift

    var title: String? { get }
  • The new path of the folder in the Dropbox where uploaded files will be sent. For apps with the app folder permission, this will be relative to the app folder.

    Declaration

    Objective-C

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

    Swift

    var destination: String? { get }
  • The new deadline for the file request.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        DBFILEREQUESTSUpdateFileRequestDeadline *_Nonnull deadline;

    Swift

    var deadline: DBFILEREQUESTSUpdateFileRequestDeadline { get }
  • Whether to set this file request as open or closed.

    Declaration

    Objective-C

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

    Swift

    var open: NSNumber? { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithId_:(nonnull NSString *)id_
          title:(nullable NSString *)title
    destination:(nullable NSString *)destination
       deadline:(nullable DBFILEREQUESTSUpdateFileRequestDeadline *)deadline
           open:(nullable NSNumber *)open;

    Swift

    init(id_: String, title: String?, destination: String?, deadline: DBFILEREQUESTSUpdateFileRequestDeadline?, open: NSNumber?)

    Parameters

    id_

    The ID of the file request to update.

    title

    The new title of the file request. Must not be empty.

    destination

    The new path of the folder in the Dropbox where uploaded files will be sent. For apps with the app folder permission, this will be relative to the app folder.

    deadline

    The new deadline for the file request.

    open

    Whether to set this file request as open or closed.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithId_:(nonnull NSString *)id_;

    Swift

    init(id_: String)

    Parameters

    id_

    The ID of the file request to update.

    Return Value

    An initialized instance.