DBTEAMListMembersAppsResult

Objective-C

@interface DBTEAMListMembersAppsResult : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMListMembersAppsResult : NSObject, DBSerializable, NSCopying

The ListMembersAppsResult struct.

Information returned by linkedAppsListMembersLinkedApps.

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 linked applications of each member of the team.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<DBTEAMMemberLinkedApps *> *_Nonnull apps;

    Swift

    var apps: [DBTEAMMemberLinkedApps] { get }
  • If true, then there are more apps available. Pass the cursor to linkedAppsListMembersLinkedApps to retrieve the rest.

    Declaration

    Objective-C

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

    Swift

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

    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)initWithApps:
                                (nonnull NSArray<DBTEAMMemberLinkedApps *> *)apps
                                 hasMore:(nonnull NSNumber *)hasMore
                                  cursor:(nullable NSString *)cursor;

    Swift

    init(apps: [DBTEAMMemberLinkedApps], hasMore: NSNumber, cursor: String?)

    Parameters

    apps

    The linked applications of each member of the team.

    hasMore

    If true, then there are more apps available. Pass the cursor to linkedAppsListMembersLinkedApps to retrieve the rest.

    cursor

    Pass the cursor into linkedAppsListMembersLinkedApps to receive the next sub list of team’s applications.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithApps:
                                (nonnull NSArray<DBTEAMMemberLinkedApps *> *)apps
                                 hasMore:(nonnull NSNumber *)hasMore;

    Swift

    init(apps: [DBTEAMMemberLinkedApps], hasMore: NSNumber)

    Parameters

    apps

    The linked applications of each member of the team.

    hasMore

    If true, then there are more apps available. Pass the cursor to linkedAppsListMembersLinkedApps to retrieve the rest.

    Return Value

    An initialized instance.