DBUSERSTeam
Objective-C
@interface DBUSERSTeam : NSObject <DBSerializable, NSCopying>
Swift
class DBUSERSTeam : NSObject, DBSerializable, NSCopying
The Team
struct.
Information about a team.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The team’s unique ID.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull id_;
Swift
var id_: String { get }
-
The name of the team.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull name;
Swift
var name: String { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithId_:(nonnull NSString *)id_ name:(nonnull NSString *)name;
Swift
init(id_: String, name: String)
Parameters
id_
The team’s unique ID.
name
The name of the team.
Return Value
An initialized instance.