DBTEAMFeatureValue
Objective-C
@interface DBTEAMFeatureValue : NSObject <DBSerializable, NSCopying>
                Swift
class DBTEAMFeatureValue : NSObject, DBSerializable, NSCopying
                The FeatureValue union.
The values correspond to entries in Feature. You may get different value according to your Dropbox Business plan.
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) DBTEAMFeatureValueTag tag;Swift
var tag: DBTEAMFeatureValueTag { get } - 
                  
                  
(no description). - note: Ensure the
isUploadApiRateLimitmethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMUploadApiRateLimitValue *_Nonnull uploadApiRateLimit;Swift
var uploadApiRateLimit: DBTEAMUploadApiRateLimitValue { get } - 
                  
                  
(no description). - note: Ensure the
isHasTeamSharedDropboxmethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMHasTeamSharedDropboxValue *_Nonnull hasTeamSharedDropbox;Swift
var hasTeamSharedDropbox: DBTEAMHasTeamSharedDropboxValue { get } - 
                  
                  
(no description). - note: Ensure the
isHasTeamFileEventsmethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMHasTeamFileEventsValue *_Nonnull hasTeamFileEvents;Swift
var hasTeamFileEvents: DBTEAMHasTeamFileEventsValue { get } - 
                  
                  
(no description). - note: Ensure the
isHasTeamSelectiveSyncmethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMHasTeamSelectiveSyncValue *_Nonnull hasTeamSelectiveSync;Swift
var hasTeamSelectiveSync: DBTEAMHasTeamSelectiveSyncValue { get } 
- 
                  
                  
Initializes union class with tag state of “upload_api_rate_limit”.
Declaration
Objective-C
- (nonnull instancetype)initWithUploadApiRateLimit: (nonnull DBTEAMUploadApiRateLimitValue *)uploadApiRateLimit;Swift
init(uploadApiRateLimit: DBTEAMUploadApiRateLimitValue)Parameters
uploadApiRateLimit(no description).
Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “has_team_shared_dropbox”.
Declaration
Objective-C
- (nonnull instancetype)initWithHasTeamSharedDropbox: (nonnull DBTEAMHasTeamSharedDropboxValue *)hasTeamSharedDropbox;Swift
init(hasTeamSharedDropbox: DBTEAMHasTeamSharedDropboxValue)Parameters
hasTeamSharedDropbox(no description).
Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “has_team_file_events”.
Declaration
Objective-C
- (nonnull instancetype)initWithHasTeamFileEvents: (nonnull DBTEAMHasTeamFileEventsValue *)hasTeamFileEvents;Swift
init(hasTeamFileEvents: DBTEAMHasTeamFileEventsValue)Parameters
hasTeamFileEvents(no description).
Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “has_team_selective_sync”.
Declaration
Objective-C
- (nonnull instancetype)initWithHasTeamSelectiveSync: (nonnull DBTEAMHasTeamSelectiveSyncValue *)hasTeamSelectiveSync;Swift
init(hasTeamSelectiveSync: DBTEAMHasTeamSelectiveSyncValue)Parameters
hasTeamSelectiveSync(no description).
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 “upload_api_rate_limit”.
Note
Call this method and ensure it returns true before accessing the
uploadApiRateLimitproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isUploadApiRateLimit;Swift
func isUploadApiRateLimit() -> BoolReturn Value
Whether the union’s current tag state has value “upload_api_rate_limit”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “has_team_shared_dropbox”.
Note
Call this method and ensure it returns true before accessing the
hasTeamSharedDropboxproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isHasTeamSharedDropbox;Swift
func isHasTeamSharedDropbox() -> BoolReturn Value
Whether the union’s current tag state has value “has_team_shared_dropbox”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “has_team_file_events”.
Note
Call this method and ensure it returns true before accessing the
hasTeamFileEventsproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isHasTeamFileEvents;Swift
func isHasTeamFileEvents() -> BoolReturn Value
Whether the union’s current tag state has value “has_team_file_events”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “has_team_selective_sync”.
Note
Call this method and ensure it returns true before accessing the
hasTeamSelectiveSyncproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isHasTeamSelectiveSync;Swift
func isHasTeamSelectiveSync() -> BoolReturn Value
Whether the union’s current tag state has value “has_team_selective_sync”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “other”.
Declaration
Objective-C
- (BOOL)isOther;Swift
func isOther() -> BoolReturn 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() -> StringReturn Value
A human-readable string representing the union’s current tag state.
 
View on GitHub
        DBTEAMFeatureValue Class Reference