DBUSERSFullTeam
Objective-C
@interface DBUSERSFullTeam : DBUSERSTeam <DBSerializable, NSCopying>
Swift
class DBUSERSFullTeam : DBUSERSTeam, DBSerializable, NSCopying
The FullTeam
struct.
Detailed information about a team.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Team policies governing sharing.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMPOLICIESTeamSharingPolicies *_Nonnull sharingPolicies;
Swift
var sharingPolicies: DBTEAMPOLICIESTeamSharingPolicies { get }
-
Team policy governing the use of the Office Add-In.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMPOLICIESOfficeAddInPolicy *_Nonnull officeAddinPolicy;
Swift
var officeAddinPolicy: DBTEAMPOLICIESOfficeAddInPolicy { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithId_:(nonnull NSString *)id_ name:(nonnull NSString *)name sharingPolicies: (nonnull DBTEAMPOLICIESTeamSharingPolicies *)sharingPolicies officeAddinPolicy: (nonnull DBTEAMPOLICIESOfficeAddInPolicy *)officeAddinPolicy;
Swift
init(id_: String, name: String, sharingPolicies: DBTEAMPOLICIESTeamSharingPolicies, officeAddinPolicy: DBTEAMPOLICIESOfficeAddInPolicy)
Parameters
id_
The team’s unique ID.
name
The name of the team.
sharingPolicies
Team policies governing sharing.
officeAddinPolicy
Team policy governing the use of the Office Add-In.
Return Value
An initialized instance.