DBTEAMListTeamDevicesArg

Objective-C

@interface DBTEAMListTeamDevicesArg : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMListTeamDevicesArg : NSObject, DBSerializable, NSCopying

The ListTeamDevicesArg 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

  • At the first call to the devicesListTeamDevices the cursor shouldn’t be passed. Then, if the result of the call includes a cursor, the following requests should include the received cursors in order to receive the next sub list of team devices.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *cursor;

    Swift

    var cursor: String? { get }
  • Whether to list web sessions of the team members.

    Declaration

    Objective-C

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

    Swift

    var includeWebSessions: NSNumber { get }
  • Whether to list desktop clients of the team members.

    Declaration

    Objective-C

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

    Swift

    var includeDesktopClients: NSNumber { get }
  • Whether to list mobile clients of the team members.

    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)
               initWithCursor:(nullable NSString *)cursor
           includeWebSessions:(nullable NSNumber *)includeWebSessions
        includeDesktopClients:(nullable NSNumber *)includeDesktopClients
         includeMobileClients:(nullable NSNumber *)includeMobileClients;

    Swift

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

    Parameters

    cursor

    At the first call to the devicesListTeamDevices the cursor shouldn’t be passed. Then, if the result of the call includes a cursor, the following requests should include the received cursors in order to receive the next sub list of team devices.

    includeWebSessions

    Whether to list web sessions of the team members.

    includeDesktopClients

    Whether to list desktop clients of the team members.

    includeMobileClients

    Whether to list mobile clients of the team members.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initDefault;

    Swift

    init(default: ())

    Return Value

    An initialized instance.