DBTEAMLOGFileOrFolderLogInfo

@interface DBTEAMLOGFileOrFolderLogInfo : NSObject <DBSerializable, NSCopying>

The FileOrFolderLogInfo struct.

Generic information relevant both for files and folders

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

  • Path relative to event context.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DBTEAMLOGPathLogInfo *_Nonnull path;

    Swift

    var path: DBTEAMLOGPathLogInfo { get }
  • Display name. Might be missing due to historical data gap.

    Declaration

    Objective-C

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

    Swift

    var displayName: String? { get }
  • Unique ID. Might be missing due to historical data gap.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPath:(nonnull DBTEAMLOGPathLogInfo *)path
                             displayName:(nullable NSString *)displayName
                                  fileId:(nullable NSString *)fileId;

    Swift

    init(path: DBTEAMLOGPathLogInfo, displayName: String?, fileId: String?)

    Parameters

    path

    Path relative to event context.

    displayName

    Display name. Might be missing due to historical data gap.

    fileId

    Unique ID. Might be missing due to historical data gap.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPath:(nonnull DBTEAMLOGPathLogInfo *)path;

    Swift

    init(path: DBTEAMLOGPathLogInfo)

    Parameters

    path

    Path relative to event context.

    Return Value

    An initialized instance.