DBTEAMLOGAppPermissionsChangedDetails
Objective-C
@interface DBTEAMLOGAppPermissionsChangedDetails
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGAppPermissionsChangedDetails : NSObject, DBSerializable, NSCopying
The AppPermissionsChangedDetails
struct.
Changed app permissions.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Name of the app.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *appName;
Swift
var appName: String? { get }
-
Permission that was changed.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBTEAMLOGAdminConsoleAppPermission *permission;
Swift
var permission: DBTEAMLOGAdminConsoleAppPermission? { get }
-
Previous policy.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGAdminConsoleAppPolicy *_Nonnull previousValue;
Swift
var previousValue: DBTEAMLOGAdminConsoleAppPolicy { get }
-
New policy.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGAdminConsoleAppPolicy *_Nonnull dNewValue;
Swift
var dNewValue: DBTEAMLOGAdminConsoleAppPolicy { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithPreviousValue: (nonnull DBTEAMLOGAdminConsoleAppPolicy *)previousValue dNewValue:(nonnull DBTEAMLOGAdminConsoleAppPolicy *)dNewValue appName:(nullable NSString *)appName permission: (nullable DBTEAMLOGAdminConsoleAppPermission *)permission;
Swift
init(previousValue: DBTEAMLOGAdminConsoleAppPolicy, dNewValue: DBTEAMLOGAdminConsoleAppPolicy, appName: String?, permission: DBTEAMLOGAdminConsoleAppPermission?)
Parameters
previousValue
Previous policy.
dNewValue
New policy.
appName
Name of the app.
permission
Permission that was changed.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype) initWithPreviousValue: (nonnull DBTEAMLOGAdminConsoleAppPolicy *)previousValue dNewValue:(nonnull DBTEAMLOGAdminConsoleAppPolicy *)dNewValue;
Swift
init(previousValue: DBTEAMLOGAdminConsoleAppPolicy, dNewValue: DBTEAMLOGAdminConsoleAppPolicy)
Parameters
previousValue
Previous policy.
dNewValue
New policy.
Return Value
An initialized instance.