DBTEAMListTeamAppsResult

Objective-C

@interface DBTEAMListTeamAppsResult : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMListTeamAppsResult : NSObject, DBSerializable, NSCopying

The ListTeamAppsResult struct.

Information returned by linkedAppsListTeamLinkedApps.

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 linkedAppsListTeamLinkedApps to retrieve the rest.

    Declaration

    Objective-C

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

    Swift

    var hasMore: NSNumber { get }
  • Pass the cursor into linkedAppsListTeamLinkedApps 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 linkedAppsListTeamLinkedApps to retrieve the rest.

    cursor

    Pass the cursor into linkedAppsListTeamLinkedApps 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 linkedAppsListTeamLinkedApps to retrieve the rest.

    Return Value

    An initialized instance.