DBTEAMListMemberDevicesArg

Objective-C

@interface DBTEAMListMemberDevicesArg : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMListMemberDevicesArg : NSObject, DBSerializable, NSCopying

The ListMemberDevicesArg struct.

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

Instance fields

  • The team’s member id.

    Declaration

    Objective-C

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

    Swift

    var teamMemberId: String { get }
  • Whether to list web sessions of the team’s member.

    Declaration

    Objective-C

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

    Swift

    var includeWebSessions: NSNumber { get }
  • Whether to list linked desktop devices of the team’s member.

    Declaration

    Objective-C

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

    Swift

    var includeDesktopClients: NSNumber { get }
  • Whether to list linked mobile devices of the team’s member.

    Declaration

    Objective-C

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

    Swift

    var includeMobileClients: NSNumber { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
         initWithTeamMemberId:(nonnull NSString *)teamMemberId
           includeWebSessions:(nullable NSNumber *)includeWebSessions
        includeDesktopClients:(nullable NSNumber *)includeDesktopClients
         includeMobileClients:(nullable NSNumber *)includeMobileClients;

    Swift

    init(teamMemberId: String, includeWebSessions: NSNumber?, includeDesktopClients: NSNumber?, includeMobileClients: NSNumber?)

    Parameters

    teamMemberId

    The team’s member id.

    includeWebSessions

    Whether to list web sessions of the team’s member.

    includeDesktopClients

    Whether to list linked desktop devices of the team’s member.

    includeMobileClients

    Whether to list linked mobile devices of the team’s member.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTeamMemberId:(nonnull NSString *)teamMemberId;

    Swift

    init(teamMemberId: String)

    Parameters

    teamMemberId

    The team’s member id.

    Return Value

    An initialized instance.