DBTEAMTokenGetAuthenticatedAdminResult
Objective-C
@interface DBTEAMTokenGetAuthenticatedAdminResult
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMTokenGetAuthenticatedAdminResult : NSObject, DBSerializable, NSCopying
The TokenGetAuthenticatedAdminResult
struct.
Results for tokenGetAuthenticatedAdmin
.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The admin who authorized the token.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMTeamMemberProfile *_Nonnull adminProfile;
Swift
var adminProfile: DBTEAMTeamMemberProfile { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithAdminProfile: (nonnull DBTEAMTeamMemberProfile *)adminProfile;
Swift
init(adminProfile: DBTEAMTeamMemberProfile)
Parameters
adminProfile
The admin who authorized the token.
Return Value
An initialized instance.