DBTEAMTeamNamespacesListResult
Objective-C
@interface DBTEAMTeamNamespacesListResult : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMTeamNamespacesListResult : NSObject, DBSerializable, NSCopying
The TeamNamespacesListResult struct.
Result for namespacesList.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
List of all namespaces the team can access.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<DBTEAMNamespaceMetadata *> *_Nonnull namespaces;Swift
var namespaces: [DBTEAMNamespaceMetadata] { get } -
Pass the cursor into
namespacesListContinueto obtain additional namespaces. Note that duplicate namespaces may be returned.Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull cursor;Swift
var cursor: String { get } -
Is true if there are additional namespaces that have not been returned yet.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull hasMore;Swift
var hasMore: NSNumber { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithNamespaces:(nonnull NSArray<DBTEAMNamespaceMetadata *> *)namespaces cursor:(nonnull NSString *)cursor hasMore:(nonnull NSNumber *)hasMore;Swift
init(namespaces: [DBTEAMNamespaceMetadata], cursor: String, hasMore: NSNumber)Parameters
namespacesList of all namespaces the team can access.
cursorPass the cursor into
namespacesListContinueto obtain additional namespaces. Note that duplicate namespaces may be returned.hasMoreIs true if there are additional namespaces that have not been returned yet.
Return Value
An initialized instance.
View on GitHub
DBTEAMTeamNamespacesListResult Class Reference