DBTEAMRevokeLinkedApiAppArg

@interface DBTEAMRevokeLinkedApiAppArg : NSObject <DBSerializable, NSCopying>

The RevokeLinkedApiAppArg struct.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

  • The application’s unique id.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull appId;

    Swift

    var appId: String { get }
  • The unique id of the member owning the device.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull teamMemberId;

    Swift

    var teamMemberId: String { get }
  • Whether to keep the application dedicated folder (in case the application uses one).

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSNumber *_Nonnull keepAppFolder;

    Swift

    var keepAppFolder: NSNumber { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAppId:(nonnull NSString *)appId
                             teamMemberId:(nonnull NSString *)teamMemberId
                            keepAppFolder:(nullable NSNumber *)keepAppFolder;

    Swift

    init(appId: String, teamMemberId: String, keepAppFolder: NSNumber?)

    Parameters

    appId

    The application’s unique id.

    teamMemberId

    The unique id of the member owning the device.

    keepAppFolder

    Whether to keep the application dedicated folder (in case the application uses one).

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAppId:(nonnull NSString *)appId
                             teamMemberId:(nonnull NSString *)teamMemberId;

    Swift

    init(appId: String, teamMemberId: String)

    Parameters

    appId

    The application’s unique id.

    teamMemberId

    The unique id of the member owning the device.

    Return Value

    An initialized instance.