DBTEAMCOMMONGroupManagementType
Objective-C
@interface DBTEAMCOMMONGroupManagementType
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMCOMMONGroupManagementType : NSObject, DBSerializable, NSCopying
The GroupManagementType
union.
The group type determines how a group is managed.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Represents the union’s current tag state.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMCOMMONGroupManagementTypeTag tag;
Swift
var tag: DBTEAMCOMMONGroupManagementTypeTag { get }
-
Initializes union class with tag state of “user_managed”.
Description of the “user_managed” tag state: A group which is managed by selected users.
Declaration
Objective-C
- (nonnull instancetype)initWithUserManaged;
Swift
init(userManaged: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “company_managed”.
Description of the “company_managed” tag state: A group which is managed by team admins only.
Declaration
Objective-C
- (nonnull instancetype)initWithCompanyManaged;
Swift
init(companyManaged: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “system_managed”.
Description of the “system_managed” tag state: A group which is managed automatically by Dropbox.
Declaration
Objective-C
- (nonnull instancetype)initWithSystemManaged;
Swift
init(systemManaged: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “other”.
Declaration
Objective-C
- (nonnull instancetype)initWithOther;
Swift
init(other: ())
Return Value
An initialized instance.
-
Retrieves whether the union’s current tag state has value “user_managed”.
Declaration
Objective-C
- (BOOL)isUserManaged;
Swift
func isUserManaged() -> Bool
Return Value
Whether the union’s current tag state has value “user_managed”.
-
Retrieves whether the union’s current tag state has value “company_managed”.
Declaration
Objective-C
- (BOOL)isCompanyManaged;
Swift
func isCompanyManaged() -> Bool
Return Value
Whether the union’s current tag state has value “company_managed”.
-
Retrieves whether the union’s current tag state has value “system_managed”.
Declaration
Objective-C
- (BOOL)isSystemManaged;
Swift
func isSystemManaged() -> Bool
Return Value
Whether the union’s current tag state has value “system_managed”.
-
Retrieves whether the union’s current tag state has value “other”.
Declaration
Objective-C
- (BOOL)isOther;
Swift
func isOther() -> Bool
Return Value
Whether the union’s current tag state has value “other”.
-
Retrieves string value of union’s current tag state.
Declaration
Objective-C
- (nonnull NSString *)tagName;
Swift
func tagName() -> String
Return Value
A human-readable string representing the union’s current tag state.