DBTEAMLOGGuestAdminChangeStatusDetails
Objective-C
@interface DBTEAMLOGGuestAdminChangeStatusDetails
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGGuestAdminChangeStatusDetails : NSObject, DBSerializable, NSCopying
The GuestAdminChangeStatusDetails
struct.
Changed guest team admin status.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
True for guest, false for host.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull isGuest;
Swift
var isGuest: NSNumber { get }
-
The name of the guest team.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *guestTeamName;
Swift
var guestTeamName: String? { get }
-
The name of the host team.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *hostTeamName;
Swift
var hostTeamName: String? { get }
-
Previous request state.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGTrustedTeamsRequestState *_Nonnull previousValue;
Swift
var previousValue: DBTEAMLOGTrustedTeamsRequestState { get }
-
New request state.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGTrustedTeamsRequestState *_Nonnull dNewValue;
Swift
var dNewValue: DBTEAMLOGTrustedTeamsRequestState { get }
-
Action details.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGTrustedTeamsRequestAction *_Nonnull actionDetails;
Swift
var actionDetails: DBTEAMLOGTrustedTeamsRequestAction { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithIsGuest:(nonnull NSNumber *)isGuest previousValue:(nonnull DBTEAMLOGTrustedTeamsRequestState *)previousValue dNewValue:(nonnull DBTEAMLOGTrustedTeamsRequestState *)dNewValue actionDetails:(nonnull DBTEAMLOGTrustedTeamsRequestAction *)actionDetails guestTeamName:(nullable NSString *)guestTeamName hostTeamName:(nullable NSString *)hostTeamName;
Swift
init(isGuest: NSNumber, previousValue: DBTEAMLOGTrustedTeamsRequestState, dNewValue: DBTEAMLOGTrustedTeamsRequestState, actionDetails: DBTEAMLOGTrustedTeamsRequestAction, guestTeamName: String?, hostTeamName: String?)
Parameters
isGuest
True for guest, false for host.
previousValue
Previous request state.
dNewValue
New request state.
actionDetails
Action details.
guestTeamName
The name of the guest team.
hostTeamName
The name of the host team.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype) initWithIsGuest:(nonnull NSNumber *)isGuest previousValue:(nonnull DBTEAMLOGTrustedTeamsRequestState *)previousValue dNewValue:(nonnull DBTEAMLOGTrustedTeamsRequestState *)dNewValue actionDetails:(nonnull DBTEAMLOGTrustedTeamsRequestAction *)actionDetails;
Swift
init(isGuest: NSNumber, previousValue: DBTEAMLOGTrustedTeamsRequestState, dNewValue: DBTEAMLOGTrustedTeamsRequestState, actionDetails: DBTEAMLOGTrustedTeamsRequestAction)
Parameters
isGuest
True for guest, false for host.
previousValue
Previous request state.
dNewValue
New request state.
actionDetails
Action details.
Return Value
An initialized instance.