DBTEAMLOGFileOrFolderLogInfo
Objective-C
@interface DBTEAMLOGFileOrFolderLogInfo : NSObject <DBSerializable, NSCopying>
Swift
class 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 (nonatomic, readonly) DBTEAMLOGPathLogInfo *_Nonnull path;
Swift
var path: DBTEAMLOGPathLogInfo { get }
-
Display name.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *displayName;
Swift
var displayName: String? { get }
-
Unique ID.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *fileId;
Swift
var fileId: String? { get }
-
File or folder size in bytes.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *fileSize;
Swift
var fileSize: NSNumber? { 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 fileSize:(nullable NSNumber *)fileSize;
Swift
init(path: DBTEAMLOGPathLogInfo, displayName: String?, fileId: String?, fileSize: NSNumber?)
Parameters
path
Path relative to event context.
displayName
Display name.
fileId
Unique ID.
fileSize
File or folder size in bytes.
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.