DBTEAMNamespaceType

Objective-C

@interface DBTEAMNamespaceType : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMNamespaceType : NSObject, DBSerializable, NSCopying

The NamespaceType union.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

Constructors

  • Initializes union class with tag state of “app_folder”.

    Description of the “app_folder” tag state: App sandbox folder.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAppFolder;

    Swift

    init(appFolder: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “shared_folder”.

    Description of the “shared_folder” tag state: Shared folder.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSharedFolder;

    Swift

    init(sharedFolder: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “team_folder”.

    Description of the “team_folder” tag state: Top-level team-owned folder.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTeamFolder;

    Swift

    init(teamFolder: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “team_member_folder”.

    Description of the “team_member_folder” tag state: Team member’s home folder.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTeamMemberFolder;

    Swift

    init(teamMemberFolder: ())

    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.

Tag state methods

  • Retrieves whether the union’s current tag state has value “app_folder”.

    Declaration

    Objective-C

    - (BOOL)isAppFolder;

    Swift

    func isAppFolder() -> Bool

    Return Value

    Whether the union’s current tag state has value “app_folder”.

  • Retrieves whether the union’s current tag state has value “shared_folder”.

    Declaration

    Objective-C

    - (BOOL)isSharedFolder;

    Swift

    func isSharedFolder() -> Bool

    Return Value

    Whether the union’s current tag state has value “shared_folder”.

  • Retrieves whether the union’s current tag state has value “team_folder”.

    Declaration

    Objective-C

    - (BOOL)isTeamFolder;

    Swift

    func isTeamFolder() -> Bool

    Return Value

    Whether the union’s current tag state has value “team_folder”.

  • Retrieves whether the union’s current tag state has value “team_member_folder”.

    Declaration

    Objective-C

    - (BOOL)isTeamMemberFolder;

    Swift

    func isTeamMemberFolder() -> Bool

    Return Value

    Whether the union’s current tag state has value “team_member_folder”.

  • 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.