DBTEAMLOGEmailIngestReceiveFileDetails

Objective-C

@interface DBTEAMLOGEmailIngestReceiveFileDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGEmailIngestReceiveFileDetails : NSObject, DBSerializable, NSCopying

The EmailIngestReceiveFileDetails struct.

Received files via Email to Dropbox.

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

Instance fields

  • Inbox name.

    Declaration

    Objective-C

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

    Swift

    var inboxName: String { get }
  • Submitted file names.

    Declaration

    Objective-C

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

    Swift

    var attachmentNames: [String] { get }
  • Subject of the email.

    Declaration

    Objective-C

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

    Swift

    var subject: String? { get }
  • The name as provided by the submitter.

    Declaration

    Objective-C

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

    Swift

    var fromName: String? { get }
  • The email as provided by the submitter.

    Declaration

    Objective-C

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

    Swift

    var fromEmail: String? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithInboxName:(nonnull NSString *)inboxName
                              attachmentNames:
                                  (nonnull NSArray<NSString *> *)attachmentNames
                                      subject:(nullable NSString *)subject
                                     fromName:(nullable NSString *)fromName
                                    fromEmail:(nullable NSString *)fromEmail;

    Swift

    init(inboxName: String, attachmentNames: [String], subject: String?, fromName: String?, fromEmail: String?)

    Parameters

    inboxName

    Inbox name.

    attachmentNames

    Submitted file names.

    subject

    Subject of the email.

    fromName

    The name as provided by the submitter.

    fromEmail

    The email as provided by the submitter.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithInboxName:(nonnull NSString *)inboxName
                              attachmentNames:
                                  (nonnull NSArray<NSString *> *)attachmentNames;

    Swift

    init(inboxName: String, attachmentNames: [String])

    Parameters

    inboxName

    Inbox name.

    attachmentNames

    Submitted file names.

    Return Value

    An initialized instance.