DBTEAMPOLICIESTeamSharingPolicies
Objective-C
@interface DBTEAMPOLICIESTeamSharingPolicies
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMPOLICIESTeamSharingPolicies : NSObject, DBSerializable, NSCopying
The TeamSharingPolicies
struct.
Policies governing sharing within and outside of the team.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Who can join folders shared by team members.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMPOLICIESSharedFolderMemberPolicy *_Nonnull sharedFolderMemberPolicy;
Swift
var sharedFolderMemberPolicy: DBTEAMPOLICIESSharedFolderMemberPolicy { get }
-
Which shared folders team members can join.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMPOLICIESSharedFolderJoinPolicy *_Nonnull sharedFolderJoinPolicy;
Swift
var sharedFolderJoinPolicy: DBTEAMPOLICIESSharedFolderJoinPolicy { get }
-
Who can view shared links owned by team members.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMPOLICIESSharedLinkCreatePolicy *_Nonnull sharedLinkCreatePolicy;
Swift
var sharedLinkCreatePolicy: DBTEAMPOLICIESSharedLinkCreatePolicy { get }
-
Who can create groups.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMPOLICIESGroupCreation *_Nonnull groupCreationPolicy;
Swift
var groupCreationPolicy: DBTEAMPOLICIESGroupCreation { get }
-
-initWithSharedFolderMemberPolicy:
sharedFolderJoinPolicy: sharedLinkCreatePolicy: groupCreationPolicy: Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithSharedFolderMemberPolicy: (nonnull DBTEAMPOLICIESSharedFolderMemberPolicy *) sharedFolderMemberPolicy sharedFolderJoinPolicy: (nonnull DBTEAMPOLICIESSharedFolderJoinPolicy *) sharedFolderJoinPolicy sharedLinkCreatePolicy: (nonnull DBTEAMPOLICIESSharedLinkCreatePolicy *) sharedLinkCreatePolicy groupCreationPolicy: (nonnull DBTEAMPOLICIESGroupCreation *)groupCreationPolicy;
Swift
init(sharedFolderMemberPolicy: DBTEAMPOLICIESSharedFolderMemberPolicy, sharedFolderJoinPolicy: DBTEAMPOLICIESSharedFolderJoinPolicy, sharedLinkCreatePolicy: DBTEAMPOLICIESSharedLinkCreatePolicy, groupCreationPolicy: DBTEAMPOLICIESGroupCreation)
Parameters
sharedFolderMemberPolicy
Who can join folders shared by team members.
sharedFolderJoinPolicy
Which shared folders team members can join.
sharedLinkCreatePolicy
Who can view shared links owned by team members.
groupCreationPolicy
Who can create groups.
Return Value
An initialized instance.