DBCOMMONTeamRootInfo
Objective-C
@interface DBCOMMONTeamRootInfo : DBCOMMONRootInfo <DBSerializable, NSCopying>
Swift
class DBCOMMONTeamRootInfo : DBCOMMONRootInfo, DBSerializable, NSCopying
The TeamRootInfo
struct.
Root info when user is member of a team with a separate root namespace ID.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The path for user’s home directory under the shared team root.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull homePath;
Swift
var homePath: String { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithRootNamespaceId:(nonnull NSString *)rootNamespaceId homeNamespaceId:(nonnull NSString *)homeNamespaceId homePath:(nonnull NSString *)homePath;
Swift
init(rootNamespaceId: String, homeNamespaceId: String, homePath: String)
Parameters
rootNamespaceId
The namespace ID for user’s root namespace. It will be the namespace ID of the shared team root if the user is member of a team with a separate team root. Otherwise it will be same as
homeNamespaceId
inDBCOMMONRootInfo
.homeNamespaceId
The namespace ID for user’s home namespace.
homePath
The path for user’s home directory under the shared team root.
Return Value
An initialized instance.