DBTEAMListTeamDevicesResult

Objective-C

@interface DBTEAMListTeamDevicesResult : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMListTeamDevicesResult : NSObject, DBSerializable, NSCopying

The ListTeamDevicesResult 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 devices of each member of the team.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<DBTEAMMemberDevices *> *_Nonnull devices;

    Swift

    var devices: [DBTEAMMemberDevices] { get }
  • If true, then there are more devices available. Pass the cursor to devicesListTeamDevices to retrieve the rest.

    Declaration

    Objective-C

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

    Swift

    var hasMore: NSNumber { get }
  • Pass the cursor into devicesListTeamDevices to receive the next sub list of team’s devices.

    Declaration

    Objective-C

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

    Swift

    var cursor: String? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDevices:
                                (nonnull NSArray<DBTEAMMemberDevices *> *)devices
                                    hasMore:(nonnull NSNumber *)hasMore
                                     cursor:(nullable NSString *)cursor;

    Swift

    init(devices: [DBTEAMMemberDevices], hasMore: NSNumber, cursor: String?)

    Parameters

    devices

    The devices of each member of the team.

    hasMore

    If true, then there are more devices available. Pass the cursor to devicesListTeamDevices to retrieve the rest.

    cursor

    Pass the cursor into devicesListTeamDevices to receive the next sub list of team’s devices.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDevices:
                                (nonnull NSArray<DBTEAMMemberDevices *> *)devices
                                    hasMore:(nonnull NSNumber *)hasMore;

    Swift

    init(devices: [DBTEAMMemberDevices], hasMore: NSNumber)

    Parameters

    devices

    The devices of each member of the team.

    hasMore

    If true, then there are more devices available. Pass the cursor to devicesListTeamDevices to retrieve the rest.

    Return Value

    An initialized instance.