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
isUploadApiRateLimit
method 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
isHasTeamSharedDropbox
method 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
isHasTeamFileEvents
method 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
isHasTeamSelectiveSync
method 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
uploadApiRateLimit
property, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isUploadApiRateLimit;
Swift
func isUploadApiRateLimit() -> Bool
Return 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
hasTeamSharedDropbox
property, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isHasTeamSharedDropbox;
Swift
func isHasTeamSharedDropbox() -> Bool
Return 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
hasTeamFileEvents
property, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isHasTeamFileEvents;
Swift
func isHasTeamFileEvents() -> Bool
Return 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
hasTeamSelectiveSync
property, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isHasTeamSelectiveSync;
Swift
func isHasTeamSelectiveSync() -> Bool
Return 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() -> 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.